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

Sascha Hauer s.hauer at pengutronix.de
Mon Jul 23 16:00:37 EDT 2012


On Fri, Jul 20, 2012 at 06:20:07PM +0200, Johannes Stezenbach wrote:
> > 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?

I think it's better to keep the ENTRY semantics (which is derived from
the Linux Kernel) and just live with it that we have to add the .section
at the beginning of each function.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list