mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-10 09:35:24 +08:00
Revert the last change.
This commit is contained in:
ld/testsuite
@ -1,7 +1,3 @@
|
|||||||
2011-07-14 H.J. Lu <hongjiu.lu@intel.com>
|
|
||||||
|
|
||||||
* ld-elf/binutils.exp: Skip relro tests on ia64.
|
|
||||||
|
|
||||||
2011-07-14 Alan Modra <amodra@gmail.com>
|
2011-07-14 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* ld-scripts/section-flags.exp: Pass --local-store 0:0 for
|
* ld-scripts/section-flags.exp: Pass --local-store 0:0 for
|
||||||
|
@ -104,18 +104,10 @@ binutils_test strip "-shared" maxpage1
|
|||||||
binutils_test objcopy "" maxpage1
|
binutils_test objcopy "" maxpage1
|
||||||
binutils_test objcopy "-shared" maxpage1
|
binutils_test objcopy "-shared" maxpage1
|
||||||
|
|
||||||
if { [istarget "ia64-*-*"] } {
|
binutils_test strip "-z relro" relro1
|
||||||
set relotest no
|
binutils_test strip "-z relro -shared" relro1
|
||||||
} else {
|
binutils_test objcopy "-z relro" relro1
|
||||||
set relotest yes
|
binutils_test objcopy "-z relro -shared" relro1
|
||||||
}
|
|
||||||
|
|
||||||
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*"]
|
if { ([istarget "i?86-*-elf*"]
|
||||||
|| (([istarget "i?86-*-linux*"]
|
|| (([istarget "i?86-*-linux*"]
|
||||||
|| [istarget "i?86-*-gnu*"])
|
|| [istarget "i?86-*-gnu*"])
|
||||||
@ -145,8 +137,6 @@ set tls_opts {
|
|||||||
|
|
||||||
foreach testitem $tls_tests {
|
foreach testitem $tls_tests {
|
||||||
foreach testopt $tls_opts {
|
foreach testopt $tls_opts {
|
||||||
if { ($relotest == "yes" || ![regexp "\-z relro" "$testopt"]) } {
|
binutils_test objcopy $testopt $testitem
|
||||||
binutils_test objcopy $testopt $testitem
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user