[uClibc-cvs] uClibc/libc/sysdeps/linux/h8300 crt0.S,1.6,1.7 setjmp.S,1.1,1.2 vfork.S,1.2,1.3
David McCullough
davidm at uclibc.org
Tue Apr 29 14:46:35 UTC 2003
Update of /var/cvs/uClibc/libc/sysdeps/linux/h8300
In directory winder:/tmp/cvs-serv7690/libc/sysdeps/linux/h8300
Modified Files:
crt0.S setjmp.S vfork.S
Log Message:
Some small fixups for the h8 support and add the h8s platform support.
Index: crt0.S
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/h8300/crt0.S,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- crt0.S 23 Jan 2003 17:55:19 -0000 1.6
+++ crt0.S 29 Apr 2003 14:46:31 -0000 1.7
@@ -24,7 +24,11 @@
.global atexit
.global main
+#ifdef __H8300S__
+ .h8300s
+#else
.h8300h
+#endif
.text
_start: /* put here so that references to _start work with elf-PIC */
Index: setjmp.S
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/h8300/setjmp.S,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- setjmp.S 2 Feb 2002 19:03:56 -0000 1.1
+++ setjmp.S 29 Apr 2003 14:46:31 -0000 1.2
@@ -1,10 +1,16 @@
-.h8300h
-.text
+#ifdef __H8300S__
+ .h8300s
+#else
+ .h8300h
+#endif
+ .text
.global __setjmp
-.global _longjmp
+.global ___sigsetjmp
+.global ___longjmp
__setjmp:
+___sigsetjmp:
add.l #20,er0
mov.l er6, at er0
mov.l er5, at -er0
@@ -18,7 +24,7 @@
sub.l er0,er0
rts
-_longjmp:
+___longjmp:
mov.l er1,er1
bne 1f
sub.l er1,er1
Index: vfork.S
===================================================================
RCS file: /var/cvs/uClibc/libc/sysdeps/linux/h8300/vfork.S,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- vfork.S 31 Oct 2002 18:19:57 -0000 1.2
+++ vfork.S 29 Apr 2003 14:46:31 -0000 1.3
@@ -5,7 +5,11 @@
#define __NR_vfork __NR_fork /* uClinux-2.0 only has fork which is vfork */
#endif
+#ifdef __H8300S__
+ .h8300s
+#else
.h8300h
+#endif
.text
.align 2
.globl _errno
More information about the uClibc-cvs
mailing list