This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Avoid compiler fault in asm-source.exp testcase
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 20 Mar 2003 14:00:00 +0100
- Subject: [PATCH] Avoid compiler fault in asm-source.exp testcase
- Reply-to: gdb-patches at sources dot redhat dot com
Hi,
I've checked this in as obvious:
2003-03-20 Corinna Vinschen <vinschen at redhat dot com>
* gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
Cygwin native.
Index: gdb.asm/asm-source.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- gdb.asm/asm-source.exp 20 Jan 2003 15:40:07 -0000 1.28
+++ gdb.asm/asm-source.exp 20 Mar 2003 12:57:48 -0000 1.29
@@ -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
Corinna
--
Corinna Vinschen
Cygwin Developer
Red Hat, Inc.
mailto:vinschen at redhat dot com