From f33cfcaa37f068c113af97e9029bf3cdd55f2d56 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 14 Jul 2011 14:51:09 +0000 Subject: Revert the last change. --- ld/testsuite/ChangeLog | 4 ---- ld/testsuite/ld-elf/binutils.exp | 22 ++++++---------------- 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index b0015ab..ee6987fa 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,7 +1,3 @@ -2011-07-14 H.J. Lu - - * ld-elf/binutils.exp: Skip relro tests on ia64. - 2011-07-14 Alan Modra * ld-scripts/section-flags.exp: Pass --local-store 0:0 for diff --git a/ld/testsuite/ld-elf/binutils.exp b/ld/testsuite/ld-elf/binutils.exp index 518a02d..380bd26 100644 --- a/ld/testsuite/ld-elf/binutils.exp +++ b/ld/testsuite/ld-elf/binutils.exp @@ -104,19 +104,11 @@ binutils_test strip "-shared" maxpage1 binutils_test objcopy "" maxpage1 binutils_test objcopy "-shared" maxpage1 -if { [istarget "ia64-*-*"] } { - set relotest no -} else { - set relotest yes -} - -if { $relotest == "yes" } { - binutils_test strip "-z relro" relro1 - binutils_test strip "-z relro -shared" relro1 - binutils_test objcopy "-z relro" relro1 - binutils_test objcopy "-z relro -shared" relro1 -} -if { ([istarget "i?86-*-elf*"] +binutils_test strip "-z relro" relro1 +binutils_test strip "-z relro -shared" relro1 +binutils_test objcopy "-z relro" relro1 +binutils_test objcopy "-z relro -shared" relro1 +if { ([istarget "i?86-*-elf*"] || (([istarget "i?86-*-linux*"] || [istarget "i?86-*-gnu*"]) && ![istarget "*-*-*aout*"] @@ -145,8 +137,6 @@ set tls_opts { foreach testitem $tls_tests { foreach testopt $tls_opts { - if { ($relotest == "yes" || ![regexp "\-z relro" "$testopt"]) } { - binutils_test objcopy $testopt $testitem - } + binutils_test objcopy $testopt $testitem } } -- cgit v1.1