Beginnings of getting user apps to compile against newlib
authorKevin Klues <klueska@cs.berkeley.edu>
Fri, 22 May 2009 22:09:57 +0000 (15:09 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Tue, 26 May 2009 03:37:33 +0000 (20:37 -0700)
commiteef41eced1fd7be60e497d6f38ef9a0e3c39dce2
treebb3a12dc1ef2bb8eccb046c6d6f5f9af551be61b
parent71c750346d3fbfe03281c54016ea63f9d6819e4c
Beginnings of getting user apps to compile against newlib

I've compiled newlib outside of this source tree with the -nostdinc option for linking so that none
of the libraries from my local machine got bundled with it as it was compiled.  It is installed in
the newlib directory along with some files for providing the necessary libc wrappers for our
platform.  The bodies of the functions found in libc_wrappers.c should be filled in to define how
these functions interact with ROS.  Right now, noe of them do the right thing :)  We will fill them
in as we go along...
128 files changed:
GNUmakefile
inc/trap.h
kern/Makefrag
kern/init.c
lib/Makefrag
lib/libmain.c
newlib/Makefrag [new file with mode: 0644]
newlib/include/_ansi.h [new file with mode: 0644]
newlib/include/_syslist.h [new file with mode: 0644]
newlib/include/alloca.h [new file with mode: 0644]
newlib/include/ar.h [new file with mode: 0644]
newlib/include/argz.h [new file with mode: 0644]
newlib/include/assert.h [new file with mode: 0644]
newlib/include/ctype.h [new file with mode: 0644]
newlib/include/dirent.h [new file with mode: 0644]
newlib/include/envlock.h [new file with mode: 0644]
newlib/include/envz.h [new file with mode: 0644]
newlib/include/errno.h [new file with mode: 0644]
newlib/include/fastmath.h [new file with mode: 0644]
newlib/include/fcntl.h [new file with mode: 0644]
newlib/include/fnmatch.h [new file with mode: 0644]
newlib/include/getopt.h [new file with mode: 0644]
newlib/include/glob.h [new file with mode: 0644]
newlib/include/grp.h [new file with mode: 0644]
newlib/include/iconv.h [new file with mode: 0644]
newlib/include/ieeefp.h [new file with mode: 0644]
newlib/include/inttypes.h [new file with mode: 0644]
newlib/include/langinfo.h [new file with mode: 0644]
newlib/include/libgen.h [new file with mode: 0644]
newlib/include/limits.h [new file with mode: 0644]
newlib/include/locale.h [new file with mode: 0644]
newlib/include/machine/_default_types.h [new file with mode: 0644]
newlib/include/machine/_types.h [new file with mode: 0644]
newlib/include/machine/ansi.h [new file with mode: 0644]
newlib/include/machine/endian.h [new file with mode: 0644]
newlib/include/machine/fastmath.h [new file with mode: 0644]
newlib/include/machine/ieeefp.h [new file with mode: 0644]
newlib/include/machine/malloc.h [new file with mode: 0644]
newlib/include/machine/param.h [new file with mode: 0644]
newlib/include/machine/setjmp-dj.h [new file with mode: 0644]
newlib/include/machine/setjmp.h [new file with mode: 0644]
newlib/include/machine/stdlib.h [new file with mode: 0644]
newlib/include/machine/termios.h [new file with mode: 0644]
newlib/include/machine/time.h [new file with mode: 0644]
newlib/include/machine/types.h [new file with mode: 0644]
newlib/include/malloc.h [new file with mode: 0644]
newlib/include/math.h [new file with mode: 0644]
newlib/include/newlib.h [new file with mode: 0644]
newlib/include/paths.h [new file with mode: 0644]
newlib/include/process.h [new file with mode: 0644]
newlib/include/pthread.h [new file with mode: 0644]
newlib/include/pwd.h [new file with mode: 0644]
newlib/include/reent.h [new file with mode: 0644]
newlib/include/regdef.h [new file with mode: 0644]
newlib/include/regex.h [new file with mode: 0644]
newlib/include/sched.h [new file with mode: 0644]
newlib/include/search.h [new file with mode: 0644]
newlib/include/setjmp.h [new file with mode: 0644]
newlib/include/signal.h [new file with mode: 0644]
newlib/include/stdint.h [new file with mode: 0644]
newlib/include/stdio.h [new file with mode: 0644]
newlib/include/stdlib.h [new file with mode: 0644]
newlib/include/string.h [new file with mode: 0644]
newlib/include/sys/_default_fcntl.h [new file with mode: 0644]
newlib/include/sys/_types.h [new file with mode: 0644]
newlib/include/sys/cdefs.h [new file with mode: 0644]
newlib/include/sys/config.h [new file with mode: 0644]
newlib/include/sys/custom_file.h [new file with mode: 0644]
newlib/include/sys/dirent.h [new file with mode: 0644]
newlib/include/sys/errno.h [new file with mode: 0644]
newlib/include/sys/fcntl.h [new file with mode: 0644]
newlib/include/sys/features.h [new file with mode: 0644]
newlib/include/sys/file.h [new file with mode: 0644]
newlib/include/sys/iconvnls.h [new file with mode: 0644]
newlib/include/sys/lock.h [new file with mode: 0644]
newlib/include/sys/param.h [new file with mode: 0644]
newlib/include/sys/queue.h [new file with mode: 0644]
newlib/include/sys/reent.h [new file with mode: 0644]
newlib/include/sys/resource.h [new file with mode: 0644]
newlib/include/sys/sched.h [new file with mode: 0644]
newlib/include/sys/signal.h [new file with mode: 0644]
newlib/include/sys/stat.h [new file with mode: 0644]
newlib/include/sys/stdio.h [new file with mode: 0644]
newlib/include/sys/string.h [new file with mode: 0644]
newlib/include/sys/syslimits.h [new file with mode: 0644]
newlib/include/sys/time.h [new file with mode: 0644]
newlib/include/sys/timeb.h [new file with mode: 0644]
newlib/include/sys/times.h [new file with mode: 0644]
newlib/include/sys/types.h [new file with mode: 0644]
newlib/include/sys/unistd.h [new file with mode: 0644]
newlib/include/sys/utime.h [new file with mode: 0644]
newlib/include/sys/wait.h [new file with mode: 0644]
newlib/include/tar.h [new file with mode: 0644]
newlib/include/termios.h [new file with mode: 0644]
newlib/include/time.h [new file with mode: 0644]
newlib/include/unctrl.h [new file with mode: 0644]
newlib/include/unistd.h [new file with mode: 0644]
newlib/include/utime.h [new file with mode: 0644]
newlib/include/utmp.h [new file with mode: 0644]
newlib/include/wchar.h [new file with mode: 0644]
newlib/include/wctype.h [new file with mode: 0644]
newlib/include/wordexp.h [new file with mode: 0644]
newlib/lib/libc.a [new file with mode: 0644]
newlib/lib/libg.a [new file with mode: 0644]
newlib/lib/libm.a [new file with mode: 0644]
newlib/libc_wrappers.c [new file with mode: 0644]
newlib/libc_wrappers.h [new file with mode: 0644]
user/Makefrag
user/badsegment.c
user/breakpoint.c
user/buggyhello.c
user/divzero.c
user/evilhello.c
user/faultread.c
user/faultreadkernel.c
user/faultwrite.c
user/faultwritekernel.c
user/hello.c
user/measurements.c [new file with mode: 0644]
user/null.c
user/print_tests.c [new file with mode: 0644]
user/softint.c
user/testbss.c
user/testpmap.c
user_newlib/Makefrag [new file with mode: 0644]
user_newlib/hello.c [new file with mode: 0644]
user_newlib/null.c [new file with mode: 0644]
user_newlib/user_newlib.ld [new file with mode: 0644]