From: Alan Modra <amodra@gmail.com>
To: binutils@sourceware.org
Subject: [PATCH 0/5] PowerPC -mfuture support
Date: Fri, 24 May 2019 01:31:00 -0000 [thread overview]
Message-ID: <20190524013110.GC6820@bubble.grove.modra.org> (raw)
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
next reply other threads:[~2019-05-24 1:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-24 1:31 Alan Modra [this message]
2019-05-24 1:33 ` [PATCH 1/5] PowerPC add initial -mfuture instruction support Alan Modra
2019-06-02 6:33 ` Jan Beulich
2019-06-03 2:26 ` Alan Modra
2019-06-20 12:09 ` Jan Beulich
2019-06-20 13:31 ` Alan Modra
2019-06-20 13:40 ` Alan Modra
2019-05-24 1:34 ` [PATCH 2/5] PowerPC D-form prefixed loads and stores Alan Modra
2019-06-20 12:04 ` Jan Beulich
2019-06-20 13:17 ` Alan Modra
2019-05-24 1:35 ` [PATCH 3/5] PowerPC relocations for prefix insns Alan Modra
2019-05-24 1:36 ` [PATCH 4/5] PowerPC GOT_PCREL34 optimisation Alan Modra
2019-05-24 1:37 ` [PATCH 5/5] PowerPC notoc linkage stubs Alan Modra
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190524013110.GC6820@bubble.grove.modra.org \
--to=amodra@gmail.com \
--cc=binutils@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).