[David Mosberger <davidm@hpl.hp.com>] problem with unwind info for .init/.fini sections

H . J . Lu hjl@lucon.org
Tue Mar 12 21:32:00 GMT 2002


On Wed, Mar 13, 2002 at 02:34:10PM +1030, Alan Modra wrote:
> On Mon, Mar 04, 2002 at 09:36:01PM +1030, Alan Modra wrote:
> > 
> > This is OK to commit, although you might like to use the following
> > elflink.h patch instead.
> 
> Grumble.  OK, I'll commit it.
> 
> 	* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Use ELF section
> 	types instead of section names to determine whether init/fini array
> 	dynamic tags are needed.

I don't like this change. Those .xxxx_array sections are special
sections in the gABI. The linker script depends on that. Unless you
also change the linker script, it doesn't make much senses to use
section types here.


H.J.



More information about the Binutils mailing list