summaryrefslogtreecommitdiff
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
commit1070371d9be224dedc6b8a65804e300ceb4367b8 (patch)
tree38fe451b75560f85c725229d1e12dca591648ad0
parentb39d9819d6902e23554d2b13a240f90369fe5c8a (diff)
downloadgdb-1070371d9be224dedc6b8a65804e300ceb4367b8.tar.gz
* gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
Cygwin native.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.asm/asm-source.exp3
2 files changed, 8 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 8106815c8ca..d5260e5d5c6 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-20 Corinna Vinschen <vinschen@redhat.com>
+
+ * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
+ Cygwin native.
+
2003-03-17 Andrew Cagney <cagney@redhat.com>
From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
diff --git a/gdb/testsuite/gdb.asm/asm-source.exp b/gdb/testsuite/gdb.asm/asm-source.exp
index a42c61a575a..74c9cecc047 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