This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: Test case which displays problem found in libstdc++-v3 effort


>>>>> 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

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