aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-04-08 17:45:33 +0100
committerNick Clifton <nickc@redhat.com>2014-04-08 17:45:33 +0100
commit6c1799adabb2391ac088828501135cd0dd11b2da (patch)
tree1cd0d61642da44ed57d9f20e966b0de2de8c7f48 /ld/scripttempl
parent61e2488cd8497d158303a78563ad40f51f5c3f8e (diff)
downloadgdb-6c1799adabb2391ac088828501135cd0dd11b2da.zip
gdb-6c1799adabb2391ac088828501135cd0dd11b2da.tar.gz
gdb-6c1799adabb2391ac088828501135cd0dd11b2da.tar.bz2
This patch removes the inclusion of the default manifest in final links for
the Cygwin and MinGW targets. The manifest is now going to be handled by gcc. * scripttempl/pe.sc (R_RSRC): Remove default manifest. * scripttempl/pep.sc (R_RSRC): Remove default manifest.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/pe.sc20
-rw-r--r--ld/scripttempl/pep.sc20
2 files changed, 6 insertions, 34 deletions
diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc
index e9e5f64..579c0c8 100644
--- a/ld/scripttempl/pe.sc
+++ b/ld/scripttempl/pe.sc
@@ -44,23 +44,9 @@ if test "${RELOCATING}"; then
*(.tls$)
*(SORT(.tls$*))
*(.tls$ZZZ)'
- if test -z "$DEFAULT_MANIFEST"; then
- R_RSRC='
- *(.rsrc)
- *(.rsrc$*)'
- else
- R_RSRC="
- /* The default manifest contains information necessary for
- binaries to run under Windows 8 (or later). It is included as
- the last resource file so that if the application has provided
- its own manifest then that one will take precedence.
-
- Note - the .rsrc section merging code relies upon the fact
- that the input .rsrc sections are *not* sorted. */
- *(EXCLUDE_FILE (*$DEFAULT_MANIFEST) .rsrc)
- *(.rsrc*)
- KEEP ($DEFAULT_MANIFEST(.rsrc))"
- fi
+ R_RSRC='
+ *(.rsrc)
+ *(.rsrc$*)'
else
R_TEXT=
R_DATA=
diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc
index 5f97d31..a71dd21 100644
--- a/ld/scripttempl/pep.sc
+++ b/ld/scripttempl/pep.sc
@@ -44,23 +44,9 @@ if test "${RELOCATING}"; then
*(.tls$)
*(SORT(.tls$*))
*(.tls$ZZZ)'
- if test -z "$DEFAULT_MANIFEST"; then
- R_RSRC='
- *(.rsrc)
- *(.rsrc$*)'
- else
- R_RSRC="
- /* The default manifest contains information necessary for
- binaries to run under Windows 8 (or later). It is included as
- the last resource file so that if the application has provided
- its own manifest then that one will take precedence.
-
- Note - the .rsrc section merging code relies upon the fact
- that the input .rsrc sections are *not* sorted. */
- *(EXCLUDE_FILE (*$DEFAULT_MANIFEST) .rsrc)
- *(.rsrc*)
- KEEP ($DEFAULT_MANIFEST(.rsrc))"
- fi
+ R_RSRC='
+ *(.rsrc)
+ *(.rsrc$*)'
else
R_TEXT=
R_DATA=