aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.am
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-03-19 08:51:20 +0000
committerNick Clifton <nickc@redhat.com>2014-03-19 08:51:20 +0000
commit1d63324c56f29034782396ce7f25c09edd0cdc6e (patch)
tree586816f37f7e0ab39b228af4006804e408bf824f /ld/Makefile.am
parent0172b6a7deca953ff33b4458da2f4e666bee7e51 (diff)
downloadgdb-1d63324c56f29034782396ce7f25c09edd0cdc6e.zip
gdb-1d63324c56f29034782396ce7f25c09edd0cdc6e.tar.gz
gdb-1d63324c56f29034782396ce7f25c09edd0cdc6e.tar.bz2
Improve .rsrc section merging with better handling of the alignment adjustments
made between merged .rsrc sections. * peXXigen.c (rsrc_align): New function. Attempts to cope with alignment variances when .rsrc sections are merged. (rsrc_process_section): Use rsrc_align. * Makefile.am (default-manifest.o): Use WINDRES_FOR_TARGET. * Makefile.in: Regenerate. * emultempl/default-manifest.rc: Fix typo. * scripttempl/pe.sc (R_RSRC): Fix default-manifest exclusion. (.rsrc): Add SUBALIGN(4). * scripttempl/pep.sc: Likewise.
Diffstat (limited to 'ld/Makefile.am')
-rw-r--r--ld/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am
index e89a6c1..795663f 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -1927,7 +1927,7 @@ eshlelf64_nbsd.c: $(srcdir)/emulparams/shlelf64_nbsd.sh \
# Rule to create a manifest file for Cygwin and Mingw.
default-manifest.o: $(srcdir)/emultempl/default-manifest.rc
- ${WINDRES} -o $@ $<
+ ${WINDRES_FOR_TARGET} -o $@ $<
# We need this for automake to use YLWRAP.
EXTRA_ld_new_SOURCES = deffilep.y ldlex.l