« 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 M R Swami Reddy-2 :: Rate this Message:

Reply to Author | View in Thread

Hi Alan,
I have changed the relocs to solve in gas as shown below:
===
RELOCATION RECORDS FOR [.eh_frame]:
OFFSET   TYPE              VALUE
00000000 R_CR16_SWITCH32   .LECIE1
00000012 R_CR16_NUM32a     ___gxx_personality_v0
=====

But still the error message displayed by the linker:
===
libgcc.a(unwind-dw2-fde.o)(.eh_frame); no .eh_frame_hdr table will be
created.
====

Do I miss some thing else?

Thanks for you suggestions

Thanks
Swami
Alan Modra wrote:

> 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.
>
>  




_______________________________________________
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.