[David Mosberger <davidm@hpl.hp.com>] problem with unwind info for .init/.fini sections
H . J . Lu
hjl@lucon.org
Sun Mar 3 00:45:00 GMT 2002
More information about the Binutils mailing list
Sun Mar 3 00:45:00 GMT 2002
- Previous message (by thread): [David Mosberger <davidm@hpl.hp.com>] problem with unwind info for .init/.fini sections
- Next message (by thread): [David Mosberger <davidm@hpl.hp.com>] problem with unwind info for .init/.fini sections
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sun, Mar 03, 2002 at 12:37:01AM -0800, Richard Henderson wrote: > On Sun, Mar 03, 2002 at 12:32:08AM -0800, H . J . Lu wrote: > > + /* FIXME: The current gcc, as of 2002-03-03, will emit > > + > > + .section .init_array,"aw",@progbits > > + > > + for __attribute__ ((section (".init_array"))). "@progbits" marks > > + the incorrect section type. For now, we make them with > > + SHT_PROGBITS. BFD will fix the section type. Gcc should be changed > > + to emit > > + > > + .section .init_array > > That would be incorrect. GCC must continue to emit _something_, > particularly for allocate and write. Really, it should emit > @init_array or similar. > Gcc doesn't emit .section .text,"ax",@progbits does it? .init_array is no different from .text. It is just another special ELF section. Gas should treat it just like .text by looking up "special_sections". With my patch, it does. H.J.
- Previous message (by thread): [David Mosberger <davidm@hpl.hp.com>] problem with unwind info for .init/.fini sections
- Next message (by thread): [David Mosberger <davidm@hpl.hp.com>] problem with unwind info for .init/.fini sections
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list