This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PowerPC64 binutils IE query
- From: Alan Modra <amodra at gmail dot com>
- To: "rohitarulraj at freescale dot com" <rohitarulraj at freescale dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>, Edmar Wienskoski <edmar at freescale dot com>
- Date: Mon, 5 May 2014 17:13:13 +0930
- Subject: Re: PowerPC64 binutils IE query
- Authentication-results: sourceware.org; auth=none
- References: <e8db73bdc36648588f59101a2f1b9452 at DM2PR03MB352 dot namprd03 dot prod dot outlook dot com>
On Mon, May 05, 2014 at 07:13:59AM +0000, rohitarulraj@freescale.com wrote:
> Hello All,
>
> We got this binutils IE (v2.23.1 and v2.21) while compiling Book 3E kernel code.
>
>
> Command: (Target: e6500 64-bit)
> as -v -a64 -me6500 -many -mbig -o test.o test.s
>
> Test case #1:
>
> .text
> _foo:
> 1:
> lis %r5,(_goo - _foo)@highest
> blr
>
> /tmp/ccxLScrU.s: Assembler messages:
> /tmp/ccxLScrU.s: Internal error, aborting at ../../src_bin/gas/config/tc-ppc.c line 6742 in md_apply_fix
> Please report this bug.
Thanks. This bug appears to be fixed with binutils 2.24. gas reports:
Error: cannot emit PC relative BFD_RELOC_PPC64_HIGHEST relocation against _goo
> Is there any plan for PC relative relocation to be implemented?
No, but it shouldn't be too hard for someone to do.
--
Alan Modra
Australia Development Lab, IBM