From: Alan Modra Date: Tue, 5 Feb 2013 21:47:32 +0000 (+0000) Subject: Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eeaa4577b615ac4de9de9a76eec630de1566eb33;p=binutils-gdb.git Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 0a08753383b..cbd23160954 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,15 @@ +2013-02-06 Alan Modra + + PR ld/15096 + * emultempl/elf32.em: Revert 2013-02-04, 2013-01-22 and 2013-01-21. + * emultempl/alphaelf.em: Revert 2013-02-04. + * emultempl/cr16elf.em: Likewise. + * emultempl/crxelf.em: Likewise. + * emultempl/hppaelf.em: Likewise. + * emultempl/ia64elf.em: Likewise. + * emultempl/mipself.em: Likewise. + * NEWS: Revert 2013-01-21. + 2013-02-04 H.J. Lu PR ld/15096 diff --git a/ld/NEWS b/ld/NEWS index dbc3cee6310..09c56ef1fbc 100644 --- a/ld/NEWS +++ b/ld/NEWS @@ -6,8 +6,6 @@ * --enable-new-dtags no longer generates old dtags in addition to new dtags. -* For Linux/GNU targets, new dtags is now the default. - Changes in 2.23: * Enable compressed debug section feature for x86/x86_64 pe-coff. diff --git a/ld/emultempl/alphaelf.em b/ld/emultempl/alphaelf.em index d44de52abd8..21064ad8fb8 100644 --- a/ld/emultempl/alphaelf.em +++ b/ld/emultempl/alphaelf.em @@ -80,7 +80,7 @@ alpha_after_parse (void) exp_nameop (SIZEOF_HEADERS, NULL)), NULL); - gld${EMULATION_NAME}_after_parse (); + after_parse_default (); } static void diff --git a/ld/emultempl/cr16elf.em b/ld/emultempl/cr16elf.em index 0cf5e39840a..f76b95e2dfe 100644 --- a/ld/emultempl/cr16elf.em +++ b/ld/emultempl/cr16elf.em @@ -119,7 +119,7 @@ cr16elf_after_parse (void) is true the link sometimes fails. */ config.magic_demand_paged = FALSE; - gld${EMULATION_NAME}_after_parse (); + after_parse_default (); } /* This is called after the sections have been attached to output diff --git a/ld/emultempl/crxelf.em b/ld/emultempl/crxelf.em index ae12f5ed450..c6d5a8dd646 100644 --- a/ld/emultempl/crxelf.em +++ b/ld/emultempl/crxelf.em @@ -43,7 +43,7 @@ crxelf_after_parse (void) is true the link sometimes fails. */ config.magic_demand_paged = FALSE; - gld${EMULATION_NAME}_after_parse (); + after_parse_default (); } /* This is called after the sections have been attached to output diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 482e9ca918d..e2f2a1ac961 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -63,7 +63,6 @@ fragment < + + PR ld/15096 + * ld-elf/new-dtags-1.d: Delete. + * ld-elf/new-dtags-2.d: Likewise. + * ld-elf/new-dtags-3.d: Likewise. + * ld-elf/new-dtags-4.d: Likewise. + * ld-elf/new-dtags-5.d: Likewise. + * ld-elf/new-dtags-6.d: Likewise. + * ld-elf/new-dtags-7.d: Likewise. + * ld-elf/new-dtags-8.d: Likewise. + 2013-02-04 H.J. Lu PR ld/15096 diff --git a/ld/testsuite/ld-elf/new-dtags-1.d b/ld/testsuite/ld-elf/new-dtags-1.d deleted file mode 100644 index 918a326f04d..00000000000 --- a/ld/testsuite/ld-elf/new-dtags-1.d +++ /dev/null @@ -1,9 +0,0 @@ -#source: start.s -#readelf: -d -W -#ld: -shared -rpath . -#target: *-*-linux* *-*-gnu* - -#failif -#... - +0x[0-9a-f]+ +\(RUNPATH\) +Library runpath: +\[.\] -#... diff --git a/ld/testsuite/ld-elf/new-dtags-2.d b/ld/testsuite/ld-elf/new-dtags-2.d deleted file mode 100644 index 17be86d1462..00000000000 --- a/ld/testsuite/ld-elf/new-dtags-2.d +++ /dev/null @@ -1,8 +0,0 @@ -#source: start.s -#readelf: -d -W -#ld: -shared -rpath . -#target: *-*-linux* *-*-gnu* - -#... - +0x[0-9a-f]+ +\(RPATH\) +Library rpath: +\[.\] -#pass diff --git a/ld/testsuite/ld-elf/new-dtags-3.d b/ld/testsuite/ld-elf/new-dtags-3.d deleted file mode 100644 index 4d06639f837..00000000000 --- a/ld/testsuite/ld-elf/new-dtags-3.d +++ /dev/null @@ -1,9 +0,0 @@ -#source: start.s -#readelf: -d -W -#ld: -shared -rpath . --enable-new-dtags -#target: *-*-linux* *-*-gnu* - -#failif -#... - +0x[0-9a-f]+ +\(RPATH\) +Library rpath: +\[.\] -#... diff --git a/ld/testsuite/ld-elf/new-dtags-4.d b/ld/testsuite/ld-elf/new-dtags-4.d deleted file mode 100644 index 0df8af62eae..00000000000 --- a/ld/testsuite/ld-elf/new-dtags-4.d +++ /dev/null @@ -1,8 +0,0 @@ -#source: start.s -#readelf: -d -W -#ld: -shared -rpath . --enable-new-dtags -#target: *-*-linux* *-*-gnu* - -#... - +0x[0-9a-f]+ +\(RUNPATH\) +Library runpath: +\[.\] -#pass diff --git a/ld/testsuite/ld-elf/new-dtags-5.d b/ld/testsuite/ld-elf/new-dtags-5.d deleted file mode 100644 index eb1a587ca4a..00000000000 --- a/ld/testsuite/ld-elf/new-dtags-5.d +++ /dev/null @@ -1,9 +0,0 @@ -#source: start.s -#readelf: -d -W -#ld: -shared -z now -#target: *-*-linux* *-*-gnu* - -#failif -#... - 0x[0-9a-f]+ +\(BIND_NOW\) + -#... diff --git a/ld/testsuite/ld-elf/new-dtags-6.d b/ld/testsuite/ld-elf/new-dtags-6.d deleted file mode 100644 index e2734e733d3..00000000000 --- a/ld/testsuite/ld-elf/new-dtags-6.d +++ /dev/null @@ -1,8 +0,0 @@ -#source: start.s -#readelf: -d -W -#ld: -shared -z now -#target: *-*-linux* *-*-gnu* - -#... - 0x[0-9a-f]+ +\(FLAGS\) +BIND_NOW -#pass diff --git a/ld/testsuite/ld-elf/new-dtags-7.d b/ld/testsuite/ld-elf/new-dtags-7.d deleted file mode 100644 index fa98065c621..00000000000 --- a/ld/testsuite/ld-elf/new-dtags-7.d +++ /dev/null @@ -1,9 +0,0 @@ -#source: start.s -#readelf: -d -W -#ld: -shared -z now --disable-new-dtags -#target: *-*-linux* *-*-gnu* - -#failif -#... - 0x[0-9a-f]+ +\(FLAGS\) +BIND_NOW -#pass diff --git a/ld/testsuite/ld-elf/new-dtags-8.d b/ld/testsuite/ld-elf/new-dtags-8.d deleted file mode 100644 index 421063d9386..00000000000 --- a/ld/testsuite/ld-elf/new-dtags-8.d +++ /dev/null @@ -1,8 +0,0 @@ -#source: start.s -#readelf: -d -W -#ld: -shared -z now --disable-new-dtags -#target: *-*-linux* *-*-gnu* - -#... - 0x[0-9a-f]+ +\(BIND_NOW\) + -#pass