This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ 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: 19 Jun 2000 19:31:41 -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.0006182103100.3269-100000@front.linuxcare.com.au>
>>>>> 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?
Jason