This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils 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:

 > 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

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