[Patch, moxie] Minor libgloss tweak
Anthony Green
green@moxielogic.com
Wed Oct 31 18:23:00 GMT 2012
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
More information about the Newlib
mailing list