From: Corinna Vinschen Date: Thu, 20 Mar 2003 12:57:48 +0000 (+0000) Subject: * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a955b5bb6399e4e55a5f556d8fcc709e12e5b798;p=binutils-gdb.git * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for Cygwin native. --- 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 + + * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for + Cygwin native. + 2003-03-17 Andrew Cagney From Elena Zannoni . 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