« Return to Thread: cr16-elf tools error: no .eh_frame_hdr table will be created.

Re: cr16-elf tools error: no .eh_frame_hdr table will be created.

by Alan Modra :: Rate this Message:

Reply to Author | View in Thread

On Mon, Jun 29, 2009 at 03:01:23PM +0530, M R Swami Reddy wrote:
> Hello,
>
> With binutils- 2.19.51.20090624, Iam getting below error message for c++  
> exceptions.
> ===
> ld: error in test_eh.o(.eh_frame); no .eh_frame_hdr table will be created.
> ====

You have a relocation on the length field of the CIE.

RELOCATION RECORDS FOR [.eh_frame]:
OFFSET   TYPE              VALUE
00000000 R_CR16_SWITCH32   .LECIE1+0x00000018

You should not have a relocation here.  The length expression should
be fully resolved in gas.

--
Alan Modra
Australia Development Lab, IBM


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

 « Return to Thread: cr16-elf tools error: no .eh_frame_hdr table will be created.