aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/pe.exp
diff options
context:
space:
mode:
authorDave Korn <dave.korn@artimi.com>2009-05-17 05:10:21 +0000
committerDave Korn <dave.korn@artimi.com>2009-05-17 05:10:21 +0000
commit177b81d66a6cf42aaa2b15ccc499bb7b292c3955 (patch)
tree1736415f33049710f5257069456ed6050febb979 /ld/testsuite/ld-pe/pe.exp
parent6ec72856884353055e9397fef5ac77b7aac37f99 (diff)
downloadgdb-177b81d66a6cf42aaa2b15ccc499bb7b292c3955.zip
gdb-177b81d66a6cf42aaa2b15ccc499bb7b292c3955.tar.gz
gdb-177b81d66a6cf42aaa2b15ccc499bb7b292c3955.tar.bz2
Committed on behalf of
2008-08-07 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com> ld/ChangeLog: * pe-dll.c (process_def_file): Do not create empty export table. ld/testsuite/ChangeLog: * ld-pe/exports.d: New file. * ld-pe/exports.s: New file. * ld-pe/pe.exp: New test for empty export table.
Diffstat (limited to 'ld/testsuite/ld-pe/pe.exp')
-rw-r--r--ld/testsuite/ld-pe/pe.exp8
1 files changed, 7 insertions, 1 deletions
diff --git a/ld/testsuite/ld-pe/pe.exp b/ld/testsuite/ld-pe/pe.exp
index 3cff6b4..ad91f06 100644
--- a/ld/testsuite/ld-pe/pe.exp
+++ b/ld/testsuite/ld-pe/pe.exp
@@ -35,17 +35,23 @@ if {[istarget i*86-*-cygwin*]
if {[istarget x86_64-*-mingw*] } {
set pe_tests {
{".secrel32" "" "" {secrel1.s secrel2.s}
- {{objdump -s secrel_64.d}} "secrel.x"}
+ {{objdump -s secrel_64.d}} "secrel.x"}
+ {"Empty export table" "" "" "exports.s"
+ {{objdump -p exports64.d}} "exports.dll"}
}
} elseif {[istarget i*86-*-cygwin*] } {
set pe_tests {
{".secrel32" "--disable-auto-import" "" {secrel1.s secrel2.s}
{{objdump -s secrel.d}} "secrel.x"}
+ {"Empty export table" "" "" "exports.s"
+ {{objdump -p exports.d}} "exports.dll"}
}
} else {
set pe_tests {
{".secrel32" "" "" {secrel1.s secrel2.s}
{{objdump -s secrel.d}} "secrel.x"}
+ {"Empty export table" "" "" "exports.s"
+ {{objdump -p exports.d}} "exports.dll"}
}
}