This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: Test case which displays problem found in libstdc++-v3 effort
- To: Alan Modra <alan at linuxcare dot com dot au>
- Subject: Re: Test case which displays problem found in libstdc++-v3 effort
- From: Jason Merrill <jason at cygnus dot com>
- Date: 22 Jun 2000 15:29:34 -0700
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, binutils at sourceware dot cygnus dot com, libstdc++ at sourceware dot cygnus dot com
- References: <Pine.LNX.4.21.0006201355410.12273-100000@front.linuxcare.com.au>
>>>>> 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