This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [M16C] : no .eh_frame_hdr table will be created
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Sushil Kothawade <Sushil dot Kothawade at kpitcummins dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 30 Oct 2007 23:36:24 +1030
- Subject: Re: [M16C] : no .eh_frame_hdr table will be created
- References: <7B5265FF85A78C4BB9DAD0EE699C4760034AE069@sohm.kpit.com>
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