This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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 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~


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