From f0fe23c2b4f180c3e9d2defb269a78ada01d187f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 22 Jan 2013 22:07:34 +0000 Subject: [PATCH] ld/ * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set new_dtags to TRUE for *-*-nacl* targets. --- ld/ChangeLog | 7 ++++++- ld/emultempl/elf32.em | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index d611f53ee84..682d8198e23 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,4 +1,9 @@ -2012-01-21 Mike Frysinger +2013-01-22 Roland McGrath + + * emultempl/elf32.em (gld${EMULATION_NAME}_before_parse): Set + new_dtags to TRUE for *-*-nacl* targets. + +2013-01-21 Mike Frysinger * 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 60611f9a487..13a1a414fb0 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -13,7 +13,7 @@ fragment < ELF support by Ian Lance Taylor @@ -108,7 +108,7 @@ gld${EMULATION_NAME}_before_parse (void) EOF case ${target} in - *-*-linux-* | *-*-k*bsd*-* | *-*-gnu*) + *-*-linux-* | *-*-k*bsd*-* | *-*-gnu* | *-*-nacl*) fragment <