aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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