aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/pe.exp
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-12-21 15:24:39 +0000
committerKai Tietz <kai.tietz@onevision.com>2010-12-21 15:24:39 +0000
commitc91a930cb775123c1dcdfc3f9366bd3e21d2c5e5 (patch)
treed4b8ecf89c97bda2e1002e5c0c88ac04e9171be4 /ld/testsuite/ld-pe/pe.exp
parent43fbacdedceefe629062965ffb17f3539a17dca0 (diff)
downloadgdb-c91a930cb775123c1dcdfc3f9366bd3e21d2c5e5.zip
gdb-c91a930cb775123c1dcdfc3f9366bd3e21d2c5e5.tar.gz
gdb-c91a930cb775123c1dcdfc3f9366bd3e21d2c5e5.tar.bz2
2010-12-21 Kai Tietz <kai.tietz@onevision.com>
* peXXigen.c (_bfd_XXi_final_link_postscript): Use bfd_get_symbol_leading_char to determine "_tls_used" name. 2010-12-21 Kai Tietz <kai.tietz@onevision.com> * ld-pe/pe.exp: Add TLS directory test. * ld-pe/tlssec.s: New. * ld-pe/tlssec64.d: New. * ld-pe/tlssec32.d: New.
Diffstat (limited to 'ld/testsuite/ld-pe/pe.exp')
-rw-r--r--ld/testsuite/ld-pe/pe.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/testsuite/ld-pe/pe.exp b/ld/testsuite/ld-pe/pe.exp
index dd4b9f7..183c5c6 100644
--- a/ld/testsuite/ld-pe/pe.exp
+++ b/ld/testsuite/ld-pe/pe.exp
@@ -38,6 +38,8 @@ if {[istarget i*86-*-cygwin*]
{{objdump -s secrel_64.d}} "secrel.x"}
{"Empty export table" "" "" "exports.s"
{{objdump -p exports64.d}} "exports.dll"}
+ {"TLS directory entry" "" "" "tlssec.s"
+ {{objdump -p tlssec64.d}} "tlssec.dll"}
}
} elseif {[istarget i*86-*-cygwin*] } {
set pe_tests {
@@ -45,6 +47,8 @@ if {[istarget i*86-*-cygwin*]
{{objdump -s secrel.d}} "secrel.x"}
{"Empty export table" "" "" "exports.s"
{{objdump -p exports.d}} "exports.dll"}
+ {"TLS directory entry" "" "" "tlssec.s"
+ {{objdump -p tlssec32.d}} "tlssec.dll"}
}
} else {
set pe_tests {
@@ -52,6 +56,8 @@ if {[istarget i*86-*-cygwin*]
{{objdump -s secrel.d}} "secrel.x"}
{"Empty export table" "" "" "exports.s"
{{objdump -p exports.d}} "exports.dll"}
+ {"TLS directory entry" "" "" "tlssec.s"
+ {{objdump -p tlssec32.d}} "tlssec.dll"}
}
}