binutils-gdb/ld/testsuite
Matthew Fortune cdf969539c Add new NOCROSSREFS_TO linker script command
NOCROSSREFS_TO is similar to the existing NOCROSSREFS command but only
checks one direction of cross referencing.

ld/ChangeLog

	* ld.texinfo: Document NOCROSSREFS_TO script command.
	* ldlang.h (struct lang_nocrossrefs): Add onlyfirst field.
	(lang_add_nocrossref_to): New prototype.
	* ldcref.c (check_local_sym_xref): Use onlyfirst to only look for
	symbols defined in the first section.
	(check_nocrossref): Likewise.
	* ldgram.y (NOCROSSREFS_TO): New script command.
	* ldlang.c (lang_add_nocrossref): Set onlyfirst to FALSE.
	(lang_add_nocrossref_to): New function.
	* ldlex.l (NOCROSSREFS_TO): New token.
	* NEWS: Mention NOCROSSREFS_TO.
	* testsuite/ld-scripts/cross4.t: New file.
	* testsuite/ld-scripts/cross5.t: Likewise.
	* testsuite/ld-scripts/cross6.t: Likewise.
	* testsuite/ld-scripts/cross7.t: Likewise.
	* testsuite/ld-scripts/crossref.exp: Run 4 new NOCROSSREFS_TO
	tests.
2016-04-18 12:45:46 +01:00
..
config
ld-aarch64 [AArch64] Create .got section if _GLOBAL_OFFSET_TABLE_ referenced 2016-03-07 15:40:50 +00:00
ld-alpha
ld-arc arc/nps400 : New cmem instructions and associated relocation 2016-04-14 17:16:46 +01:00
ld-arm PR gas/19744: Thumb-1 pcrop relocations don't work on Thumb-2 targets 2016-03-10 17:06:35 +01:00
ld-auto-import
ld-avr Fix possible failure in the AVR linker tests. 2016-03-18 09:51:47 +00:00
ld-bootstrap
ld-cdtest
ld-checks
ld-cris ELF/LD: Avoid producing hidden and internal dynamic symbols 2016-04-05 15:14:54 +01:00
ld-crx
ld-cygwin
ld-d10v
ld-discard [ARC] Fix ld testsuite failures. 2016-04-05 13:46:44 +02:00
ld-elf ld/arc: Fix linker for big-endian arc targets 2016-04-05 23:08:28 +01:00
ld-elfcomm Properly implement STT_COMMON 2016-02-26 05:01:34 -08:00
ld-elfvers
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv Make linker assigned symbol dynamic only for shared object 2016-02-23 05:19:03 -08:00
ld-gc
ld-h8300
ld-i386 Properly handle dynamic reloc against normal symbol 2016-04-11 19:41:52 -07:00
ld-ia64
ld-ifunc Handle local IFUNC symbols in shared object 2016-03-08 09:42:16 -08:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf ELF/LD: Avoid producing hidden and internal dynamic symbols 2016-04-05 15:14:54 +01:00
ld-misc
ld-mmix
ld-mn10300
ld-nds32
ld-nios2
ld-pe Improve COFF/PE linker garbage collection by preventing the removal of sections containing exported symbols. 2016-03-22 12:25:08 +00:00
ld-pie
ld-plugin Update PR ld/12365 test for GCC 6 2016-03-01 12:45:18 -08:00
ld-powerpc
ld-s390 Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
ld-scripts Add new NOCROSSREFS_TO linker script command 2016-04-18 12:45:46 +01:00
ld-selective
ld-sh Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
ld-shared
ld-size
ld-sparc
ld-spu
ld-srec [ARC] Fix ld testsuite failures. 2016-04-05 13:46:44 +02:00
ld-tic6x Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
ld-tilegx
ld-tilepro
ld-undefined
ld-unique
ld-v850
ld-vax-elf
ld-versados
ld-visium
ld-vxworks
ld-x86-64 Update x86-64 tests for --as-needed 2016-04-13 05:43:28 -07:00
ld-xc16x
ld-xstormy16
ld-xtensa Enhance GAS's .section directive so that it can take numeric values for the flags and type fields. (ELF only) 2016-02-15 11:11:46 +00:00
lib ld/testsuite: Initialise a variable to prevent tcl errors 2016-04-13 15:22:42 +01:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-9303