binutils-gdb/ld/testsuite/ld-pe
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
..
aligncomm-1.c strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
aligncomm-2.c strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
aligncomm-3.c strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
aligncomm-4.c strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
aligncomm.d strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
basefile1.s
cfi.d
cfi32.d
cfia.s
cfib.s
direct2_client.c
direct2_dll.c
direct2_dll.def
direct_client.c
direct_dll.c
export_dynamic_warning.d
export_dynamic_warning.s strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
exports.d
exports.s
exports64.d strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
image_size.d
image_size.s
image_size.t
longsecn-1.d 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
longsecn-2.d 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
longsecn-3.d strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
longsecn-4.d strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
longsecn-5.d strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
longsecn.d 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
longsecn.s strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
non-c-lang-syms.d strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
non-c-lang-syms.s strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
orphan.d
orphan_nu.d
orphana.s
orphana_nu.s
orphanb.s
orphand.s
orphane.s
pe-compile.exp strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
pe-run.exp strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
pe-run2.exp
pe.exp
secrel.d 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
secrel1.s
secrel2.s
secrel_64.d
tlssec.s strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
tlssec32.d strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
tlssec64.d strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
vers-script-1.d
vers-script-1.ver strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
vers-script-2.d
vers-script-2.ver strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
vers-script-3.d
vers-script-3.ver strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
vers-script-4.d
vers-script-4.ver strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00
vers-script-dll.c strip off +x bits on non-executable/script files 2013-12-07 02:03:03 -05:00