[Linux-ia64] problem with unwind info for .init/.fini sections
David Mosberger
davidm@hpl.hp.com
Thu Feb 28 13:41:00 GMT 2002
>>>>> On Wed, 27 Feb 2002 11:19:30 -0800, Cary Coutant <cary@cup.hp.com> said:
>> I can think of two approaches:
>> ...
>> Anybody else have a better idea or other comments?
Cary> (3) Use the .init_array and .fini_array sections instead.
This would be by far the cleanest solution.
How well is this supported in binutils at the moment? I see some
references to it, but am not sure whether there are any holes in its
support.
Are there any reasons *not* to switch to .init_array/.fini_array as
the primary init/fini mechanism? Besides fixing the unwind problem,
it seems to me it's generally just a much cleaner solution and should
allow us to get rid of some rather ugly hacks in glibc.
--david
More information about the Binutils
mailing list