This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFC] Use portable linker option in gdb.asm/asm-source.exp
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: gdb-patches at sourceware dot org
- Date: Tue, 2 Aug 2005 23:42:56 +0200 (CEST)
- Subject: [RFC] Use portable linker option in gdb.asm/asm-source.exp
The old a.out linker on OpenBSD/m68k doesn't like --entry. It seems
that the GNU linkers also support -e, so I propose to commit the
attached patch.
If there are no objections I'll commit this in a week or so.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdb.asm/asm-source.exp: Use -e instead of --entry.
Index: gdb.asm/asm-source.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.asm/asm-source.exp,v
retrieving revision 1.56
diff -u -p -r1.56 asm-source.exp
--- gdb.asm/asm-source.exp 29 Apr 2005 14:22:27 -0000 1.56
+++ gdb.asm/asm-source.exp 2 Aug 2005 21:38:58 -0000
@@ -34,7 +34,7 @@ set bug_id 0
set asm-arch ""
set asm-note "empty"
set asm-flags ""
-set link-flags "--entry _start"
+set link-flags "-e _start"
set debug-flags ""
switch -glob -- [istarget] {