This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 5063daf7357ccdc2c9e899ca0421c2e8e580c88d
- From: nickc at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 27 Feb 2014 14:18:16 -0000
- Subject: gdb and binutils branch master updated. 5063daf7357ccdc2c9e899ca0421c2e8e580c88d
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 5063daf7357ccdc2c9e899ca0421c2e8e580c88d (commit)
from db434ba03edb5491d48415069d6116b5037e6fa1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=5063daf7357ccdc2c9e899ca0421c2e8e580c88d
commit 5063daf7357ccdc2c9e899ca0421c2e8e580c88d
Author: Nick Clifton <nickc@redhat.com>
Date: Thu Feb 27 14:09:29 2014 +0000
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.
-----------------------------------------------------------------------
Summary of changes:
ld/ChangeLog | 22 ++++++++++++++++++++++
ld/Makefile.am | 16 +++++++++++++---
ld/Makefile.in | 17 ++++++++++++++---
ld/configure | 18 ++++++++++++++++--
ld/configure.in | 13 +++++++++++++
ld/configure.tgt | 12 ++++++++++--
ld/emulparams/i386pe.sh | 1 +
ld/emulparams/i386pep.sh | 1 +
ld/emultempl/default-manifest.rc | 28 ++++++++++++++++++++++++++++
ld/ld.texinfo | 9 +++++++++
ld/scripttempl/pe.sc | 34 +++++++++++++++++++++++-----------
ld/scripttempl/pep.sc | 34 +++++++++++++++++++++++-----------
ld/testsuite/ChangeLog | 7 +++++++
ld/testsuite/ld-pe/longsecn-1.d | 2 +-
ld/testsuite/ld-pe/longsecn-2.d | 1 +
ld/testsuite/ld-pe/longsecn.d | 2 +-
ld/testsuite/ld-pe/secrel.d | 1 +
17 files changed, 184 insertions(+), 34 deletions(-)
create mode 100644 ld/emultempl/default-manifest.rc
hooks/post-receive
--
gdb and binutils