binutils-gdb/binutils/testsuite/binutils-all
Nick Clifton 8486501545 Fix copying Solaris binaries with objcopy.
PR target/19938
bfd	* elf-bbfd.h (struct elf_backend_data): New field:
	elf_strtab_flags.
	New field: elf_backend_set_special_section_info_and_link
	* elfxx-target.h (elf_backend_strtab_flags): Define if not already
	defined.
	(elf_backend_set_special_section_info_and_link): Define if not
	already defined.
	(elfNN_bed): Use elf_backend_set_special_section_info_and_link and
	elf_backend_strtab_flags macros to initialise fields in structure.
	* elf.c (_bfd_elf_make_section_from_shdr): Check for SHF_STRINGS
	being set even if SHF_MERGE is not set.
	(elf_fake_sections): Likewise.
	(section_match): New function.  Matches two ELF sections based
	upon fixed characteristics.
	(find_link): New function.  Locates a section in a BFD that
	matches a section in a different BFD.
	(_bfd_elf_copy_private_bfd_data): Copy the sh_info and sh_link
	fields of reserved sections.
	(bfd_elf_compute_section_file_positions): Set the flags for the
	.shstrtab section based upon the elf_strtab_flags field in the
	elf_backend_data structure.
	(swap_out_syms): Likewise for the .strtab section.
	* elflink.c (bfd_elf_final_link): Set the flags for the
	.strtab section based upon the elf_strtab_flags field in the
	elf_backend_data structure.
	* elf32-i386.c (elf32_i386_set_special_info_link): New function.
	(elf_backend_strtab_flags): Set to SHF_STRINGS for Solaris
	targets.
	(elf_backend_set_special_section_info_and_link): Define for
	Solaris targets.
	* elf32-sparc.c: Likewise.
	* elf64-x86-64.c: Likewise.

binutils* testsuite/binutils-all/i386/compressed-1b.d: Allow for the
	string sections possibly having the SHF_STRINGS flag bit set.
	* testsuite/binutils-all/i386/compressed-1c.d: Likewise.
	* testsuite/binutils-all/readelf.s: Likewise.
	* testsuite/binutils-all/readelf.s-64: Likewise.
	* testsuite/binutils-all/x86-64/compressed-1b.d: Likewise.
	* testsuite/binutils-all/x86-64/compressed-1c.d: Likewise.

gas	* testsuite/gas/i386/ilp32/x86-64-unwind.d: Allow for the string
	sections possibly having the SHF_STRINGS flag bit set.
	* testsuite/gas/i386/x86-64-unwind.d: Likewise.
2016-04-14 12:04:09 +01:00
..
aarch64 Copyright update for binutils 2016-01-01 23:00:01 +10:30
arm Copyright update for binutils 2016-01-01 23:00:01 +10:30
bfin Copyright update for binutils 2016-01-01 23:00:01 +10:30
hppa Copyright update for binutils 2016-01-01 23:00:01 +10:30
i386 Fix copying Solaris binaries with objcopy. 2016-04-14 12:04:09 +01:00
m68k Copyright update for binutils 2016-01-01 23:00:01 +10:30
mips MIPS/opcodes: Fix undecoded MIPS16 extended instruction bit disassembly 2016-04-11 18:01:18 +01:00
vax Copyright update for binutils 2016-01-01 23:00:01 +10:30
windres Copyright update for binutils 2016-01-01 23:00:01 +10:30
x86-64 Fix copying Solaris binaries with objcopy. 2016-04-14 12:04:09 +01:00
add-empty-section.d binutils/: 2010-01-20 00:09:13 +00:00
add-section.d binutils/: 2010-01-20 00:09:13 +00:00
add-symbol.d Run add-symbol test on mips 2015-10-22 12:49:17 +10:30
alias-2.def 2009-10-23 Kai Tietz <kai.tietz@onevision.com> 2009-10-23 14:53:57 +00:00
alias.def
ar.exp Allow zero length archive elements. 2016-03-07 17:29:25 +00:00
bintest.s
common-1.s Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-1a.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-1b.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-1c.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-1d.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-1e.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-1f.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-2.s Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-2a.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-2b.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-2c.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-2d.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-2e.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
common-2f.d Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
compress.exp Set BFD_DECOMPRESS to decompress debug sections 2016-01-28 13:29:53 -08:00
copy-1.d 2006-05-02 Dave Korn <dave.korn@artimi.com> 2006-05-02 17:46:41 +00:00
copy-1.s 2006-04-26 H.J. Lu <hongjiu.lu@intel.com> 2006-04-26 13:37:05 +00:00
copy-2.d * binutils-all/copy-2.d: Change "hppa" to "hppa*" in not-target list. 2011-01-01 01:56:59 +00:00
copy-3.d binutils/ 2012-10-29 10:09:34 +00:00
copy-4.d binutils/ 2009-03-10 00:48:10 +00:00
copytest.s * binutils-all/copy-2.d: Change the name of the section whose flags are 2006-05-02 12:17:30 +00:00
debug_str.d Fixes a problem with the BFD library running out of memory because it mistakenly 2014-04-30 17:04:04 +01:00
debug_str.s Fixes a problem with the BFD library running out of memory because it mistakenly 2014-04-30 17:04:04 +01:00
dlltool.exp Fix dlltool tests for ARM targets, which do not support the --leading-underscore option. 2016-01-20 14:52:33 +00:00
dumptest.s * readelf.c (dump_type): New type used to classify the kinds of dump requested by the user. 2007-08-30 13:47:35 +00:00
dw2-1.S Copyright update for binutils 2016-01-01 23:00:01 +10:30
dw2-1.W Don't change compressed input debug section names 2015-04-23 07:59:59 -07:00
dw2-2.S Copyright update for binutils 2016-01-01 23:00:01 +10:30
dw2-3.S Copyright update for binutils 2016-01-01 23:00:01 +10:30
dw2-3.W Updated to accept .debug_* sections 2015-07-10 08:14:59 -07:00
dw2-3.rS Add SHF_COMPRESSED support to gas and objcopy 2015-04-08 07:54:09 -07:00
dw2-3.rt Add SHF_COMPRESSED support to gas and objcopy 2015-04-08 07:54:09 -07:00
dw2-3gabi.W Don't change compressed input debug section names 2015-04-23 07:59:59 -07:00
dw2-compressed.S Copyright update for binutils 2016-01-01 23:00:01 +10:30
dw2-decodedline-1.S Remove support for the (deprecated) openrisc and or32 configurations and replace 2014-04-22 15:57:47 +01:00
dw2-decodedline.S * binutils-all/dw2-decodedline.S: Always have whitespace before 2012-02-14 01:00:50 +00:00
dw2-empty.S Don't compress empty debug section 2012-07-03 16:06:34 +00:00
dw2-ranges.S Copyright update for binutils 2016-01-01 23:00:01 +10:30
dw2-ranges.W objdump: Handle 32-bit base address in debug_ranges / debug_loc. 2015-11-30 13:28:26 +00:00
elfedit-1.d Also skip x86_64-*-nacl* 2015-05-12 12:47:27 -07:00
elfedit-2.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
elfedit-3.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
elfedit-4.d bfd/ 2012-04-03 16:01:38 +00:00
elfedit-5.d Add EM_386/EM_IAMCU support to elfedit.c 2015-05-11 09:57:21 -07:00
elfedit.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
empty Allow zero length archive elements. 2016-03-07 17:29:25 +00:00
empty-file binutils/: 2010-01-20 00:09:13 +00:00
empty.s 2007-04-12 H.J. Lu <hongjiu.lu@intel.com> 2007-04-12 19:20:46 +00:00
exclude-1.s Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
exclude-1a.d Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
exclude-1b.d Implement generic SHF_EXCLUDE. 2010-05-18 03:31:07 +00:00
fastcall.def
group-2.s binutils/testsuite/ 2008-10-03 15:08:22 +00:00
group-3.s binutils/testsuite/ 2008-10-03 15:08:22 +00:00
group-4.s binutils/testsuite/ 2008-10-03 15:08:22 +00:00
group-5.d 2010-10-23 Mark Mitchell <mark@codesourcery.com> 2010-10-23 18:05:10 +00:00
group-5.s * binutils-all/group-5.s, * binutils-all/group-5.d: New test. 2010-02-18 00:13:30 +00:00
group-6.d Remove the group section if all members are removed. 2011-09-16 04:23:19 +00:00
group-6.s Remove the group section if all members are removed. 2011-09-16 04:23:19 +00:00
group.s binutils/testsuite/ 2008-10-03 15:08:22 +00:00
libdw2-compressed.out Add a dw2-3.S test 2015-04-04 07:34:25 -07:00
libdw2-compressedgabi.out Don't add the zlib header to SHF_COMPRESSED section 2015-05-14 16:02:08 -07:00
libdw2.out Add a dw2-3.S test 2015-04-04 07:34:25 -07:00
link-order.s 2005-10-19 H.J. Lu <hongjiu.lu@intel.com> 2005-10-19 17:39:43 +00:00
localize-hidden-1.d Fix the evaluation of RL78 complex relocs, by making immediate values be computed relative to a new absolute symbol. 2015-07-24 16:44:27 +01:00
localize-hidden-1.s binutils/testsuite/ 2009-04-16 04:24:07 +00:00
localize-hidden-2.d binutils/ 2006-06-23 16:23:09 +00:00
localize-hidden-2.s binutils/testsuite/ 2009-04-16 04:24:07 +00:00
needed-by-reloc.s * binutils-all/needed-by-reloc.s: Use .long rather than .4byte. 2007-05-11 07:16:28 +00:00
nm-1.s * binutils-all/nm.exp: --size-sort test: Add more ELF-like 2013-08-22 11:29:43 +00:00
nm-elf-1.s binutils/ 2013-08-19 15:08:52 +00:00
nm.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
note-1.d * binutils-all/ar.exp: Don't run unique_symbol on msp or hpux. 2010-09-23 12:04:37 +00:00
objcopy.exp Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
objdump.W Don't change compressed input debug section names 2015-04-23 07:59:59 -07:00
objdump.WL binutils/ 2011-10-04 14:25:40 +00:00
objdump.exp arc/gas: default mach is arc700, initialised in md_begin 2016-03-21 16:44:49 +00:00
objdump.s * binutils-all/objdump.W, binutils-all/objdump.s: Don't match 2009-03-11 22:49:54 +00:00
pr18374.s Fix PR18374 by making readelf and objdump ignore end-of-list markers in the .debug_loc section if there are relocations against them. 2015-05-15 11:24:33 +01:00
pr19020.in Don't use the output section size to copy input section 2015-09-29 13:31:57 -07:00
pr19020a.d Don't use the output section size to copy input section 2015-09-29 13:31:57 -07:00
pr19020b.d Don't use the output section size to copy input section 2015-09-29 13:31:57 -07:00
pr19547.c Clear HAS_RELOC if there are no relocations 2016-02-02 03:30:48 -08:00
readelf.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
readelf.h
readelf.n PR binutils/15191 2013-02-26 16:59:52 +00:00
readelf.pr18374 Fix PR18374 by making readelf and objdump ignore end-of-list markers in the .debug_loc section if there are relocations against them. 2015-05-15 11:24:33 +01:00
readelf.r Add support for Andes NDS32: 2013-12-13 11:52:32 +00:00
readelf.r-64
readelf.s Fix copying Solaris binaries with objcopy. 2016-04-14 12:04:09 +01:00
readelf.s-64 Fix copying Solaris binaries with objcopy. 2016-04-14 12:04:09 +01:00
readelf.ss readelf -s test: Skip extra symbols produced by MSP430 assembler. 2014-03-17 11:00:32 +00:00
readelf.ss-64 Fix the binutils readelf.ss test for the AArch64 target. 2015-04-02 15:28:02 +01:00
readelf.ss-mips MIPS testsuite cleanup - part 1 2014-09-06 17:58:37 +01:00
readelf.ss-tmips [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
readelf.wa Display null bytes in DWARF debug info 2012-08-02 13:42:59 +00:00
readelf.z Add --decompress option to readelf to decompress sections before they are dumped. 2015-05-15 17:16:31 +01:00
size.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
strip-1.d binutils/ 2006-09-14 23:37:35 +00:00
strip-2.d 2010-10-23 Mark Mitchell <mark@codesourcery.com> 2010-10-23 18:05:10 +00:00
strip-3.d [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
strip-4.d 2008-10-01 H.J. Lu <hongjiu.lu@intel.com> 2008-10-01 21:54:59 +00:00
strip-5.d 2008-10-01 H.J. Lu <hongjiu.lu@intel.com> 2008-10-01 21:54:59 +00:00
strip-6.d 2008-10-01 H.J. Lu <hongjiu.lu@intel.com> 2008-10-01 23:10:48 +00:00
strip-7.d binutils/testsuite/ 2008-10-03 15:08:22 +00:00
strip-8.d 2008-10-01 H.J. Lu <hongjiu.lu@intel.com> 2008-10-02 01:06:12 +00:00
strip-9.d binutils/testsuite/ 2008-10-03 15:08:22 +00:00
strip-10.d My patch to the binutils strip-10.d test was wrong. The osabi field should always be set to 2014-01-29 14:01:54 +00:00
strip-11.d Fix the evaluation of RL78 complex relocs, by making immediate values be computed relative to a new absolute symbol. 2015-07-24 16:44:27 +01:00
strip-12.d Tweak binutils testsuite 2015-08-11 23:29:36 +09:30
strip-12.s Tweak binutils testsuite 2015-08-11 23:29:36 +09:30
symbols-1.d Tweak binutils testsuite 2015-08-11 23:29:36 +09:30
symbols-2.d Tweak binutils testsuite 2015-08-11 23:29:36 +09:30
symbols-3.d Tweak binutils testsuite 2015-08-11 23:29:36 +09:30
symbols-4.d Tweak binutils testsuite 2015-08-11 23:29:36 +09:30
symbols.s objcopy: Improve wildcard matching for symbols with '!' prefix. 2015-08-07 11:41:40 +02:00
testprog.c Fix copying Solaris binaries with objcopy. 2016-04-14 12:04:09 +01:00
testranges-ia64.d 2009-07-16 H.J. Lu <hongjiu.lu@intel.com> 2009-07-16 21:00:09 +00:00
testranges-ia64.s 2009-07-16 H.J. Lu <hongjiu.lu@intel.com> 2009-07-16 21:00:09 +00:00
testranges.d Also expect .zdebug in DWARF debug section name. 2010-11-15 18:14:11 +00:00
testranges.s binutils/ 2009-09-07 18:07:02 +00:00
unique.s 2009-08-03 H.J. Lu <hongjiu.lu@intel.com> 2009-08-06 16:22:36 +00:00
unknown.s binutils/testsuite/ 2005-10-19 20:49:03 +00:00
update-1.s objcopy: Add --update-section option. 2015-02-28 21:25:51 +00:00
update-2.s objcopy: Add --update-section option. 2015-02-28 21:25:51 +00:00
update-3.s objcopy: Add --update-section option. 2015-02-28 21:25:51 +00:00
update-4.s objcopy: Add --update-section option. 2015-02-28 21:25:51 +00:00
update-section.exp Copyright update for binutils 2016-01-01 23:00:01 +10:30
version.def ChangeLog binutils 2012-02-11 20:02:03 +00:00
version.s * binutils-all/dw2-decodedline.S: Always have whitespace before 2012-02-14 01:00:50 +00:00
z.s Add --decompress option to readelf to decompress sections before they are dumped. 2015-05-15 17:16:31 +01:00