summaryrefslogtreecommitdiff
path: root/libc/sysdeps
AgeCommit message (Collapse)Author
2001-04-25As pointed out by Michiel Thuys <michiel.thuys@intersil.com>, this wasEric Andersen
checking sizeof which was pure bloat and in many cases wrong. -Erik
2001-04-24These are needed for arm ld.so support (not at all working yet...)Eric Andersen
-Erik
2001-04-23Always use __NR_<name>, not SYS_<name>Eric Andersen
-Erik
2001-04-20Nobody should be using the SYS_ syscall names. Use the __NR_<foo>Eric Andersen
names instead. -Erik
2001-04-19Bring sh and i386 longjmp implementations into syncEric Andersen
2001-04-19Add missing alias siglongjmp = longjmp;Eric Andersen
-Erik
2001-04-19Remove all the __THROW macrosEric Andersen
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2001-04-05Get the full set of module creating syscalls in place.Eric Andersen
-Erik
2001-04-05Add in delete_moduleEric Andersen
-Erik
2001-03-30It seems ARM 2.4.x kernels do not have iopl. Also add missingEric Andersen
bits/sem.h for ARM so everything now compiles and runs. -Erik
2001-03-20Fix longjmp on i386. Also adds siglongjmp.Manuel Novoa III
2001-03-19Move the dirent stuff. I suppose it is system dependant, but thenEric Andersen
it really should be grouped together too. And it needed to be grouped more then it needed to be in sysdeps/linux/common
2001-03-19Sync with glibc i386 bits.Eric Andersen
2001-03-19Sync i386 up with _all_ the glibc 2.1.3 include/bits headers,Eric Andersen
since we will end up needing a few more of them anyways, and all the other arches have the full set anyways. -Erik
2001-03-19Fix up breakage resulting from flipping the sense of some defines. Change fromEric Andersen
defining things to "0" in the disabled case to outright undefining them, lest code that does an "#ifdef FOO" get inadvertantly triggered. Remove now unneeded lines from Rules.mak which makes the command line smaller and avoids redundancy (since this stuff is now pulled in via features.h). -Erik
2001-03-16Add powerpc port done by David Schleef <ds@schleef.org>Eric Andersen
2001-03-06Move fork to common/syscalls (with NO_MMU check). Add Makefile to sparc soManuel Novoa III
make clean works.
2001-03-06Fix unified syscall stuff for changed ?stat. Move fork to syscalls.c wrappedManuel Novoa III
with a check for NO_MMU of course.
2001-03-06I just grabbed the bits dir from glibc 2.1.3 on a sparc boxEric Andersen
to facilitate the sparc porting work being done by Mathew Bosworth. -Erik
2001-03-05stat and mknod cleanup, take two. Put all the needed junk into syscalls.cEric Andersen
for clarity. -Erik
2001-03-05Fix up some long standing iterative symbol usage problem, noticed today byEric Andersen
Michael Shmulevich, which was caused by the grafting in of GNU libc header files. -Erik
2001-03-05Patch from Michael Shmulevich (michaels@jungo.com) -- functions were notManuel Novoa III
declared type function.
2001-03-04Fixed vfork on i386. Reduced size of __uClibc_syscall.Manuel Novoa III
2001-02-26New crt0.S with all init done in 'C' code.David McCullough
Added in support for C++ contructor/destructor tables.
2001-02-26Reduced the size of sigsets to the minimal needed. Apart from the size,David McCullough
it has the added advantage of giving the C++ build of m68k-elf-gcc a clean bill of health.
2001-02-23Update arm for the new way of entering main. BTW, I can now run things on armEric Andersen
as a shared library, using the glibc shared lib loader. :-) I've updated the pic case but havn't tested it yet. -Erik
2001-02-23Let system dependant things override common things.Eric Andersen
2001-02-22Patch from Jean-Yves Avenard to add missing siglongjmp entry andEric Andersen
fix a bug in setjmp for SH
2001-02-21Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - EmbeddedEric Andersen
and Personal Systems. Thanks! -Erik
2001-02-19Remove redundant old isatty.c since newer termios supplies one.Manuel Novoa III
2001-02-19Create __uClibc_main to handle what can be done in C instead of each arch'sManuel Novoa III
respective crt0.S. crt0.S should now only be responsible for setting things up to call __uClibc_main(argc, argv, envp), which will do any other necessary setup (setting global __environ, stdio init, etc), call main, and exit. This should ease both maintainance and porting.
2001-02-19Revert to standard handling of _exit syscall in unified syscall case on i386.Manuel Novoa III
2001-02-15Add bdflush.Manuel Novoa III
2001-02-09Add #define to handle new ptrace support.Manuel Novoa III
2001-02-09Implement getdtablesize(), which is used by the rpc crap.Eric Andersen
-Erik
2001-02-09Revert stdio to initializing itself. Not quite a pretty but that ensures thatEric Andersen
we don't blow up by using too much stack space, and simplifies the job of supporting new architectures, since they don't have to mess with calling foo init functions in crt0 and cleaning up the resulting damage. -Erik
2001-02-09Doh! I forgot a #ifdef such that ptrace ended up in each and everyEric Andersen
syscall .o file. -Erik
2001-02-09It turns out that vfork was completely broken. That was why itEric Andersen
wouldn't run on my little arm7tdmi/uClinux boards, since without vfork working, nothing works on uClinux. It took me forever to find this, since other problems were hiding this one. Big, huge, sigh of relief. -Erik
2001-02-09Include ptrace support so debugging will hopefully work.Eric Andersen
-Erik
2001-02-07_void_void_null_func never returned. I noticed this yesterdayEric Andersen
in crt0.S and Michiel Thuys <michiel.thuys@intersil.com> noticed the same thing in crt0pic.S. -Erik
2001-01-29uClinux 2.0 doesn't have the poll system call, just check for theDavid McCullough
definition before using it.
2001-01-29ptrace for m68k debugging.David McCullough
2001-01-29uClibc working with 2.0.x and 2.4.x m68k uClinux kernels, the PICDavid McCullough
stuff in crt0.S may not be quite right yet.
2001-01-25Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.aManuel Novoa III
objects with shared uClibc; allow disabling long long support.
2001-01-25Don't trash regs r0-r2, fix thanks to Michiel Thuys ↵Eric Andersen
<michiel.thuys@intersil.com>.
2001-01-17Hopefully fix the size/type errors when doing a shared lib.Manuel Novoa III
2001-01-17Minor comment updateEric Andersen
2001-01-17Now works on StrongArm (using crt0.S) and arm7tdmi/uClinux withEric Andersen
the arm-pic-elf compiler (using crt0pic.S). -Erik
2001-01-17Added #include <wait.h> for getrusage.Manuel Novoa III