ld/
authorRoland McGrath <roland@gnu.org>
Tue, 22 Jan 2013 22:07:34 +0000 (22:07 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 22 Jan 2013 22:07:34 +0000 (22:07 +0000)
* emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set
new_dtags to TRUE for *-*-nacl* targets.

ld/ChangeLog
ld/emultempl/elf32.em

index d611f53..682d819 100644 (file)
@@ -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.
index 60611f9..13a1a41 100644 (file)
@@ -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