Test case which displays problem found in libstdc++-v3 effort
Jason Merrill
jason@cygnus.com
Thu Jun 22 15:29:00 GMT 2000
>>>>> Alan Modra <alan@linuxcare.com.au> writes:
> On 19 Jun 2000, Jason Merrill wrote:
>> >>>>> Alan Modra <alan@linuxcare.com.au> writes:
>>
>> > It's a linker script bug. The linker needs to be told to keep the
>> > .eh_frame contents. Lack of any reference to symbols defined in a
>> > section normally causes --gc-sections to discard the section.
>>
>> I would think that the reference to __EH_FRAME_BEGIN__ from
>> __do_global_ctors would satisfy the linker. Why doesn't it?
> Because there doesn't seem to be any such reference. __main.o doesn't
> have much in it on i586-linux.
What about crt{begin,end}.o?
Jason
More information about the Binutils
mailing list