[PATCH] init: introduce __BARE_INIT for .section ".text_bare_init.text"

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Sep 16 07:12:23 EDT 2010


> > --- a/include/init.h
> > +++ b/include/init.h
> > @@ -7,6 +7,10 @@
> >  #define __init
> >  #define __initdata
> >  
> > +/* For assembly routines */
> > +#define __BARE_INIT	.section ".text_bare_init.text"
> 
> Is there a reason you used capital letters for __BARE_INIT in assembly?

same way as the kernel for assembly we use upercase
cf __INIT __INITDATA

Best Regards,
J.



More information about the barebox mailing list