This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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, moxie] Minor libgloss tweak


I'm checking in the minor debugging aid for the moxie port...

2012-10-27  Anthony Green  <green@moxielogic.com>

	* moxie/sim-unlink.S (unlink): Loop forever.
	moxie/sim-time.S (_sim_time): Ditto.


Index: libgloss/moxie/sim-time.c
===================================================================
RCS file: /cvs/src/src/libgloss/moxie/sim-time.c,v
retrieving revision 1.1
diff -u -p -u -r1.1 sim-time.c
--- libgloss/moxie/sim-time.c	22 Apr 2009 19:48:07 -0000	1.1
+++ libgloss/moxie/sim-time.c	27 Oct 2012 19:31:37 -0000
@@ -25,7 +25,7 @@ __asm__ ("\
 	.globl	_sim_time\n\
 	.type	_sim_time,@function\n\
 _sim_time:\n\
-	bad\n			\
+        jmpa _sim_time\n\
 	ret\n\
 .Lsim:\n\
 	.size	_sim_time,.Lsim-_sim_time");
Index: libgloss/moxie/sim-unlink.S
===================================================================
RCS file: /cvs/src/src/libgloss/moxie/sim-unlink.S,v
retrieving revision 1.1
diff -u -p -u -r1.1 sim-unlink.S
--- libgloss/moxie/sim-unlink.S	22 Apr 2009 19:48:07 -0000	1.1
+++ libgloss/moxie/sim-unlink.S	27 Oct 2012 19:31:37 -0000
@@ -22,7 +22,7 @@
 	.text
 _unlink:
 unlink:
-	bad
+	jmpa unlink
 	ret
 .Lend:
 	.size	_unlink,.Lend-_unlink


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