[David Mosberger <davidm@hpl.hp.com>] problem with unwind info for .init/.fini sections
Alan Modra
amodra@bigpond.net.au
Tue Mar 12 21:59:00 GMT 2002
On Tue, Mar 12, 2002 at 09:32:10PM -0800, H . J . Lu wrote:
> On Wed, Mar 13, 2002 at 02:34:10PM +1030, Alan Modra wrote:
> > * 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.
It is one less place where we do magic things depending on section
name.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list