Re: RFC: Support mixing .init_array.* and .ctors.* input sections

2010-12-13 Thread H.J. Lu
On Mon, Dec 13, 2010 at 11:39:28AM -0800, H.J. Lu wrote: > Hi, > > Using .init_array section in GCC: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770 > > raised a question on init_priority attribute. We need to provide binary > compatibilty for existing binaries with init_priority attribut

RFC: Support mixing .init_array.* and .ctors.* input sections

2010-12-13 Thread H.J. Lu
Hi, Using .init_array section in GCC: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46770 raised a question on init_priority attribute. We need to provide binary compatibilty for existing binaries with init_priority attribute. This linker patch puts input .ctors.* sections in the output .init_ar