binutils-gdb/ld/testsuite
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
..
config objcopy --extract-symbol testcase 2015-10-15 23:38:29 +10:30
ld-aarch64 Revert "[LD][AARCH64]Add TLSIE relaxation support under large memory model." 2015-11-12 15:16:40 +00:00
ld-alpha
ld-arm ARM: Fix exidx coverage for relocatable builds. 2015-12-22 15:50:13 +00:00
ld-auto-import
ld-avr Define DIFF_EXPR_OK for avr target to allow PC relative difference relocation. 2015-07-08 21:41:52 +03:00
ld-bootstrap
ld-cdtest
ld-checks
ld-cris
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf ld: relax alignment requirements of compressed .debug_* section checks 2015-12-07 17:52:25 +01:00
ld-elfcomm
ld-elfvers Pass $PLT_CFLAGS to build_binary 2015-07-27 05:13:55 -07:00
ld-elfvsb Pass $PLT_CFLAGS to ld_compile 2015-07-27 05:15:01 -07:00
ld-elfweak
ld-fastcall
ld-frv
ld-gc xfail pr19161 test on hppa-linux 2015-10-27 18:09:21 +10:30
ld-h8300
ld-i386 Optimize R_386_GOT32/R_386_GOT32X only if addend is 0 2015-12-04 09:03:04 -08:00
ld-ia64
ld-ifunc Add R_X86_64_[REX_]GOTPCRELX support to gas and ld 2015-10-22 04:49:38 -07:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf 2015-10-29 Catherine Moore <clm@codesourcery.com> 2015-10-29 06:58:16 -07:00
ld-misc
ld-mmix
ld-mn10300
ld-nds32
ld-nios2
ld-pe
ld-pie
ld-plugin ld -r doesn't need plugin for slim lto object 2015-12-10 12:35:50 -08:00
ld-powerpc Add assembler, disassembler and linker support for power9. 2015-11-11 19:52:52 -06:00
ld-s390
ld-scripts Allow mmix-knuth-mmixware adjustments to objcopy --extract-symbols test. 2015-10-22 16:16:09 +02:00
ld-selective
ld-sh
ld-shared Pass $PLT_CFLAGS to ld_compile 2015-07-27 05:17:26 -07:00
ld-size Move run-time support check for size relocation 2015-07-29 10:52:38 -07:00
ld-sparc
ld-spu
ld-srec Append $PLT_CFLAGS to CC/CXX for S-records tests 2015-07-27 05:18:20 -07:00
ld-tic6x
ld-tilegx
ld-tilepro
ld-undefined ld: Add '--require-defined' command line option. 2015-08-04 10:00:05 +01:00
ld-unique
ld-v850
ld-vax-elf
ld-versados
ld-visium
ld-vxworks
ld-x86-64 Optimize R_386_GOT32/R_386_GOT32X only if addend is 0 2015-12-04 09:03:04 -08:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib Skip IFUNC relocations in debug sections 2015-08-11 12:59:11 -07:00
ChangeLog ARM: Fix exidx coverage for relocatable builds. 2015-12-22 15:50:13 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-9303