Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 30 lines (27 sloc) 0.987 kb
6acf230 PORTING says which files need to be touched to port the diet libc.
fefe authored
1 To port the diet libc to a new architecture, you need to:
2
3 - edit Makefile to detect the architecture
4 - create a directory for the architecture, and put a Makefile.add in
5 it. Look at the other Makefile.adds for guidance.
6 - provide start.S (the start code, look at glibc)
7 - provide unified.S (the unified syscall)
8 - provide syscalls.h (the syscall numbers, from asm/unistd.h)
9 - provide setjmp and longjmp
10 - edit include/setjmp.h
11 - pipe, clone and mmap often need special care
12 - edit include/sys/ioctl.h
13 - edit include/sys/ptrace.h
14 - edit include/asm/sigcontext.h
465da1b add sys/ucontext.h, mention it in PORTING
fefe authored
15 - edit include/sys/ucontext.h
6acf230 PORTING says which files need to be touched to port the diet libc.
fefe authored
16 - edit include/endian.h
17 - edit include/fcntl.h
18 - edit include/sys/mman.h
19 - edit include/sys/shm.h
20 - edit include/sys/stat.h
453e506 lots of warnings removed
fefe authored
21 - edit include/errno.h
6acf230 PORTING says which files need to be touched to port the diet libc.
fefe authored
22 - edit syscalls.h
8f11234 fix signals on Alpha by emulating signal with sigaction.
fefe authored
23 - edit include/termios.h
d5ab3ad small bug and mention diet.c in PORTING
fefe authored
24 - edit diet.c to make it recognize the architecture and add proper
25 CFLAGS
bc7cb3e add syscall() and a few tests
fefe authored
26 - edit libcompat/syscall.S
9ae08c0 some misc build fixes and forgotten files
leitner authored
27 - edit include/fenv.h
6acf230 PORTING says which files need to be touched to port the diet libc.
fefe authored
28
29 (I may have missed a few)
Something went wrong with that request. Please try again.