* gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 20 Mar 2003 12:57:48 +0000 (12:57 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 20 Mar 2003 12:57:48 +0000 (12:57 +0000)
Cygwin native.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.asm/asm-source.exp

index 8106815c8ca7529221cbf7357eaa05f6383b2c01..d5260e5d5c6549e46ca0a3241136ef47fe77b3bd 100644 (file)
@@ -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
index a42c61a575aa293e1d2c4368c217bf18f6943154..74c9cecc047081b4ed0fee2c381642b5a4a2a262 100644 (file)
@@ -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