aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-alpha/alpha.exp
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2011-04-12 23:23:02 +0000
committerRichard Henderson <rth@redhat.com>2011-04-12 23:23:02 +0000
commit6452a567da6f4098a453410c6f21f63ad87af265 (patch)
treecdf152d401511f6e9f27d951fbbdaa4046f8db92 /ld/testsuite/ld-alpha/alpha.exp
parent88597d3422353743f77a4f4de1f3e790cb9f1645 (diff)
downloadgdb-6452a567da6f4098a453410c6f21f63ad87af265.zip
gdb-6452a567da6f4098a453410c6f21f63ad87af265.tar.gz
gdb-6452a567da6f4098a453410c6f21f63ad87af265.tar.bz2
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Do not
exclude empty .got sections.
Diffstat (limited to 'ld/testsuite/ld-alpha/alpha.exp')
-rw-r--r--ld/testsuite/ld-alpha/alpha.exp11
1 files changed, 8 insertions, 3 deletions
diff --git a/ld/testsuite/ld-alpha/alpha.exp b/ld/testsuite/ld-alpha/alpha.exp
index dce2f45..ed95d88 100644
--- a/ld/testsuite/ld-alpha/alpha.exp
+++ b/ld/testsuite/ld-alpha/alpha.exp
@@ -41,19 +41,24 @@ set alphatests {
"" {align.s tlspic1.s tlspic2.s}
{{readelf -WSsrl tlspic.rd} {objdump -drj.text tlspic.dd}
{objdump -sj.got tlspic.sd} {objdump -sj.tdata tlspic.td}}
- "libtlspic.so"}
+ "libtlspic.so"}
{"Helper shared library" "-shared -melf64alpha"
"" {tlslib.s} {} "libtlslib.so"}
{"TLS -fpic and -fno-pic exec"
"-melf64alpha tmpdir/libtlslib.so" "" {align.s tlsbinpic.s tlsbin.s}
{{readelf -WSsrl tlsbin.rd} {objdump -drj.text tlsbin.dd}
{objdump -sj.got tlsbin.sd} {objdump -sj.tdata tlsbin.td}}
- "tlsbin"}
+ "tlsbin"}
{"TLS -fpic and -fno-pic exec -relax"
"-relax -melf64alpha tmpdir/libtlslib.so" "" {align.s tlsbinpic.s tlsbin.s}
{{readelf -WSsrl tlsbinr.rd} {objdump -drj.text tlsbinr.dd}
{objdump -sj.got tlsbinr.sd}}
- "tlsbinr"}
+ "tlsbinr"}
+ {"empty got"
+ "-melf64alpha" ""
+ {emptygot.s}
+ {{nm "-n" emptygot.nm}}
+ "emptygot"}
}
# Not implemented yet