This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Fwd: Re: [Fwd: [Fwd: Re: cr16-elf tools error: no .eh_frame_hdr table will be created.]]]
- From: "M R Swami Reddy" <MR dot Swami dot Reddy at nsc dot com>
- To: "Alan Modra" <amodra at bigpond dot net dot au>, "binutils at sources dot redhat dot com" <binutils at sources dot redhat dot com>
- Date: Tue, 21 Jul 2009 14:59:29 +0530
- Subject: [Fwd: Re: [Fwd: [Fwd: Re: cr16-elf tools error: no .eh_frame_hdr table will be created.]]]
-------- 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