Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2012-10-27 23:41:18 +0400
committerAnthony Green <green@moxielogic.com>2012-10-27 23:41:18 +0400
commita910b33ad253f541c3b08d8118cab4f53562ace7 (patch)
treedbc5c7cb5fb55db701fbb894ee917113b4d07726
parentffa2dd6787abb5393f9b77c0fcaa6b690a45d907 (diff)
Minor debugging aid for the moxie port.
-rw-r--r--libgloss/ChangeLog5
-rw-r--r--libgloss/moxie/sim-time.c2
-rw-r--r--libgloss/moxie/sim-unlink.S2
3 files changed, 7 insertions, 2 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 9ea622f58..d8201cdc9 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,5 +1,10 @@
2012-10-27 Anthony Green <green@moxielogic.com>
+ * moxie/sim-unlink.S (unlink): Loop forever.
+ moxie/sim-time.S (_sim_time): Ditto.
+
+2012-10-27 Anthony Green <green@moxielogic.com>
+
* moxie/crt0.S (_start): Call memset with correct
ABI.
diff --git a/libgloss/moxie/sim-time.c b/libgloss/moxie/sim-time.c
index 4b1667b8a..3e9fafb4b 100644
--- a/libgloss/moxie/sim-time.c
+++ b/libgloss/moxie/sim-time.c
@@ -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");
diff --git a/libgloss/moxie/sim-unlink.S b/libgloss/moxie/sim-unlink.S
index 48aaa8265..87ae90fad 100644
--- a/libgloss/moxie/sim-unlink.S
+++ b/libgloss/moxie/sim-unlink.S
@@ -22,7 +22,7 @@
.text
_unlink:
unlink:
- bad
+ jmpa unlink
ret
.Lend:
.size _unlink,.Lend-_unlink