aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-size
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-06-04 14:57:12 +0930
committerAlan Modra <amodra@gmail.com>2020-06-04 16:11:19 +0930
commite2c8dab6ae8654a928ab9364d5090781a4a6f62f (patch)
tree9874a5e68d410fc356b47ef4e1ff4380c66b6ff0 /ld/testsuite/ld-size
parenta0c0ad56704002e6438bdd077378de8d8cc1e1a9 (diff)
downloadgdb-e2c8dab6ae8654a928ab9364d5090781a4a6f62f.zip
gdb-e2c8dab6ae8654a928ab9364d5090781a4a6f62f.tar.gz
gdb-e2c8dab6ae8654a928ab9364d5090781a4a6f62f.tar.bz2
tcl global directive outside proc body does nothing (ld)
* testsuite/config/default.exp: Remove global directive outside proc body. * testsuite/ld-bootstrap/bootstrap.exp: Likewise. * testsuite/ld-elf/compress.exp: Likewise. * testsuite/ld-elf/elf.exp: Likewise. * testsuite/ld-elf/exclude.exp: Likewise. * testsuite/ld-elf/frame.exp: Likewise. * testsuite/ld-elf/indirect.exp: Likewise. * testsuite/ld-elf/linux-x86.exp: Likewise. * testsuite/ld-elf/shared.exp: Likewise. * testsuite/ld-elf/tls.exp: Likewise. * testsuite/ld-elf/tls_common.exp: Likewise. * testsuite/ld-elfcomm/elfcomm.exp: Likewise. * testsuite/ld-elfweak/elfweak.exp: Likewise. * testsuite/ld-frv/fdpic.exp: Likewise. * testsuite/ld-frv/tls.exp: Likewise. * testsuite/ld-gc/gc.exp: Likewise. * testsuite/ld-i386/i386.exp: Likewise. * testsuite/ld-i386/no-plt.exp: Likewise. * testsuite/ld-ifunc/ifunc.exp: Likewise. * testsuite/ld-mips-elf/mips-elf-flags.exp: Likewise. * testsuite/ld-nios2/nios2.exp: Likewise. * testsuite/ld-plugin/lto.exp: Likewise. * testsuite/ld-plugin/plugin.exp: Likewise. * testsuite/ld-powerpc/export-class.exp: Likewise. * testsuite/ld-scripts/align.exp: Likewise. * testsuite/ld-scripts/crossref.exp: Likewise. * testsuite/ld-scripts/defined.exp: Likewise. * testsuite/ld-scripts/overlay-size.exp: Likewise. * testsuite/ld-scripts/provide.exp: Likewise. * testsuite/ld-scripts/weak.exp: Likewise. * testsuite/ld-selective/selective.exp: Likewise. * testsuite/ld-sh/rd-sh.exp: Likewise. * testsuite/ld-size/size.exp: Likewise. * testsuite/ld-srec/srec.exp: Likewise. * testsuite/ld-x86-64/mpx.exp: Likewise. * testsuite/ld-x86-64/no-plt.exp: Likewise. * testsuite/ld-x86-64/x86-64.exp: Likewise.
Diffstat (limited to 'ld/testsuite/ld-size')
-rw-r--r--ld/testsuite/ld-size/size.exp3
1 files changed, 0 insertions, 3 deletions
diff --git a/ld/testsuite/ld-size/size.exp b/ld/testsuite/ld-size/size.exp
index 20ebc01..8a94599 100644
--- a/ld/testsuite/ld-size/size.exp
+++ b/ld/testsuite/ld-size/size.exp
@@ -53,9 +53,6 @@ if { ![check_compiler_available] } {
return
}
-# Add $NOPIE_CFLAGS and $NOPIE_LDFLAGS if non-PIE is required.
-global NOPIE_CFLAGS NOPIE_LDFLAGS
-
run_cc_link_tests [list \
[list \
"Build libsize-1.so" \