.init/.text/.fini vs. .text/.init/.fini

Ian Lance Taylor ian@zembu.com
Thu Apr 13 17:44:00 GMT 2000


   Date: Fri, 14 Apr 2000 10:39:36 +1000 (EST)
   From: Alan Modra <alan@linuxcare.com.au>

   Speaking of .init sections, would it be a good idea to add .init.* too?

So far we've only added the sections which gcc is likely to generate
in the absence of __attribute__ ((section ("foo"))).  As far as I
know, no gcc target will generate a .init.* section.

But it wouldn't hurt to add it, and presumably .fini.* as well.

Ian


More information about the Binutils mailing list