binutils-gdb/ld/testsuite
Terry Guo 70e99720f9 Make the linker return an error status if it fails to merge ARM binaries with
different architecture tags.  Add a test case to make sure that this works,
and update readelf so that it will not seg-fault when trying to display the
attributes of binaries with invalid architecture tags.

	* elf32-arm.c (elf32_arm_merge_eabi_attributes): Return false if
	failed to merge.

	* ld-arm/attr-merge-arch-2.d: New test case.
	* ld-arm/attr-merge-arch-2a.s: New test case source file.
	* ld-arm/attr-merge-arch-2b.s: Likewise.
	* ld-arm/arm-elf.exp: Run new test case.

	* readelf.c (display_arm_attribute): Use unsigned int type for
	tag, val and type variables.
2014-09-16 13:08:22 +01:00
..
config Ensure ld testsuite gcc -B options precede $CC -B options 2014-07-07 13:37:16 +09:30
ld-aarch64 Move ELF section headers to end of object file 2014-09-11 00:15:51 +09:30
ld-alpha
ld-arm Make the linker return an error status if it fails to merge ARM binaries with 2014-09-16 13:08:22 +01:00
ld-auto-import
ld-avr
ld-bootstrap Don't link FreeBSD tests with -ldl. 2014-05-19 08:49:55 +02:00
ld-cdtest
ld-checks
ld-cris
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf Fix linker testsuite failures for Aarch64. 2014-08-26 15:06:49 +01:00
ld-elfcomm
ld-elfvers ld/testsuite: Disable non-PIC shared library tests on ARM 2014-07-10 09:32:42 +01:00
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-gc
ld-h8300
ld-i386 Use bfd_is_abs_section to check discarded input section 2014-08-27 07:59:48 -07:00
ld-ia64
ld-ifunc Properly match PLT entry against .got.plt relocation 2014-07-16 10:57:49 -07:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf Add mips*-img-elf* target triple. 2014-09-12 14:25:15 +01:00
ld-misc
ld-mmix Move ELF section headers to end of object file 2014-09-11 00:15:51 +09:30
ld-mn10300
ld-nds32
ld-nios2
ld-pe
ld-pie
ld-plugin LTO plugin with older gcc 2014-08-18 21:01:26 +09:30
ld-powerpc Power/GAS: Don't set VLE annotation for non-VLE processors/instructions 2014-08-22 16:52:20 +01:00
ld-s390
ld-scripts [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
ld-selective
ld-sh Move ELF section headers to end of object file 2014-09-11 00:15:51 +09:30
ld-shared ld/aarch64: xfail non-PIC shared object tests on aarch64 2014-05-20 09:47:29 +01:00
ld-size
ld-sparc
ld-spu
ld-srec
ld-tic6x Move ELF section headers to end of object file 2014-09-11 00:15:51 +09:30
ld-tilegx
ld-tilepro
ld-undefined
ld-unique
ld-v850
ld-vax-elf
ld-versados
ld-vxworks
ld-x86-64 Move ELF section headers to end of object file 2014-09-11 00:15:51 +09:30
ld-xc16x
ld-xstormy16
ld-xtensa Use signed data type for R_XTENSA_DIFF* relocation offsets. 2014-05-08 01:55:41 +04:00
lib Fix testsuite ld_simple_link_defsyms for windows targets 2014-08-29 10:34:18 +09:30
ChangeLog Make the linker return an error status if it fails to merge ARM binaries with 2014-09-16 13:08:22 +01:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-9303