binutils-gdb/ld/testsuite
Maciej W. Rozycki adcbdc63e5 PR ld/20828: Relax symbol ordering in tests
Complement commit 81ff47b3a5 ("PR ld/20828: Fix linker script symbols
wrongly forced local with section GC") and make tests check for the
presence of global `_fdata' and `_edata' symbols separately, removing
any dependency on symbol table ordering for tests to succeed and
removing:

FAIL: PR ld/20828 dynamic symbols with section GC (auxiliary shared library)
FAIL: PR ld/20828 dynamic symbols with section GC (plain)

failures with the `x86_64-solaris2' target, which has additional
intervening entries:

Symbol table '.dynsym' contains 6 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND
     1: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT    1 _fdata
     2: 0000000000000000     0 OBJECT  GLOBAL DEFAULT    1 _DYNAMIC
     3: 0000000000000000     0 OBJECT  GLOBAL DEFAULT  ABS _PROCEDURE_LINKAGE_TABLE_
     4: 0000000000000000     0 NOTYPE  GLOBAL DEFAULT    1 _edata
     5: 00000000000001b8     0 OBJECT  GLOBAL DEFAULT    4 _GLOBAL_OFFSET_TABLE_

Rename dump pattern files accordingly for consistency.

	ld/
	PR ld/20828
	* testsuite/ld-elf/pr20828-1.sd: Remove test.
	* testsuite/ld-elf/pr20828-a.sd: New test.
	* testsuite/ld-elf/pr20828-2a.sd: Rename test to...
	* testsuite/ld-elf/pr20828-b.sd: ... this.
	* testsuite/ld-elf/pr20828-2b.sd: Rename test to...
	* testsuite/ld-elf/pr20828-c.sd: ... this.
	* testsuite/ld-elf/shared.exp: Adjust accordingly.
2017-01-23 11:24:21 +00:00
..
config
ld-aarch64 [AArch64] Optimize .gnu.hash table size for executable 2017-01-20 13:30:32 +00:00
ld-alpha
ld-arc [ARC] Add new linker emulation for nps 2017-01-10 10:55:13 +00:00
ld-arm
ld-auto-import
ld-avr
ld-bootstrap
ld-cdtest
ld-checks
ld-cris Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ld-crx Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ld-cygwin Run more ld tests when not native 2017-01-02 23:48:08 +10:30
ld-d10v
ld-discard
ld-elf PR ld/20828: Relax symbol ordering in tests 2017-01-23 11:24:21 +00:00
ld-elfcomm
ld-elfvers
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-gc
ld-h8300
ld-i386 i386/x86-64: Add unwind info for .plt.got section 2017-01-10 13:31:59 -08:00
ld-ia64
ld-ifunc Check for shared lib support before running ld tests with -shared 2017-01-04 09:39:12 +10:30
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ld-mep
ld-metag
ld-mips-elf PR gas/20649: MIPS: Fix GOT16/LO16 reloc pairing with comdat sections 2017-01-18 18:24:08 +00:00
ld-misc Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ld-mmix
ld-mn10300
ld-nds32
ld-nios2
ld-pe
ld-pie
ld-plugin
ld-powerpc Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ld-pru
ld-s390
ld-scripts
ld-selective
ld-sh Run more ld tests when not native 2017-01-02 23:48:08 +10:30
ld-shared
ld-size Run more ld tests when not native 2017-01-02 23:48:08 +10:30
ld-sparc
ld-spu
ld-srec Run more ld tests when not native 2017-01-02 23:48:08 +10:30
ld-tic6x
ld-tilegx Update year range in copyright notice of all files. 2017-01-02 14:08:56 +10:30
ld-tilepro
ld-undefined
ld-unique [ld, testsuite] Honor cflags when GCC used as linker driver 2017-01-23 09:59:10 +00:00
ld-v850
ld-vax-elf
ld-versados
ld-visium
ld-vxworks
ld-x86-64 x86-64: Also generate unwind info for .plt.bnd 2017-01-12 10:32:17 -08:00
ld-xc16x
ld-xstormy16
ld-xtensa
ld-z8k
lib [ld, testsuite] Honor cflags when GCC used as linker driver 2017-01-23 09:59:10 +00:00
ChangeLog-2004
ChangeLog-2005 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015 binutils ChangeLog rotation 2016-01-01 22:59:17 +10:30
ChangeLog-9303 Add copyright notices 2012-12-10 12:48:03 +00:00