This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [AArch64][2/2] Implement -fpic for -mcmodel=small


Andreas Schwab writes:

> spawn -ignore SIGHUP /opt/gcc/gcc-20150627/Build/gcc/xgcc -B/opt/gcc/gcc-20150627/Build/gcc/ -fno-diagnostics-show-caret -fdiagnostics-color=never -O0 -w -fpie -c -o pr65593.o /opt/gcc/gcc-20150627/gcc/testsuite/gcc.c-torture/compile/pr65593.c
> /tmp/cc0Pymaf.s: Assembler messages:
> /tmp/cc0Pymaf.s:11: Error: unknown relocation modifier at operand 2 -- `ldr x0,[x0,#:gotpage_lo15:a]'
> /tmp/cc0Pymaf.s:19: Error: unknown relocation modifier at operand 2 --
> `ldr x2,[x0,#:gotpage_lo15:bar]'

Andreas,

  The binutils patch has been upstreamed already. Please checkout the
  latest binutils code.

  commit 99ad26cb0d4f9152dbe5ed03b74020cc52d84d94
  Author: Jiong Wang <jiong.wang@arm.com>
  Date:   Mon Jun 1 10:26:00 2015 +0100

    [AArch64] BFD Support BFD_RELOC_AARCH64_LD64_GOTPAGE_LO15

  Thanks.

-- 
Regards,
Jiong


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