projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ARM] FDPIC: Update testsuite so that many tests pass with arm*-uclinuxfdpiceabi.
[deliverable/binutils-gdb.git]
/
ld
/
testsuite
/
ld-elf
/
tls.exp
diff --git
a/ld/testsuite/ld-elf/tls.exp
b/ld/testsuite/ld-elf/tls.exp
index dd2407126271acd9824048e6d2d3044077129513..523b84ebb8e0eb84c62118894f4ddeb7adf38700 100644
(file)
--- a/
ld/testsuite/ld-elf/tls.exp
+++ b/
ld/testsuite/ld-elf/tls.exp
@@
-1,5
+1,5
@@
# Expect script for TLS tests.
# Expect script for TLS tests.
-# Copyright (C) 2017 Free Software Foundation, Inc.
+# Copyright (C) 2017
-2018
Free Software Foundation, Inc.
#
# This file is part of the GNU Binutils.
#
#
# This file is part of the GNU Binutils.
#
@@
-22,27
+22,29
@@
# Make sure that binutils can correctly handle TLS.
if { ![istarget *-*-linux*]
# Make sure that binutils can correctly handle TLS.
if { ![istarget *-*-linux*]
+ && ![istarget arm*-*-uclinuxfdpiceabi]
&& ![istarget *-*-nacl*]
&& ![istarget *-*-gnu*] } {
return
}
&& ![istarget *-*-nacl*]
&& ![istarget *-*-gnu*] } {
return
}
-if { [istarget *-*-linux*aout*]
- || [istarget *-*-linux*oldld*] } {
- return
-}
-
# Check to see if the C compiler works.
if { [which $CC] == 0 } {
return
}
# Check to see if the C compiler works.
if { [which $CC] == 0 } {
return
}
+# This target requires extra GAS options when building PIC/PIE code.
+set AFLAGS_PIC ""
+if [istarget "sparc*-*-*"] {
+ append AFLAGS_PIC " -K PIC"
+}
+
run_ld_link_tests [list \
[list \
"Build pr22263-1" \
"-pie -e _start -z text" \
"" \
run_ld_link_tests [list \
[list \
"Build pr22263-1" \
"-pie -e _start -z text" \
"" \
- "" \
+ "
$AFLAGS_PIC
" \
{ pr22263-1a.c pr22263-1b.c } \
{{readelf -r pr22263-1.rd}} \
"pr22263-1" \
{ pr22263-1a.c pr22263-1b.c } \
{{readelf -r pr22263-1.rd}} \
"pr22263-1" \
This page took
0.024113 seconds
and
4
git commands to generate.