2
0
mirror of https://sourceware.org/git/binutils-gdb.git synced 2025-01-12 12:16:04 +08:00
binutils-gdb/gas/config
Alan Modra 4a9699735b PowerPC64 higher REL16 relocations
There are occasions where someone might want to build a 64-bit
pc-relative offset from 16-bit pieces.  This adds the necessary REL16
relocs corresponding to existing ADDR16 relocs that can be used to
build 64-bit absolute values.

include/
	* elf/ppc64.h (R_PPC64_REL16_HIGH, R_PPC64_REL16_HIGHA),
	(R_PPC64_REL16_HIGHER, R_PPC64_REL16_HIGHERA),
	(R_PPC64_REL16_HIGHEST, R_PPC64_REL16_HIGHESTA): Define.
	(R_PPC64_LO_DS_OPT, R_PPC64_16DX_HA): Bump value.
bfd/
	* reloc.c (BFD_RELOC_PPC64_REL16_HIGH, BFD_RELOC_PPC64_REL16_HIGHA),
	(BFD_RELOC_PPC64_REL16_HIGHER, BFD_RELOC_PPC64_REL16_HIGHERA),
	(BFD_RELOC_PPC64_REL16_HIGHEST, BFD_RELOC_PPC64_REL16_HIGHESTA):
	Define.
	* elf64-ppc.c (ppc64_elf_howto_raw): Add new REL16 howtos.
	(ppc64_elf_reloc_type_lookup): Translate new REL16 relocs.
	(ppc64_elf_check_relocs, ppc64_elf_relocate_section): Handle them.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
gas/
	* config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): Allow ADDR16
	HIGH, HIGHA, HIGHER, HIGHERA, HIGHEST, and HIGHESTA relocs.
	Group 16-bit relocs.
	* config/tc-ppc.c (md_apply_fix): Translate those ADDR16 relocs
	to REL16 when pcrel.  Sort relocs.
2018-08-31 22:15:05 +09:30
..
atof-ieee.c
atof-vax.c
bfin-aux.h
bfin-defs.h
bfin-lex-wrapper.c
bfin-lex.l
bfin-parse.y
e-crisaout.c
e-criself.c
e-i386aout.c
e-i386coff.c
e-i386elf.c
e-mipself.c
itbl-mips.h
m68k-parse.h
m68k-parse.y
obj-aout.c
obj-aout.h
obj-coff-seh.c
obj-coff-seh.h
obj-coff.c
obj-coff.h
obj-ecoff.c
obj-ecoff.h
obj-elf.c
obj-elf.h
obj-evax.c -Wstringop-truncation warnings 2018-05-04 18:58:23 +09:30
obj-evax.h
obj-fdpicelf.c
obj-fdpicelf.h
obj-macho.c -Wstringop-truncation warnings 2018-05-04 18:58:23 +09:30
obj-macho.h
obj-multi.c
obj-multi.h
obj-som.c
obj-som.h
rl78-defs.h
rl78-parse.y
rx-defs.h
rx-parse.y
tc-aarch64.c [Patch AArch64] Warn on unpredictable stlxrb , stlxrh and stlxr cases. 2018-06-29 13:06:05 +01:00
tc-aarch64.h
tc-alpha.c
tc-alpha.h
tc-arc.c [ARC] Check if an input asm file is rf16 compliant 2018-08-06 16:41:32 +03:00
tc-arc.h
tc-arm.c Allow bit-patterns in the immediate field of ARM neon mov instructions. 2018-07-13 11:50:16 +01:00
tc-arm.h
tc-avr.c
tc-avr.h
tc-bfin.c
tc-bfin.h
tc-cr16.c
tc-cr16.h
tc-cris.c
tc-cris.h
tc-crx.c
tc-crx.h
tc-csky.c Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00
tc-csky.h Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00
tc-d10v.c
tc-d10v.h
tc-d30v.c
tc-d30v.h
tc-dlx.c
tc-dlx.h
tc-epiphany.c
tc-epiphany.h
tc-fr30.c
tc-fr30.h
tc-frv.c
tc-frv.h
tc-ft32.c
tc-ft32.h
tc-generic.c
tc-generic.h
tc-h8300.c
tc-h8300.h
tc-hppa.c Fix unwind offset for start_symbol. 2018-07-29 12:51:23 -04:00
tc-hppa.h
tc-i386-intel.c x86: fold RegEip/RegRip and RegEiz/RegRiz 2018-08-06 08:34:36 +02:00
tc-i386.c x86: Extend assembler to generate GNU property notes 2018-08-31 04:31:20 -07:00
tc-i386.h x86: Extend assembler to generate GNU property notes 2018-08-31 04:31:20 -07:00
tc-ia64.c
tc-ia64.h
tc-ip2k.c
tc-ip2k.h
tc-iq2000.c
tc-iq2000.h
tc-lm32.c
tc-lm32.h
tc-m32c.c
tc-m32c.h
tc-m32r.c
tc-m32r.h
tc-m68hc11.c
tc-m68hc11.h
tc-m68k.c
tc-m68k.h
tc-m68851.h
tc-mcore.c
tc-mcore.h
tc-mep.c
tc-mep.h
tc-metag.c
tc-metag.h
tc-microblaze.c
tc-microblaze.h
tc-mips.c [MIPS] Add Loongson 2K1000 proccessor support. 2018-08-29 20:55:25 +08:00
tc-mips.h
tc-mmix.c
tc-mmix.h
tc-mn10200.c
tc-mn10200.h
tc-mn10300.c
tc-mn10300.h
tc-moxie.c
tc-moxie.h
tc-msp430.c Fix the MSP430 assembler's parsing of register names. 2018-06-26 13:40:13 +01:00
tc-msp430.h
tc-mt.c
tc-mt.h
tc-nds32.c NDS32/GAS: Correct an `expr' global shadowing error for pre-4.8 GCC 2018-05-16 20:43:29 +01:00
tc-nds32.h
tc-nios2.c
tc-nios2.h
tc-ns32k.c Fix compile time warning problem with gcc 8 and the NS32K assembler sources. 2018-08-01 14:36:50 +01:00
tc-ns32k.h
tc-or1k.c
tc-or1k.h
tc-pdp11.c Correct the parsing of derferred register addressing in the PDP11 assembler. 2018-08-07 08:34:08 +01:00
tc-pdp11.h
tc-pj.c
tc-pj.h
tc-ppc.c PowerPC64 higher REL16 relocations 2018-08-31 22:15:05 +09:30
tc-ppc.h PowerPC64 higher REL16 relocations 2018-08-31 22:15:05 +09:30
tc-pru.c Update PRU assembler to corect hardware register numbering for DWARF. 2018-08-03 10:02:39 +01:00
tc-pru.h Update PRU assembler to corect hardware register numbering for DWARF. 2018-08-03 10:02:39 +01:00
tc-riscv.c RISC-V: Allow instruction require more than one extension 2018-08-30 13:23:12 -07:00
tc-riscv.h RISC-V: Fix .align handling when .option norelax. 2018-05-24 10:35:59 -07:00
tc-rl78.c
tc-rl78.h
tc-rx.c
tc-rx.h
tc-s12z.c S12Z: Move opcode header to public include directory. 2018-08-18 07:50:03 +02:00
tc-s12z.h Add support for the Freescale s12z processor. 2018-05-18 15:26:18 +01:00
tc-s390.c
tc-s390.h
tc-score7.c
tc-score.c score gcc-8 warning fixes 2018-05-12 16:21:22 +09:30
tc-score.h
tc-sh.c
tc-sh.h
tc-sparc.c
tc-sparc.h
tc-spu.c
tc-spu.h
tc-tic4x.c
tc-tic4x.h
tc-tic6x.c
tc-tic6x.h
tc-tic30.c
tc-tic30.h
tc-tic54x.c
tc-tic54x.h
tc-tilegx.c
tc-tilegx.h
tc-tilepro.c
tc-tilepro.h
tc-v850.c
tc-v850.h
tc-vax.c
tc-vax.h
tc-visium.c
tc-visium.h
tc-wasm32.c
tc-wasm32.h
tc-xc16x.c
tc-xc16x.h
tc-xgate.c
tc-xgate.h
tc-xstormy16.c
tc-xstormy16.h
tc-xtensa.c xtensa: add separate property sections option 2018-06-04 10:36:39 -07:00
tc-xtensa.h
tc-z8k.c
tc-z8k.h
tc-z80.c Fix handling of undocumented SLL instruction for the Z80 target. 2018-08-21 15:50:49 +01:00
tc-z80.h
te-386bsd.h
te-aix5.h
te-aix.h
te-armeabi.h
te-armfbsdeabi.h
te-armfbsdvfp.h
te-armlinuxeabi.h
te-csky_abiv1_linux.h Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00
te-csky_abiv1.h Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00
te-csky_abiv2_linux.h Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00
te-csky_abiv2.h Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00
te-dragonfly.h
te-freebsd.h
te-generic.h
te-gnu.h
te-go32.h
te-hppa64.h
te-hppa.h
te-hppalinux64.h
te-hpux.h
te-ia64aix.h
te-interix.h
te-irix.h
te-linux.h
te-lynx.h
te-macos.h
te-nacl.h
te-nbsd532.h
te-nbsd.h
te-pc532mach.h
te-pe.h
te-pep.h
te-solaris.h
te-svr4.h
te-symbian.h
te-tmips.h
te-uclinux.h
te-vms.c
te-vms.h
te-vxworks.h
te-wince-pe.h
vax-inst.h
xtensa-istack.h
xtensa-relax.c
xtensa-relax.h