summaryrefslogtreecommitdiff
path: root/libc/sysdeps
AgeCommit message (Collapse)Author
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-05-11Bring powerpc back into line so it compiles again.Eric Andersen
2001-05-11Fix 'make clean' targetEric Andersen
2001-05-08Quick fix to setjmp/longjmp/sigsetjmp etc to make them work.David McCullough
This should really be fixed to fall into line with the other archs.
2001-05-07Change FILENAME_MAX to be only 255. Max filename on ext2 is 255,Eric Andersen
so there is no reason to allocate 4k. Change working of execvep.c per patch from Matthias Kilian <kili@outback.escape.de> so that there is not a fixed 127 byte buffer. Too easy to overflow... -Erik
2001-05-04This patch allows powerpc to compile again. It also checks if weEric Andersen
are compiling for an arch for which uClibc has an ld.so or not, and otherwise sets things up to use the system ld.so. -Erik
2001-05-04Initial sparc port, thanks to Mathew Bosworth <mbosworth@metaflow.com>,Eric Andersen
who sent this to me a month ago and I forgot to check it in. Oops. Better late then never. -Erik
2001-04-28Fix up a commentEric Andersen
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.