aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.asm
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-03-20 12:57:48 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-03-20 12:57:48 +0000
commita955b5bb6399e4e55a5f556d8fcc709e12e5b798 (patch)
tree17007e11dd55cb2dd308cff9249632c2ce5615bc /gdb/testsuite/gdb.asm
parentdd97b6fd7d75446065fed64193ce5118cf740c44 (diff)
downloadgdb-a955b5bb6399e4e55a5f556d8fcc709e12e5b798.zip
gdb-a955b5bb6399e4e55a5f556d8fcc709e12e5b798.tar.gz
gdb-a955b5bb6399e4e55a5f556d8fcc709e12e5b798.tar.bz2
* gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
Cygwin native.
Diffstat (limited to 'gdb/testsuite/gdb.asm')
-rw-r--r--gdb/testsuite/gdb.asm/asm-source.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp
index a42c61a..74c9cec 100644
--- a/gdb/testsuite/gdb.asm/asm-source.exp
+++ b/gdb/testsuite/gdb.asm/asm-source.exp
@@ -53,6 +53,9 @@ if [istarget "x86_64-*-*"] then {
}
if [istarget "i\[3456\]86-*-*"] then {
set asm-arch i386
+ if [istarget "*-*-cygwin*"] then {
+ set link-flags "--entry _start"
+ }
}
if [istarget "m32r*-*"] then {
set asm-arch m32r