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

M R Swami Reddy MR.Swami.Reddy@nsc.com
Tue Jul 21 11:51:00 GMT 2009



-------- Original Message --------
Subject: 	Re: [Fwd: [Fwd: Re: cr16-elf tools error: no .eh_frame_hdr 
table will be created.]]
Date: 	Tue, 21 Jul 2009 14:48:03 +0530
From: 	M R Swami Reddy <MR.Swami.Reddy@nsc.com>
To: 	Nick Clifton <nickc@redhat.com>
References: 	<4A6415A7.5070501@nsc.com> <4A6438A6.90002@redhat.com> 
<4A645BCF.8030506@nsc.com> <4A647E47.8020706@redhat.com> 
<4A654EBA.9020603@nsc.com>



Hi Nick,
With below testcase, failed after fix:
===
      .file "test.cc"
       .section .eh_frame,"aw",@progbits
.Lframe1:
       .long .LECIE1-.LSCIE1
.LSCIE1:
       .long 0x0
.LECIE1:
       .ident "GCC: (GNU) 4.1.2"
====

> cr16-elf-as test.s -o test.o
> cr16-elf-objdump -Dr test.o
==
00000000 <.eh_frame>:
  0:   04 00           di
                       0: R_CR16_NUM32 *ABS* // I guess, this wrong
  2:   00 00           illegal
  4:   00 00           illegal
======

In the above, R_CR16_NUM32 *ABS* shown, I guess, which incorrect. And 
with this
test.o below error shown:
===
cr16-elf-ld: error in t.o(.eh_frame); no .eh_frame_hdr table will be 
created.
===

Any hint? Thanks for kind response.

Thanks
Swami





More information about the Binutils mailing list