aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2013-01-22 22:07:34 +0000
committerRoland McGrath <roland@gnu.org>2013-01-22 22:07:34 +0000
commitf0fe23c2b4f180c3e9d2defb269a78ada01d187f (patch)
tree30bc639c78e84611a5dfa26708722ef0c7d9ee1f /ld
parent0928e93dfdc0fac8849999962e2ef69cf638fd9a (diff)
downloadgdb-f0fe23c2b4f180c3e9d2defb269a78ada01d187f.zip
gdb-f0fe23c2b4f180c3e9d2defb269a78ada01d187f.tar.gz
gdb-f0fe23c2b4f180c3e9d2defb269a78ada01d187f.tar.bz2
ld/
* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set new_dtags to TRUE for *-*-nacl* targets.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog7
-rw-r--r--ld/emultempl/elf32.em4
2 files changed, 8 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index d611f53..682d819 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,4 +1,9 @@
-2012-01-21 Mike Frysinger <vapier@gentoo.org>
+2013-01-22 Roland McGrath <mcgrathr@google.com>
+
+ * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
+ new_dtags to TRUE for *-*-nacl* targets.
+
+2013-01-21 Mike Frysinger <vapier@gentoo.org>
* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
link_info.new_dtags to TRUE for linux/gnu targets.
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index 60611f9..13a1a41 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -13,7 +13,7 @@ fragment <<EOF
/* ${ELFSIZE} bit ELF emulation code for ${EMULATION_NAME}
Copyright 1991, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
- 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
+ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
Free Software Foundation, Inc.
Written by Steve Chamberlain <sac@cygnus.com>
ELF support by Ian Lance Taylor <ian@cygnus.com>
@@ -108,7 +108,7 @@ gld${EMULATION_NAME}_before_parse (void)
EOF
case ${target} in
- *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*)
+ *-*-linux-* | *-*-k*bsd*-* | *-*-gnu* | *-*-nacl*)
fragment <<EOF
link_info.new_dtags = TRUE;
EOF