binutils-gdb/ld/emultempl
Yury Usishchev 491d01d3da ARM: Fix exidx coverage for relocatable builds.
bfd  * elf-bfd.h: Add callback to count additional relocations.
     * elf32-arm.c (_arm_elf_section_data): Add new counter.
     (insert_cantunwind_after): Increment relocations counter.
     (elf32_arm_fix_exidx_coverage): Remove exidx entries and add
     terminating CANTUNWIND entry only in final builds.
     (elf32_arm_add_relocation): New function.
     (elf32_arm_write_section): Add relocations in relocatable builds.
     (elf32_arm_count_additional_relocs): New function.
     (elf_backend_count_additional_relocs): New define.
     * bfd/elflink.c (bfd_elf_final_link): Use callback and adjust size of
     .rel section.
     * bfd/elfxx-target.h (elf_backend_count_additional_relocs): New define.

ld   * emultempl/armelf.em (gld${EMULATION_NAME}_after_allocation): Call
     elf32_arm_fix_exidx_coverage for relocatable builds.

ld/testsuite
     * ld-arm/arm-elf.exp: New test.
     * ld-arm/unwind-rel.d: New file.
     * ld-arm/unwind-rel1.s: New file.
     * ld-arm/unwind-rel2.s: New file.
     * ld-arm/unwind-rel3.s: New file.
2015-12-22 15:50:13 +00:00
..
README
aarch64elf.em
aix.em
alphaelf.em
arclinux.em
armcoff.em
armelf.em ARM: Fix exidx coverage for relocatable builds. 2015-12-22 15:50:13 +00:00
astring.sed
avrelf.em
beos.em
bfin.em
cr16elf.em
crxelf.em
elf-generic.em
elf32.em Re: Orphan output section with multiple input sections 2015-10-29 19:42:50 +10:30
epiphanyelf_4x4.em
genelf.em
generic.em
gld960.em
gld960c.em
hppaelf.em
ia64elf.em
irix.em
linux.em
lnk960.em
m68hc1xelf.em
m68kcoff.em
m68kelf.em
metagelf.em
mipself.em
mmix-elfnmmo.em
mmixelf.em
mmo.em Re: Orphan output section with multiple input sections 2015-10-29 19:42:50 +10:30
msp430.em
nds32elf.em
needrelax.em
netbsd.em
nios2elf.em
ostring.sed
pe.em Re: Orphan output section with multiple input sections 2015-10-29 19:42:50 +10:30
pep.em Re: Orphan output section with multiple input sections 2015-10-29 19:42:50 +10:30
ppc32elf.em
ppc64elf.em
rxelf.em
scoreelf.em
sh64elf.em
solaris2.em
spu_icache.S
spu_icache.o_c
spu_ovl.S
spu_ovl.o_c
spuelf.em
sunos.em
tic6xdsbt.em
ticoff.em
v850elf.em
vanilla.em
vms.em
vxworks.em
xtensaelf.em
z80.em

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 sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.

Copyright (C) 2012-2015 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.