initial commit of the arm port
authorRich Felker <dalias@aerifal.cx>
Sun, 18 Sep 2011 20:44:54 +0000 (16:44 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 18 Sep 2011 20:44:54 +0000 (16:44 -0400)
commitd960d4f2cbf18ff3476c7ac03698ec253885dd8e
treec7570054ccddf4febc86c046a0b90b3021d1a457
parent4f4bf0ad2e8c729de92db06318b9614ab2cdcc5c
initial commit of the arm port

this port assumes eabi calling conventions, eabi linux syscall
convention, and presence of the kernel helpers at 0xffff0f?0 needed
for threads support. otherwise it makes very few assumptions, and the
code should work even on armv4 without thumb support, as well as on
systems with thumb interworking. the bits headers declare this a
little endian system, but as far as i can tell the code should work
equally well on big endian.

some small details are probably broken; so far, testing has been
limited to qemu/aboriginal linux.
36 files changed:
arch/arm/atomic.h [new file with mode: 0644]
arch/arm/bits/alltypes.h.sh [new file with mode: 0755]
arch/arm/bits/endian.h [new file with mode: 0644]
arch/arm/bits/errno.h [new file with mode: 0644]
arch/arm/bits/fcntl.h [new file with mode: 0644]
arch/arm/bits/fenv.h [new file with mode: 0644]
arch/arm/bits/float.h [new file with mode: 0644]
arch/arm/bits/ioctl.h [new file with mode: 0644]
arch/arm/bits/ipc.h [new file with mode: 0644]
arch/arm/bits/limits.h [new file with mode: 0644]
arch/arm/bits/mman.h [new file with mode: 0644]
arch/arm/bits/msg.h [new file with mode: 0644]
arch/arm/bits/posix.h [new file with mode: 0644]
arch/arm/bits/pthread.h [new file with mode: 0644]
arch/arm/bits/reg.h [new file with mode: 0644]
arch/arm/bits/setjmp.h [new file with mode: 0644]
arch/arm/bits/shm.h [new file with mode: 0644]
arch/arm/bits/signal.h [new file with mode: 0644]
arch/arm/bits/socket.h [new file with mode: 0644]
arch/arm/bits/stat.h [new file with mode: 0644]
arch/arm/bits/statfs.h [new file with mode: 0644]
arch/arm/bits/stdarg.h [new file with mode: 0644]
arch/arm/bits/stdint.h [new file with mode: 0644]
arch/arm/bits/syscall.h [new file with mode: 0644]
arch/arm/bits/termios.h [new file with mode: 0644]
arch/arm/bits/user.h [new file with mode: 0644]
arch/arm/pthread_arch.h [new file with mode: 0644]
crt/arm/crt1.s [new file with mode: 0644]
src/internal/arm/syscall.s [new file with mode: 0644]
src/setjmp/arm/longjmp.s [new file with mode: 0644]
src/setjmp/arm/setjmp.s [new file with mode: 0644]
src/signal/arm/restore.s [new file with mode: 0644]
src/thread/arm/__set_thread_area.s [new file with mode: 0644]
src/thread/arm/__unmapself.s [new file with mode: 0644]
src/thread/arm/clone.s [new file with mode: 0644]
src/thread/arm/syscall_cp.s [new file with mode: 0644]