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]

[PATCH] sim: Fix mips testsuite entry point


Hello All,

the appended patch adds __start as a second entry point name,
since that's the usual entry point name found on mips-linux.


Thiemo


2006-08-08  Chris Dearman  <chris@mips.com>

	* testutils.inc (setup): __start is also a valid start symbol.


Index: sim/testsuite/sim/mips/testutils.inc
===================================================================
RCS file: /cvs/src/src/sim/testsuite/sim/mips/testutils.inc,v
retrieving revision 1.1
diff -u -p -r1.1 testutils.inc
--- sim/testsuite/sim/mips/testutils.inc	26 Jan 2004 08:12:44 -0000	1.1
+++ sim/testsuite/sim/mips/testutils.inc	8 Aug 2006 12:17:43 -0000
@@ -47,8 +47,10 @@
 	.macro setup
 
 	.global _start
+	.global __start
 	.ent _start
 _start:
+__start:
 	.set push
 	.set noreorder
 	j	DIAG


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