binutils-gdb/opcodes
Alan Modra c3f72de4f5 PowerPC disassembly of pcrel references
This adds some annotation to Power10 pcrel instructions, displaying
the target address (ie. pc + D34 field) plus a symbol if there is one
at exactly that target address.  pld from the .got or .plt will also
look up the entry and display it, symbolically if there is a dynamic
relocation on the entry.

include/
	* dis-asm.h (struct disassemble_info): Add dynrelbuf and dynrelcount.
binutils/
	* objdump.c (struct objdump_disasm_info): Delete dynrelbuf and
	dynrelcount.
	(find_symbol_for_address): Adjust for dynrelbuf and dynrelcount move.
	(disassemble_section, disassemble_data): Likewise.
opcodes/
	* ppc-dis.c (struct dis_private): Add "special".
	(POWERPC_DIALECT): Delete.  Replace uses with..
	(private_data): ..this.  New inline function.
	(disassemble_init_powerpc): Init "special" names.
	(skip_optional_operands): Add is_pcrel arg, set when detecting R
	field of prefix instructions.
	(bsearch_reloc, print_got_plt): New functions.
	(print_insn_powerpc): For pcrel instructions, print target address
	and symbol if known, and decode plt and got loads too.
gas/
	* testsuite/gas/ppc/prefix-pcrel.d: Update expected output.
	* testsuite/gas/ppc/prefix-reloc.d: Likewise.
	* gas/testsuite/gas/ppc/vsx_32byte.d: Likewise.
ld/
	* testsuite/ld-powerpc/inlinepcrel-1.d: Update expected output.
	* testsuite/ld-powerpc/inlinepcrel-2.d: Likewise.
	* testsuite/ld-powerpc/notoc2.d: Likewise.
	* testsuite/ld-powerpc/notoc3.d: Likewise.
	* testsuite/ld-powerpc/pcrelopt.d: Likewise.
	* testsuite/ld-powerpc/startstop.d: Likewise.
	* testsuite/ld-powerpc/tlsget.d: Likewise.
	* testsuite/ld-powerpc/tlsget2.d: Likewise.
	* testsuite/ld-powerpc/tlsld.d: Likewise.
	* testsuite/ld-powerpc/weak1.d: Likewise.
	* testsuite/ld-powerpc/weak1so.d: Likewise.
2021-04-09 16:56:43 +09:30
..
po Updated translations for some subdirectories 2021-01-12 13:18:50 +00:00
.gitignore
aarch64-asm-2.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
aarch64-asm.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
aarch64-asm.h Use bool in opcodes 2021-03-31 10:49:23 +10:30
aarch64-dis-2.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
aarch64-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
aarch64-dis.h Use bool in opcodes 2021-03-31 10:49:23 +10:30
aarch64-gen.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
aarch64-opc-2.c aarch64: Remove support for CSRE 2021-01-11 15:01:09 +00:00
aarch64-opc.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
aarch64-opc.h Use bool in opcodes 2021-03-31 10:49:23 +10:30
aarch64-tbl.h aarch64: Remove support for CSRE 2021-01-11 15:01:09 +00:00
aclocal.m4 Implement a workaround for GNU mak jobserver 2021-01-12 05:45:44 -08:00
alpha-dis.c
alpha-opc.c
arc-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
arc-dis.h Use bool in opcodes 2021-03-31 10:49:23 +10:30
arc-ext-tbl.h
arc-ext.c
arc-ext.h
arc-fxi.h Use bool in opcodes 2021-03-31 10:49:23 +10:30
arc-nps400-tbl.h
arc-opc.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
arc-regs.h
arc-tbl.h
arm-dis.c Remove strneq macro and use startswith. 2021-04-01 15:00:56 +02:00
avr-dis.c Remove bfd_stdint.h 2021-03-31 10:49:23 +10:30
bfin-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
bpf-asm.c
bpf-desc.c
bpf-desc.h
bpf-dis.c
bpf-ibld.c
bpf-opc.c
bpf-opc.h
cgen-asm.c
cgen-asm.in
cgen-bitset.c
cgen-dis.c
cgen-dis.in
cgen-ibld.in
cgen-opc.c C99 opcodes configury 2021-04-05 15:28:04 +09:30
cgen.sh
ChangeLog PowerPC disassembly of pcrel references 2021-04-09 16:56:43 +09:30
ChangeLog-0001
ChangeLog-0203
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016 PR27116, Spelling errors found by Debian style checker 2021-01-01 14:36:35 +10:30
ChangeLog-2017
ChangeLog-2018
ChangeLog-2019
ChangeLog-2020
ChangeLog-9297
ChangeLog-9899
config.in C99 opcodes configury 2021-04-05 15:28:04 +09:30
configure C99 opcodes configury 2021-04-05 15:28:04 +09:30
configure.ac C99 opcodes configury 2021-04-05 15:28:04 +09:30
configure.com
cr16-dis.c Remove strneq macro and use startswith. 2021-04-01 15:00:56 +02:00
cr16-opc.c
cris-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
cris-opc.c
crx-dis.c
crx-opc.c
csky-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
csky-opc.h Use bool in opcodes 2021-03-31 10:49:23 +10:30
d10v-dis.c
d10v-opc.c
d30v-dis.c
d30v-opc.c
dep-in.sed
dis-buf.c Return symbol from symbol_at_address_func 2021-04-06 23:25:09 +09:30
dis-init.c
disassemble.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
disassemble.h
dlx-dis.c
epiphany-asm.c
epiphany-desc.c
epiphany-desc.h
epiphany-dis.c
epiphany-ibld.c
epiphany-opc.c
epiphany-opc.h
fr30-asm.c
fr30-desc.c
fr30-desc.h
fr30-dis.c
fr30-ibld.c
fr30-opc.c
fr30-opc.h
frv-asm.c
frv-desc.c
frv-desc.h
frv-dis.c
frv-ibld.c
frv-opc.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
frv-opc.h Use bool in opcodes 2021-03-31 10:49:23 +10:30
ft32-dis.c
ft32-opc.c
h8300-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
hppa-dis.c
i386-dis-evex-len.h x86/Intel: correct AVX512 S/G disassembly 2021-03-10 08:20:29 +01:00
i386-dis-evex-mod.h x86: re-arrange order of decode for various EVEX opcodes 2021-03-10 08:16:54 +01:00
i386-dis-evex-prefix.h x86: reuse further VEX entries for EVEX 2021-03-10 08:19:11 +01:00
i386-dis-evex-reg.h x86/Intel: correct AVX512 S/G disassembly 2021-03-10 08:20:29 +01:00
i386-dis-evex-w.h x86/Intel: correct AVX512 S/G disassembly 2021-03-10 08:20:29 +01:00
i386-dis-evex.h x86: flag bad S/G insn operand combinations 2021-03-25 08:20:19 +01:00
i386-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
i386-gen.c x86: fold SSE2AVX and their base MMX/SSE templates 2021-03-29 12:05:25 +02:00
i386-init.h
i386-opc.c x86: drop seg_entry 2021-03-30 14:09:41 +02:00
i386-opc.h C99 opcodes configury 2021-04-05 15:28:04 +09:30
i386-opc.tbl x86: move some opcode table entries 2021-03-29 12:06:43 +02:00
i386-reg.tbl x86: adjust st(<N>) parsing 2021-03-30 14:08:11 +02:00
i386-tbl.h x86: adjust st(<N>) parsing 2021-03-30 14:08:11 +02:00
ia64-asmtab.c
ia64-asmtab.h
ia64-dis.c
ia64-gen.c Add startswith function and use it instead of CONST_STRNEQ. 2021-03-22 11:01:43 +01:00
ia64-ic.tbl
ia64-opc-a.c
ia64-opc-b.c
ia64-opc-d.c
ia64-opc-f.c
ia64-opc-i.c
ia64-opc-m.c
ia64-opc-x.c
ia64-opc.c
ia64-opc.h
ia64-raw.tbl
ia64-war.tbl
ia64-waw.tbl
ip2k-asm.c
ip2k-desc.c
ip2k-desc.h
ip2k-dis.c
ip2k-ibld.c
ip2k-opc.c
ip2k-opc.h
iq2000-asm.c
iq2000-desc.c
iq2000-desc.h
iq2000-dis.c
iq2000-ibld.c
iq2000-opc.c
iq2000-opc.h
lm32-asm.c
lm32-desc.c
lm32-desc.h
lm32-dis.c
lm32-ibld.c
lm32-opc.c
lm32-opc.h
lm32-opinst.c
m32c-asm.c
m32c-desc.c
m32c-desc.h
m32c-dis.c
m32c-ibld.c
m32c-opc.c
m32c-opc.h
m32r-asm.c
m32r-desc.c
m32r-desc.h
m32r-dis.c
m32r-ibld.c
m32r-opc.c
m32r-opc.h
m32r-opinst.c
m68hc11-dis.c
m68hc11-opc.c
m68k-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
m68k-opc.c m68k: Require m68020up rather than m68000up for CHK.L instruction. 2021-01-07 14:45:10 +00:00
m10200-dis.c
m10200-opc.c
m10300-dis.c
m10300-opc.c
MAINTAINERS
Makefile.am
Makefile.in Regen Makefile.in for jobserver.m4 aclocal.m4 dependency 2021-01-13 22:06:02 +10:30
makefile.vms
mcore-dis.c
mcore-opc.h
mep-asm.c
mep-desc.c
mep-desc.h
mep-dis.c
mep-ibld.c
mep-opc.c
mep-opc.h
metag-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
microblaze-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
microblaze-dis.h Use bool in opcodes 2021-03-31 10:49:23 +10:30
microblaze-opc.h
microblaze-opcm.h
micromips-opc.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
mips16-opc.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
mips-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
mips-formats.h Use bool in opcodes 2021-03-31 10:49:23 +10:30
mips-opc.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
mmix-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
mmix-opc.c
moxie-dis.c
moxie-opc.c
msp430-decode.c
msp430-decode.opc
msp430-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
mt-asm.c
mt-desc.c
mt-desc.h
mt-dis.c
mt-ibld.c
mt-opc.c
mt-opc.h
nds32-asm.c Remove bfd_stdint.h 2021-03-31 10:49:23 +10:30
nds32-asm.h
nds32-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
nds32-opc.h
nfp-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
nios2-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
nios2-opc.c
ns32k-dis.c
opc2c.c
opintl.h
or1k-asm.c
or1k-desc.c
or1k-desc.h
or1k-dis.c
or1k-ibld.c
or1k-opc.c
or1k-opc.h
or1k-opinst.c
pdp11-dis.c
pdp11-opc.c
pj-dis.c
pj-opc.c
ppc-dis.c PowerPC disassembly of pcrel references 2021-04-09 16:56:43 +09:30
ppc-opc.c PR27684, PowerPC missing mfsprg0 and others 2021-04-08 08:28:27 +09:30
pru-dis.c
pru-opc.c
riscv-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
riscv-opc.c RISC-V : Support bitmanip-0.93 ZBA/ZBB/ZBC instructions 2021-03-16 14:38:19 +08:00
rl78-decode.c
rl78-decode.opc
rl78-dis.c
rx-decode.c
rx-decode.opc
rx-dis.c
s12z-dis.c Return symbol from symbol_at_address_func 2021-04-06 23:25:09 +09:30
s12z-opc.c
s12z-opc.h
s390-dis.c Add startswith function and use it instead of CONST_STRNEQ. 2021-03-22 11:01:43 +01:00
s390-mkopc.c IBM Z: Implement instruction set extensions 2021-02-15 14:32:17 +01:00
s390-opc.c
s390-opc.txt IBM Z: Implement instruction set extensions 2021-02-15 14:32:17 +01:00
score7-dis.c Remove strneq macro and use startswith. 2021-04-01 15:00:56 +02:00
score-dis.c Remove strneq macro and use startswith. 2021-04-01 15:00:56 +02:00
score-opc.h
sh-dis.c
sh-opc.h
sparc-dis.c
sparc-opc.c
spu-dis.c
spu-opc.c
stamp-h.in
sysdep.h C99 opcodes configury 2021-04-05 15:28:04 +09:30
tic4x-dis.c
tic6x-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
tic30-dis.c
tic54x-dis.c opcodes: tic54x: namespace exported variables 2021-02-08 18:26:08 -05:00
tic54x-opc.c opcodes: tic54x: namespace exported variables 2021-02-08 18:26:08 -05:00
tilegx-dis.c
tilegx-opc.c
tilepro-dis.c
tilepro-opc.c
v850-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
v850-opc.c
vax-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
visium-dis.c
visium-opc.c
wasm32-dis.c C99 opcodes configury 2021-04-05 15:28:04 +09:30
xc16x-asm.c
xc16x-desc.c
xc16x-desc.h
xc16x-dis.c
xc16x-ibld.c
xc16x-opc.c
xc16x-opc.h
xgate-dis.c
xgate-opc.c
xstormy16-asm.c
xstormy16-desc.c
xstormy16-desc.h
xstormy16-dis.c
xstormy16-ibld.c
xstormy16-opc.c
xstormy16-opc.h
xtensa-dis.c Use bool in opcodes 2021-03-31 10:49:23 +10:30
z8k-dis.c
z8k-opc.h
z8kgen.c
z80-dis.c