This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]