This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 0/5] PowerPC -mfuture support
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Fri, 24 May 2019 11:01:10 +0930
- Subject: [PATCH 0/5] PowerPC -mfuture support
This patch series adds support for pc-relative addressing on PowerPC.
It's part of a much larger patch that I'm not yet allowed to make
public, for a possible future IBM POWER architecture processor. I'm
instructed to note that this does not imply any committment to include
these instructions in a future Book I tied to any IBM product.
Also, until this all becomes properly released with an updated ABI
document, new relocation numbers and semantics might change in ways
that break object file compatibility.
Alan Modra (3):
PowerPC relocations for prefix insns
PowerPC GOT_PCREL34 optimisation
PowerPC notoc linkage stubs
Peter Bergner (2):
PowerPC add initial -mfuture instruction support
PowerPC D-form prefixed loads and stores
bfd/ChangeLog | 56 ++
bfd/bfd-in2.h | 17 +
bfd/elf64-ppc.c | 950 ++++++++++++++++++++++++---
bfd/libbfd.h | 17 +
bfd/reloc.c | 34 +
binutils/ChangeLog | 4 +
binutils/objdump.c | 3 +-
gas/ChangeLog | 50 ++
gas/config/tc-ppc.c | 370 +++++++++--
gas/config/tc-ppc.h | 24 +-
gas/messages.c | 18 +-
gas/testsuite/gas/ppc/ppc.exp | 3 +
gas/testsuite/gas/ppc/prefix-align.d | 30 +
gas/testsuite/gas/ppc/prefix-align.s | 21 +
gas/testsuite/gas/ppc/prefix-pcrel.d | 235 +++++++
gas/testsuite/gas/ppc/prefix-pcrel.s | 121 ++++
gas/testsuite/gas/ppc/prefix-reloc.d | 35 +
gas/testsuite/gas/ppc/prefix-reloc.s | 13 +
include/ChangeLog | 20 +
include/dis-asm.h | 2 +
include/elf/ppc64.h | 24 +
include/opcode/ppc.h | 18 +
ld/ChangeLog | 13 +
ld/testsuite/ld-powerpc/notoc2.d | 29 +
ld/testsuite/ld-powerpc/notoc2.s | 13 +
ld/testsuite/ld-powerpc/pcrelopt.d | 89 +++
ld/testsuite/ld-powerpc/pcrelopt.s | 119 ++++
ld/testsuite/ld-powerpc/pcrelopt.sec | 6 +
ld/testsuite/ld-powerpc/powerpc.exp | 6 +
opcodes/ChangeLog | 27 +
opcodes/ppc-dis.c | 93 ++-
opcodes/ppc-opc.c | 212 +++++-
32 files changed, 2498 insertions(+), 174 deletions(-)
create mode 100644 gas/testsuite/gas/ppc/prefix-align.d
create mode 100644 gas/testsuite/gas/ppc/prefix-align.s
create mode 100644 gas/testsuite/gas/ppc/prefix-pcrel.d
create mode 100644 gas/testsuite/gas/ppc/prefix-pcrel.s
create mode 100644 gas/testsuite/gas/ppc/prefix-reloc.d
create mode 100644 gas/testsuite/gas/ppc/prefix-reloc.s
create mode 100644 ld/testsuite/ld-powerpc/notoc2.d
create mode 100644 ld/testsuite/ld-powerpc/notoc2.s
create mode 100644 ld/testsuite/ld-powerpc/pcrelopt.d
create mode 100644 ld/testsuite/ld-powerpc/pcrelopt.s
create mode 100644 ld/testsuite/ld-powerpc/pcrelopt.sec
--
Alan Modra
Australia Development Lab, IBM