* gdb.asm/asm-source.exp: Add appropriate --entry linker flag for

Cygwin native.
This commit is contained in:
Corinna Vinschen
2003-03-20 12:57:48 +00:00
parent dd97b6fd7d
commit a955b5bb63
2 changed files with 8 additions and 0 deletions

View 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