From eeaa4577b615ac4de9de9a76eec630de1566eb33 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 5 Feb 2013 21:47:32 +0000 Subject: [PATCH] Revert 2013-02-04, 2013-01-22 and 2013-01-21 changes. --- ld/ChangeLog | 12 +++++++++++ ld/NEWS | 2 -- ld/emultempl/alphaelf.em | 2 +- ld/emultempl/cr16elf.em | 2 +- ld/emultempl/crxelf.em | 2 +- ld/emultempl/elf32.em | 45 ++------------------------------------- ld/emultempl/hppaelf.em | 2 +- ld/emultempl/ia64elf.em | 6 +++--- ld/emultempl/mipself.em | 2 +- ld/testsuite/ChangeLog | 12 +++++++++++ ld/testsuite/ld-elf/new-dtags-1.d | 9 -------- ld/testsuite/ld-elf/new-dtags-2.d | 8 ------- ld/testsuite/ld-elf/new-dtags-3.d | 9 -------- ld/testsuite/ld-elf/new-dtags-4.d | 8 ------- ld/testsuite/ld-elf/new-dtags-5.d | 9 -------- ld/testsuite/ld-elf/new-dtags-6.d | 8 ------- ld/testsuite/ld-elf/new-dtags-7.d | 9 -------- ld/testsuite/ld-elf/new-dtags-8.d | 8 ------- 18 files changed, 34 insertions(+), 121 deletions(-) delete mode 100644 ld/testsuite/ld-elf/new-dtags-1.d delete mode 100644 ld/testsuite/ld-elf/new-dtags-2.d delete mode 100644 ld/testsuite/ld-elf/new-dtags-3.d delete mode 100644 ld/testsuite/ld-elf/new-dtags-4.d delete mode 100644 ld/testsuite/ld-elf/new-dtags-5.d delete mode 100644 ld/testsuite/ld-elf/new-dtags-6.d delete mode 100644 ld/testsuite/ld-elf/new-dtags-7.d delete mode 100644 ld/testsuite/ld-elf/new-dtags-8.d diff --git a/ld/ChangeLog b/ld/ChangeLog index 0a08753..cbd2316 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 dbc3cee..09c56ef 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 d44de52..21064ad 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 0cf5e39..f76b95e 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 ae12f5e..c6d5a8d 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 482e9ca..e2f2a1a 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 918a326..0000000 --- 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 17be86d..0000000 --- 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 4d06639..0000000 --- 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 0df8af6..0000000 --- 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 eb1a587..0000000 --- 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 e2734e7..0000000 --- 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 fa98065..0000000 --- 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 421063d..0000000 --- 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 -- 2.7.4