summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libgloss/ChangeLog4
-rw-r--r--libgloss/moxie/crt0.S4
2 files changed, 6 insertions, 2 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 1c6bc6b2e..a414afd00 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,7 @@
+2014-12-27 Anthony Green <green@moxielogic.com>
+
+ * moxie/crt0.S (_start): sub.l is now sub.
+
2014-12-15 Stefan Wallentowitz <stefan.wallentowitz@tum.de>
* or1k/Makefile.in: Build and install board libraries
diff --git a/libgloss/moxie/crt0.S b/libgloss/moxie/crt0.S
index 44616a82e..17c6b98ab 100644
--- a/libgloss/moxie/crt0.S
+++ b/libgloss/moxie/crt0.S
@@ -1,6 +1,6 @@
/* crt0.S -- startup file for moxie
*
- * Copyright (c) 2008, 2009 Anthony Green
+ * Copyright (c) 2008, 2009, 2014 Anthony Green
*
* The authors hereby grant permission to use, copy, modify, distribute,
* and license this software and its documentation for any purpose, provided
@@ -26,7 +26,7 @@ _start:
ldi.l $r0, __bss_start__
xor $r1, $r1
ldi.l $r2, __bss_end__
- sub.l $r2, $r0
+ sub $r2, $r0
jsra memset
/* Call _init to invoke static constructors, etc. */