This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [David Mosberger <davidm@hpl.hp.com>] problem with unwind info for .init/.fini sections
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.
r~