binutils-gdb/ld/emulparams
Christophe Lyon e8b09b8710 [ARM] Implement FDPIC relocations.
This is the main BFD patch, that enables the linker to actually handle
the FDPIC relocations.

2018-04-25  Christophe Lyon  <christophe.lyon@st.com>
	Mickaël Guêné  <mickael.guene@st.com>

	bfd/
	* elf32-arm.c (struct fdpic_local): New.
	(elf_arm_obj_tdata): Add local_fdpic_cnts field.
	(elf32_arm_local_fdpic_cnts): New.
	(struct fdpic_global): New.
	(elf32_arm_link_hash_entry): Add fdpic_cnts field.
	(elf32_arm_link_hash_table): Add srofixup field.
	(arm_elf_add_rofixup): New.
	(arm_elf_fill_funcdesc): New.
	(elf32_arm_link_hash_newfunc): Handle fdpic_cnts.
	(elf32_arm_allocate_local_sym_info): Likewise.
	(create_got_section): Create .rofixup section.
	(elf32_arm_copy_indirect_symbol): Handle fdpic_cnts.
	(bfd_elf32_arm_set_target_params): Handle FDPIC.
	(elf32_arm_final_link_relocate): Likewise.
	(elf32_arm_check_relocs): Likewise.
	(allocate_dynrelocs_for_symbol): Likewise.
	(elf32_arm_size_dynamic_sections): Likewise.
	(elf32_arm_finish_dynamic_sections): Likewise.
	(elf32_arm_output_arch_local_syms): Likewise.
	(elf32_arm_fdpic_omit_section_dynsym): New.

	ld/
	* emulparams/armelf_linux_fdpiceabi.sh: Add .rofixup section.
2018-04-25 20:53:01 +00:00
..
README Update year range in copyright notice of binutils files 2018-01-03 17:49:56 +10:30
aarch64cloudabi.sh Ensure 8-byte alignment for AArch64 stubs. 2018-03-02 10:49:20 +00:00
aarch64cloudabib.sh Add support for AArch64 CloudABI binaries. 2015-10-29 13:49:03 +00:00
aarch64elf.sh Ensure 8-byte alignment for AArch64 stubs. 2018-03-02 10:49:20 +00:00
aarch64elf32.sh Ensure 8-byte alignment for AArch64 stubs. 2018-03-02 10:49:20 +00:00
aarch64elf32b.sh
aarch64elfb.sh
aarch64fbsd.sh Ensure 8-byte alignment for AArch64 stubs. 2018-03-02 10:49:20 +00:00
aarch64fbsdb.sh Add support for configuring an aarch64-freebsd target. 2015-04-02 15:07:27 +01:00
aarch64linux.sh Ensure 8-byte alignment for AArch64 stubs. 2018-03-02 10:49:20 +00:00
aarch64linux32.sh Ensure 8-byte alignment for AArch64 stubs. 2018-03-02 10:49:20 +00:00
aarch64linux32b.sh 2014-02-11 Andrew Pinski <apinski@cavium.com> 2014-02-11 11:16:30 -08:00
aarch64linuxb.sh
aix5ppc.sh
aix5rs6.sh
aixppc.sh
aixrs6.sh
alpha.sh
alphavms.sh
arc-endianness.sh ld whitespace fixes 2017-10-12 23:30:43 +10:30
arc-nps.sh [ARC] Add new linker emulation for nps 2017-01-10 10:55:13 +00:00
arcelf.sh [ARC] Add JLI support. 2017-07-19 09:56:55 +02:00
arcelf_prof.sh ld/arc: Fix linker for big-endian arc targets 2016-04-05 23:08:28 +01:00
arclinux.sh [ARC] Emulation and default script template changes. 2016-05-19 15:06:50 +02:00
arclinux_nps.sh [ARC] Add new linker emulation for nps 2017-01-10 10:55:13 +00:00
arclinux_prof.sh arc/ld: Remove duplicate TEMPLATE_NAME from emulparam file 2016-11-28 22:30:17 +00:00
arcv2elf.sh [ARC] Add JLI support. 2017-07-19 09:56:55 +02:00
arcv2elfx.sh [ARC] Add JLI support. 2017-07-19 09:56:55 +02:00
arm_wince_pe.sh
armelf.sh Support -pie for arm*-eabi targets. 2016-08-09 12:09:17 -07:00
armelf_fbsd.sh * emulparams/armelf_fbsd.sh (TEXT_START_ADDR): Increase alignment to 64kB boundary like in armelf_linux.sh 2014-08-22 06:33:45 +02:00
armelf_fuchsia.sh Add support for Fushia OS. 2016-12-02 10:44:29 +00:00
armelf_linux.sh ld/ARM: Increase maximum page size to 64kB 2014-07-08 15:00:12 +01:00
armelf_linux_eabi.sh
armelf_linux_fdpiceabi.sh [ARM] Implement FDPIC relocations. 2018-04-25 20:53:01 +00:00
armelf_nacl.sh
armelf_nbsd.sh
armelf_phoenix.sh Add support for configuring for the ARM Phoenix target. 2016-05-23 13:53:07 +01:00
armelf_vxworks.sh
armelfb.sh
armelfb_fbsd.sh ld/ARM: Add target arm*b-*-freebsd*, update target arm*-*-freebsd*. 2014-06-18 21:58:19 +02:00
armelfb_fuchsia.sh Add support for Fushia OS. 2016-12-02 10:44:29 +00:00
armelfb_linux.sh
armelfb_linux_eabi.sh
armelfb_linux_fdpiceabi.sh [ARM] Add armelf_linux_fdpiceabi and armelfb_linux_fdpiceabi BFD backends 2018-04-25 20:47:43 +00:00
armelfb_nacl.sh
armelfb_nbsd.sh
armnto.sh
armpe.sh
armsymbian.sh
avr1.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr2.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr3.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr4.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr5.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr6.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr25.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr31.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr35.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avr51.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrtiny.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega1.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega2.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega3.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega4.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega5.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega6.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
avrxmega7.sh Replace multiple AVR scripts with a single, customizable linker script. 2017-06-13 16:50:26 +01:00
call_nop.sh ld error/warning messages 2018-02-26 10:51:12 +10:30
cet.sh ld error/warning messages 2018-02-26 10:51:12 +10:30
crisaout.sh
criself.sh Fix long-standing buglet and fallout from now-default initfini-array. 2017-01-29 13:53:58 +01:00
crislinux.sh
d10velf.sh
d30v_e.sh
d30v_o.sh
d30velf.sh
dynamic_undefined_weak.sh Implement -z dynamic-undefined-weak 2017-04-19 20:39:52 +09:30
elf32_dlx.sh
elf32_sparc.sh
elf32_sparc_sol2.sh
elf32_sparc_vxworks.sh
elf32_spu.sh
elf32_tic6x_be.sh
elf32_tic6x_elf_be.sh
elf32_tic6x_elf_le.sh
elf32_tic6x_le.sh Prevent multiple definitions for _HEAP_START, _HEAP_MAX, and _STACK_START when performing a relocatable link with a tic6x target. 2015-04-01 11:29:46 +01:00
elf32_tic6x_linux_be.sh
elf32_tic6x_linux_le.sh
elf32_x86_64.sh ld: Add OTHER_PLT_SECTIONS 2017-11-12 07:25:36 -08:00
elf32_x86_64_nacl.sh
elf32am33lin.sh
elf32b4300.sh
elf32bfin.sh fix 2014-05-28 ld Makefile.am changes 2014-06-02 14:52:52 +09:30
elf32bfinfd.sh fix 2014-05-28 ld Makefile.am changes 2014-06-02 14:52:52 +09:30
elf32bmip.sh [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
elf32bmipn32-defs.sh Add workaround for bash 4.2 scripting problem. 2016-10-06 13:49:09 +01:00
elf32bmipn32.sh
elf32bsmip.sh
elf32btsmip.sh
elf32btsmip_fbsd.sh
elf32btsmipn32.sh
elf32btsmipn32_fbsd.sh
elf32cr16.sh
elf32cr16c.sh
elf32crx.sh
elf32ebmip.sh
elf32ebmipvxworks.sh
elf32elmip.sh
elf32elmipvxworks.sh
elf32epiphany.sh
elf32epiphany_4x4.sh
elf32fr30.sh
elf32frv.sh
elf32frvfd.sh
elf32ft32.sh FT32 initial support 2015-01-28 16:25:18 +10:30
elf32ip2k.sh
elf32iq10.sh
elf32iq2000.sh
elf32l4300.sh
elf32lm32.sh
elf32lm32fd.sh
elf32lmip.sh
elf32lppc.sh
elf32lppclinux.sh
elf32lppcnto.sh
elf32lppcsim.sh
elf32lr5900.sh
elf32lr5900n32.sh
elf32lriscv-defs.sh RISC-V: Disable shared library support for embedded elf. 2018-01-05 14:29:49 -08:00
elf32lriscv.sh Add support for RISC-V architecture. 2016-11-01 16:45:57 +00:00
elf32lsmip.sh
elf32ltsmip.sh
elf32ltsmip_fbsd.sh
elf32ltsmipn32.sh
elf32ltsmipn32_fbsd.sh
elf32m32c.sh Move .stack before debug sections 2017-02-20 19:33:28 +10:30
elf32mb_linux.sh
elf32mbel_linux.sh
elf32mcore.sh ld error/warning messages 2018-02-26 10:51:12 +10:30
elf32mep.sh
elf32metag.sh Support -z relro on metag 2017-01-02 22:44:29 +10:30
elf32microblaze.sh
elf32microblazeel.sh
elf32mipswindiss.sh MIPS/LD: Correct `mips-*-windiss' target emulation configuration 2018-01-26 23:05:06 +00:00
elf32moxie.sh
elf32mt.sh Move .stack before debug sections 2017-02-20 19:33:28 +10:30
elf32or1k.sh Remove support for the (deprecated) openrisc and or32 configurations and replace 2014-04-22 15:57:47 +01:00
elf32or1k_linux.sh or1k: increase linux TEXT_START_ADDR to 0x2000 2014-07-17 00:26:45 +03:00
elf32ppc.sh Support PLT16 relocs against local symbols 2018-04-09 17:05:09 +09:30
elf32ppc_fbsd.sh
elf32ppccommon.sh Implement -z dynamic-undefined-weak 2017-04-19 20:39:52 +09:30
elf32ppclinux.sh
elf32ppcnto.sh
elf32ppcsim.sh
elf32ppcvxworks.sh Fix ELF ppc32 targets that don't use ppc32elf.em 2014-02-27 23:39:01 +10:30
elf32ppcwindiss.sh powerpc-lynxos and powerpc-windiss fixes 2018-04-14 17:53:22 +09:30
elf32rl78.sh Move .stack before debug sections 2017-02-20 19:33:28 +10:30
elf32rx.sh Move .stack before debug sections 2017-02-20 19:33:28 +10:30
elf32tilegx.sh
elf32tilegx_be.sh
elf32tilepro.sh
elf32vax.sh
elf32visium.sh Add Visium support to ld 2014-12-06 16:45:22 +01:00
elf32xc16x.sh
elf32xc16xl.sh
elf32xc16xs.sh
elf32xstormy16.sh
elf32xtensa.sh xtensa: ld: support -z relro 2018-03-07 13:05:12 -08:00
elf64_aix.sh
elf64_ia64.sh Stop the IA64 linker from removing unwind tables when garbage collecting. 2018-04-05 14:44:05 +01:00
elf64_ia64_fbsd.sh
elf64_ia64_vms.sh
elf64_s390.sh S/390: Add support for pgste marker 2017-06-23 08:00:46 +02:00
elf64_sparc.sh
elf64_sparc_fbsd.sh
elf64_sparc_sol2.sh
elf64alpha.sh
elf64alpha_fbsd.sh
elf64alpha_nbsd.sh
elf64bmip-defs.sh [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
elf64bmip.sh
elf64btsmip.sh
elf64btsmip_fbsd.sh
elf64hppa.sh
elf64lppc.sh
elf64lriscv-defs.sh Add support for RISC-V architecture. 2016-11-01 16:45:57 +00:00
elf64lriscv.sh Add support for RISC-V architecture. 2016-11-01 16:45:57 +00:00
elf64ltsmip.sh
elf64ltsmip_fbsd.sh
elf64mmix.sh ld whitespace fixes 2017-10-12 23:30:43 +10:30
elf64ppc.sh Align .TOC. for PowerPC64 2015-04-23 09:49:19 +09:30
elf64ppc_fbsd.sh
elf64rdos.sh
elf64tilegx.sh
elf64tilegx_be.sh
elf_fbsd.sh
elf_i386.sh ld: Add OTHER_PLT_SECTIONS 2017-11-12 07:25:36 -08:00
elf_i386_be.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
elf_i386_chaos.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
elf_i386_fbsd.sh
elf_i386_ldso.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
elf_i386_nacl.sh
elf_i386_sol2.sh
elf_i386_vxworks.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
elf_iamcu.sh ld: Add OTHER_PLT_SECTIONS 2017-11-12 07:25:36 -08:00
elf_k1om.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
elf_k1om_fbsd.sh
elf_l1om.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
elf_l1om_fbsd.sh
elf_nacl.sh
elf_s390.sh
elf_x86_64.sh ld: Add OTHER_PLT_SECTIONS 2017-11-12 07:25:36 -08:00
elf_x86_64_cloudabi.sh Add support for Nuxi CloudABI on x86-64 2015-03-31 08:11:08 -07:00
elf_x86_64_fbsd.sh
elf_x86_64_nacl.sh
elf_x86_64_sol2.sh
extern_protected_data.sh [x86] Resolve non-PIC undefweak symbols in executable 2016-02-26 04:55:57 -08:00
h8300elf.sh ld whitespace fixes 2017-10-12 23:30:43 +10:30
h8300elf_linux.sh ld whitespace fixes 2017-10-12 23:30:43 +10:30
h8300helf.sh
h8300helf_linux.sh Add support for the h8300-linux target. 2015-02-23 17:04:53 +00:00
h8300hnelf.sh
h8300self.sh
h8300self_linux.sh Add support for the h8300-linux target. 2015-02-23 17:04:53 +00:00
h8300snelf.sh
h8300sxelf.sh
h8300sxelf_linux.sh Add support for the h8300-linux target. 2015-02-23 17:04:53 +00:00
h8300sxnelf.sh
hppa64linux.sh
hppaelf.sh
hppalinux.sh Support -z relro on hppa 2017-01-02 22:42:45 +10:30
hppanbsd.sh
hppaobsd.sh
i386aout.sh
i386beos.sh
i386bsd.sh
i386go32.sh
i386lynx.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
i386moss.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
i386msdos.sh
i386nto.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
i386pe.sh Remove remaining default manifest support. 2014-04-09 17:12:30 +01:00
i386pe_posix.sh
i386pep.sh Remove remaining default manifest support. 2014-04-09 17:12:30 +01:00
m32relf.sh
m32relf_linux.sh
m32rlelf.sh
m32rlelf_linux.sh
m68hc11elf.sh
m68hc11elfb.sh
m68hc12elf.sh
m68hc12elfb.sh
m68kelf.sh
m68kelfnbsd.sh
mcorepe.sh
mmo.sh
mn10200.sh
mn10300.sh
moxiebox.sh Add moxiebox target 2014-07-27 08:51:20 -04:00
msp430X.sh Change msp430 emulation to msp430elf 2015-04-24 17:05:52 -04:00
msp430elf.sh Fix the execution of the MSP430 simulator testsuite. 2016-01-05 16:43:58 +00:00
nds32belf.sh
nds32belf16m.sh
nds32belf_linux.sh
nds32elf.sh
nds32elf16m.sh
nds32elf_linux.sh
nios2elf.sh Disable -shared support in nios2-elf-ld. 2018-02-02 23:00:02 -08:00
nios2linux.sh 2014-05-11 Chung-Lin Tang <cltang@codesourcery.com> 2014-05-11 10:04:45 -07:00
ns32knbsd.sh
pc532macha.sh
pdp11.sh
pjelf.sh
pjlelf.sh
plt_unwind.sh Add ld_list_options 2015-04-08 04:55:23 -07:00
ppclynx.sh powerpc-lynxos and powerpc-windiss fixes 2018-04-14 17:53:22 +09:30
ppcmacos.sh
ppcpe.sh
pruelf.sh PRU LD Port 2016-12-31 12:04:11 +10:30
reloc_overflow.sh Add -z noreloc-overflow option to x86-64 ld 2016-03-15 11:07:54 -07:00
score3_elf.sh fix 2014-05-28 ld Makefile.am changes 2014-06-02 14:52:52 +09:30
score7_elf.sh fix 2014-05-28 ld Makefile.am changes 2014-06-02 14:52:52 +09:30
sh.sh
shelf.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
shelf_fd.sh
shelf_linux.sh
shelf_nbsd.sh Move .stack before debug sections 2017-02-20 19:33:28 +10:30
shelf_nto.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
shelf_uclinux.sh Move .stack before debug sections 2017-02-20 19:33:28 +10:30
shelf_vxworks.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
shl.sh
shlelf.sh
shlelf_fd.sh
shlelf_linux.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
shlelf_nbsd.sh
shlelf_nto.sh ELF: Call check_relocs after opening all inputs 2017-10-16 03:50:13 -07:00
shlelf_vxworks.sh
shpe.sh
solaris2.sh Solaris PIE support 2015-09-22 11:12:51 +02:00
tic3xcoff.sh
tic3xcoff_onchip.sh
tic4xcoff.sh
tic30aout.sh
tic30coff.sh
tic54xcoff.sh
tic80coff.sh
v850.sh Adds support for generating notes in V850 binaries. 2015-02-24 17:54:09 +00:00
v850_rh850.sh Adds support for generating notes in V850 binaries. 2015-02-24 17:54:09 +00:00
vanilla.sh
vaxnbsd.sh
vxworks.sh ld whitespace fixes 2017-10-12 23:30:43 +10:30
xgateelf.sh
z80.sh
z8001.sh
z8002.sh

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are read by genscripts.sh as shell commands.
They set parameters for the emulations.

Copyright (C) 2012-2018 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.