[PATCH 8/9] ARM: Separate assembler functions into their own section

Johannes Stezenbach js at sig21.net
Fri Jul 20 12:20:07 EDT 2012


On Thu, Jul 19, 2012 at 10:45:48PM +0200, Sascha Hauer wrote:
> On Thu, Jul 19, 2012 at 04:08:34PM +0200, Sascha Hauer wrote:
> > On Thu, Jul 19, 2012 at 12:38:03PM +0200, Marc Kleine-Budde wrote:
> > > On 07/19/2012 10:13 AM, Sascha Hauer wrote:
> > > >  
> > > > +.section .text.__mmu_cache_on
> > > >  ENTRY(__mmu_cache_on)
> > > 
> > > Is it possible to add the section to the ENTRY macro?
> > 
> > I'm not sure. I was pretty sure that some assembly functions fall
> > through to the next function. I cannot find any examples though.
> 
> For example we have this:
> 
> .section .text.__divsi3
> ENTRY(__divsi3)
> ENTRY(__aeabi_idiv)
> 	...

and also:
ENTRY(__lshrdi3)
ENTRY(__aeabi_llsr)

However, this is the rare exception.  How about
adding __ENTRY for these cases?


Johannes



More information about the barebox mailing list