[M16C] : no .eh_frame_hdr table will be created

Alan Modra amodra@bigpond.net.au
Tue Oct 30 14:23:00 GMT 2007


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



More information about the Binutils mailing list