This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PowerPC64 binutils IE query


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]