old-cross-binutils/ld/testsuite
Nick Clifton 5063daf735 This patch adds a default manifest in to the final links performed by the Cygwin and MinGW targets.
The manifest is necessary in order for the linked binaries to be executed in a Windows 8 environment.

The manifest is added using a linker script so that this feature will be compiler-neutral.  The resource
merging code in the linker means that if an application provides its own manifest then the default
manifest will be ignored.

	* configure.in (all_emul_extra_binaries): New variable.  Populated
	by invoking configure.tgt.
	(EMUL_EXTRA_BINARIES): New substitution.
	* configure: Regenerate.
	* configure.tgt (target_extra_binaries): New variable.  Set to
	default-manifest.o for Cygwin and MinGW targets.
	* Makefile.am (EMUL_EXTRA_BINARIES): New variable.  Initialised
	by the configure script.
	(ALL_EMUL_EXTRA_BINARIES): New variable.
	(default-manifest.o): New rule to build the default manifest.
	(ld_new_DEPENDENCIES): Add EMUL_EXTRA_BINARIES.
	(install-data-local): Add EMUL_EXTRA_BINARIES.
	* Makefile.in: Regenerate.
	* ld.texinfo: Document default manifest support.
	* emulparams/i386pe.sh (DEFAULT_MANIFEST): Define.
	* emulparams/i386pep.sh (DEFAULT_MANIFEST): Define.
	* emultempl/default-manifest.rc: New file.
	* scripttempl/pe.sc (R_RSRC): Include DEFAULT_MANIFEST, if defined.
	* scripttempl/pep.sc (R_RSRC): Likewise.

	* ld-pe/longsecn-1.d: Allow for extra sections.
	* ld-pe/longsecn-2.d: Likewise.
	* ld-pe/longsecn.d: Likewise.
	* ld-pe/secrel.d: Likewise.
2014-02-27 14:13:43 +00:00
..
config Add HOSTING_SLIBS and use it for -pie 2013-11-26 11:17:08 -08:00
ld-aarch64 ld/testsuite/ld-aarch64: Fixup IFUNC tests to work on all targets 2013-12-11 21:05:36 +00:00
ld-alpha
ld-arm Make assignments to dot keep an empty output section. 2014-01-22 11:58:29 +10:30
ld-auto-import
ld-bootstrap Add file missed from last commit. 2014-02-21 23:18:50 +10:30
ld-cdtest
ld-checks
ld-cris ld/ELF: refine fake STT_FILE symbol emission 2013-10-29 17:52:24 +01:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf Mark symbol in executables if it matches dynamic_list 2014-02-10 08:05:54 -08:00
ld-elfcomm
ld-elfvers Allow for extra st_other readelf output in ld testsuite 2013-11-04 10:18:47 +10:30
ld-elfvsb Make assignments to dot keep an empty output section. 2014-01-22 11:58:29 +10:30
ld-elfweak ld: Remove Hurd-specific XFAILs related to weak symbols. 2014-02-16 08:30:25 +01:00
ld-fastcall
ld-frv
ld-gc * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
ld-h8300 * elf32-h8300 (h8_relax_section): Add new relaxation of mov 2013-03-21 16:08:07 +00:00
ld-i386 Update x86 nacl tests for section alignment change 2013-06-04 16:08:51 +00:00
ld-ia64 Pass ignored unresolved relocations to ld backend 2013-11-05 10:29:44 -08:00
ld-ifunc Check incompatible existing default symbol definition 2014-01-21 15:42:51 -08:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf The PT_DYNAMIC segment was being hard coded to have read, write, and 2014-02-18 16:23:48 -08:00
ld-misc
ld-mmix ld/ELF: refine fake STT_FILE symbol emission 2013-10-29 17:52:24 +01:00
ld-mn10300
ld-nds32 Add support for Andes NDS32: 2013-12-13 11:52:32 +00:00
ld-nios2 Nios II CALL26 linker relaxation 2014-01-30 17:47:07 -08:00
ld-pe This patch adds a default manifest in to the final links performed by the Cygwin and MinGW targets. 2014-02-27 14:13:43 +00:00
ld-pie Set ET_EXEC for -pie -Ttext-segment= 2013-12-12 07:41:27 -08:00
ld-plugin Add and use check_lto_shared_available 2014-01-09 09:01:53 -08:00
ld-powerpc Make assignments to dot keep an empty output section. 2014-01-22 11:58:29 +10:30
ld-s390 2013-07-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> 2013-07-05 09:51:00 +00:00
ld-scripts Fix ALIGN_WITH_INPUT 2014-02-02 06:39:39 -08:00
ld-selective
ld-sh ld/ELF: refine fake STT_FILE symbol emission 2013-10-29 17:52:24 +01:00
ld-shared Make assignments to dot keep an empty output section. 2014-01-22 11:58:29 +10:30
ld-size ld/testsuite/ 2013-06-04 19:24:10 +00:00
ld-sparc
ld-spu
ld-srec * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
ld-tic6x Update the tic6x linker tests to match the current behaviour of the linker and readelf. 2014-01-28 11:56:13 +00:00
ld-tilegx
ld-tilepro
ld-undefined * archures.c: Add some more MSP430 machine numbers. 2013-05-02 21:06:15 +00:00
ld-unique Set unique_global only for definition 2013-02-22 01:20:48 +00:00
ld-v850
ld-vax-elf * ld-vax-elf/export-class-call.dd: New test. 2013-07-27 22:28:29 +00:00
ld-versados
ld-vxworks
ld-x86-64 Create the second PLT for BND relocations 2014-02-19 11:48:23 -08:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib * lib/ld-lib.exp (default_ld_link): Remove support for ldflags. 2014-01-14 13:09:22 +00:00
ChangeLog This patch adds a default manifest in to the final links performed by the Cygwin and MinGW targets. 2014-02-27 14:13:43 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013 New Year - binutils ChangeLog rotation 2014-01-08 05:32:12 -08:00
ChangeLog-9303