This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: [M16C] : no .eh_frame_hdr table will be created


On Tue, Oct 30, 2007 at 04:15:35PM +0530, Sushil Kothawade wrote:
> error in $(TCINSTALL)/m32c-elf/lib/libstdc++.a (eh_catch.o)(.eh_frame);
> no .eh_frame_hdr table will be created.
> 
> The above error also leads to many failures in g++ regression testing
> for r8c and m16c targets.
> 
> However, the executable (test.o) for the above testcase gets generated
> and it executes as expected on gdb simulator.

Yes, exceptions will still work but they will be much slower than
they should be.  I suggest running ld under gdb and finding out where
_bfd_elf_discard_section_eh_frame branches to free_no_table, ie. the
condition that causes the eh_frame optimisation to fail.

-- 
Alan Modra
Australia Development Lab, IBM


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