This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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] {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]