old-cross-binutils/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
..
aarch64elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
aix.em Remove link_info.pic 2015-08-19 12:53:54 +09:30
alphaelf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
arclinux.em New ARC implementation. 2015-10-07 14:20:19 +01:00
armcoff.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
armelf.em ARM: Fix exidx coverage for relocatable builds. 2015-12-22 15:50:13 +00:00
astring.sed
avrelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
beos.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
bfin.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
cr16elf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
crxelf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
elf-generic.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
elf32.em Re: Orphan output section with multiple input sections 2015-10-29 19:42:50 +10:30
epiphanyelf_4x4.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
genelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
generic.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
gld960.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
gld960c.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
hppaelf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
ia64elf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
irix.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
linux.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
lnk960.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
m68hc1xelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
m68kcoff.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
m68kelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
metagelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
mipself.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
mmix-elfnmmo.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mmixelf.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
mmo.em Re: Orphan output section with multiple input sections 2015-10-29 19:42:50 +10:30
msp430.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
nds32elf.em Set DF_1_PIE in gld${EMULATION_NAME}_after_parse 2015-09-22 06:08:55 -07:00
needrelax.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
netbsd.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
nios2elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
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 Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
ppc64elf.em Add PowerPC64 ld --tls-get-addr-optimize. 2015-09-18 16:38:03 +09:30
README ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
rxelf.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
scoreelf.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
sh64elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
solaris2.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
spu_icache.o_c Regenerate spu overlay and icache manager files 2014-11-04 22:36:13 +10:30
spu_icache.S bfd/ 2009-03-17 12:46:19 +00:00
spu_ovl.o_c Regenerate spu overlay and icache manager files 2014-11-04 22:36:13 +10:30
spu_ovl.S ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
spuelf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
sunos.em Remove link_info.pic 2015-08-19 12:53:54 +09:30
tic6xdsbt.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
ticoff.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
v850elf.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
vanilla.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
vms.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
vxworks.em Add output_type to bfd_link_info 2015-08-18 05:51:19 -07:00
xtensaelf.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
z80.em ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30

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.