summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixup ioctl so we can special case powerpc sillinessEric Andersen2003-02-183-21/+30
|
* Using -g when doing the initfini compilation breaks the SH4 case prettyDavid McCullough2003-02-171-0/+5
| | | | | badly. I have removed -g for all platforms as I suspect no one wants it for the initfini creation process.
* Add missing ';'s so powerpc will compileEric Andersen2003-02-151-2/+2
|
* Fix a _ton_ of system call user type/kernel type translationEric Andersen2003-02-153-109/+301
| | | | | problems, causing user space to get scrambled hosed up results. -Erik
* We need to have the size of struct dirent equal to the size of struct dirent64Eric Andersen2003-02-103-18/+12
| | | | | | | so when _FILE_OFFSET_BITS=64 (such that we transparently change 32bit into 64 bit interfaces), we will not lose an unsigned char from d_name which silently becomes the d_type field instead. oops. -Erik
* Fixup compile on 2.2.x kernels when UCLIBC_HAS_LFS is enabledEric Andersen2003-02-032-11/+29
|
* Use correct names for dummy crti.o/crtn.o files.Miles Bader2003-01-301-2/+2
|
* Create stub crti.o and crtn.o files when UCLIBC_CTOR_DTOR is disabledEric Andersen2003-01-291-2/+9
| | | | -Erik
* Fix scandir64 to not free the wrong pieces of memory (which couldEric Andersen2003-01-284-13/+211
| | | | | | | | and did cause segfaults) by adjusting the working scandir.c to the the 64 thing. Fix up potential for mismatches between the libc and kernel dirent structures, which could also cause ugly problems. -Erik
* Patch from Stefan Allius to fix the build whenEric Andersen2003-01-282-0/+4
| | | | large file support is disabled
* Finish up fixing stat and setting various system types.Eric Andersen2003-01-243-54/+11
|
* I thought it would be smaller to inline since these funcs are small.Eric Andersen2003-01-244-10/+51
| | | | | Well, not inlining saves 300 bytes, so do that instead. -Erik
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-244-50/+275
| | | | | | | | | | | | | | | type of 'struct stat' and 'struct stat64' so they use consistant types. This change is the result of a bug I found while trying to use GNU tar. The problem was caused by our using kernel types within struct stat and trying to directly compare these values with standard types. Trying an 'if (a < b)' when 'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results then when comparing entities of the same type (i.e. time_t values).... Grumble. Nasty stuff, but I'm glad I got this out of the way now. As a result of this fix, uClibc 0.9.17 will not be binary compatible with earlier releases. I have always warned people this can and will happen. -Erik
* Update architecture specific support to consistantlyEric Andersen2003-01-231-6/+1
| | | | | | generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
* Update ignore listEric Andersen2003-01-231-1/+1
|
* Cleanup makefiles and make clean a bitEric Andersen2003-01-231-6/+6
|
* Update sigaction syscall names to act more like glibc. Fix the x86 sigactionEric Andersen2003-01-222-10/+10
| | | | | | implementation such that gdb can actually debug signal handlers. Gdb behaves much better now, for example, on multi-threaded apps. -Erik
* Missed an endifEric Andersen2003-01-221-0/+1
|
* Looks like sigaction on arm needs adjustment, so split this intoEric Andersen2003-01-221-0/+92
| | | | a common header file and a default implementation.
* The big thing is locale dependent collation support.Manuel Novoa III2002-12-201-3/+60
| | | | Also added outdigit support and (legacy) YESSTR/NOSTR support.
* Based on discussions with Stefan Allius, change it so that we alwaysEric Andersen2002-12-121-1/+0
| | | | | | | build a crt0.o and a crt1.o. crt1.o will support ctors and dtors if such support is enabled. One more gratuitous toolchain support issue is thereby removed... -Erik
* Remove trailing comma from enum list as a nicety for older compilers.Manuel Novoa III2002-12-111-1/+1
|
* Fix the other instance of getcwdEric Andersen2002-12-041-18/+21
|
* Properly allocate memory when size is 0, but so is bufEric Andersen2002-12-041-25/+28
|
* Make support for global constructors and global destructors beEric Andersen2002-11-271-6/+9
| | | | | | configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
* Ok... here's the summary:Manuel Novoa III2002-11-222-1/+6
| | | | | | | | | | | | | | Hopefully locale support will build when cross compiling now. Collation is still not supported, but that's what I'm currently working on. In the next couple of days, I'll probably put up a couple of files for download that will save people the trouble of generating all the glibc locales. Added *wprintf functions, although they currently don't support floating point. That will be fixed when I rewrite _dtostr... or possibly before. Added the wcsto{inttype} functions. Added iconv() and a mini iconv utility. The require locale support and only provide for conversions involving the various unicode encodings { UCS-4*, UCS-2*, UTF-32*, UTF-16*, UTF-8 }, the 8-bit codesets built with the locale data, and the internal WCHAR_T.
* Cleanup a few structural wierdnessesEric Andersen2002-11-156-23/+27
|
* Fix it for real this time.Eric Andersen2002-11-152-8/+13
|
* Doh! I screwed that one all up. Lets try that again...Eric Andersen2002-11-152-8/+16
| | | | -Erik
* Minor cleanupEric Andersen2002-11-142-8/+11
| | | | -Erik
* Implement sendfile64Eric Andersen2002-11-142-1/+48
| | | | -Erik
* Patch from Stefan Allius. Include CPU_CFLAGS when compilingEric Andersen2002-11-051-1/+1
| | | | initfini
* Oops. Fix compilation on arm.Eric Andersen2002-11-041-1/+4
| | | | -Erik
* Implement locale-specific grouping in printf for base 10 integer conversionsManuel Novoa III2002-11-031-0/+1
| | | | | when the grouping flag "'" is specified. Grouping for floating point values may wait until I do a rewrite of the floating pt to string code...
* Another update to initfini.awk and initfini.c from Stefan AlliusEric Andersen2002-11-031-0/+19
| | | | | to hopefully address SH wierdness. Now works on other architecture properly as well.
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-3115-48/+48
| | | | | | | | | | | | | | | been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
* Remove my horrible SH hack infavor of this fix for initfini.awk fromEric Andersen2002-10-291-10/+0
| | | | Stefan Allius <allius@atecom.com>, which does a better job.
* Add in a horrible hack that seems necessary for the HitachiEric Andersen2002-10-291-0/+10
| | | | | SH processors to work properly. -Erik
* Overwriting the crt1.o link is fineEric Andersen2002-10-251-1/+1
|
* Be nicer to gcc -- add a link for crt1.oEric Andersen2002-10-251-0/+1
|
* This patch, based on a patch from Stefan Allius, lets us pick anEric Andersen2002-10-181-2/+2
| | | | | | appropriate awk implementation at compile time, so we can again compile on Solaris and whatnot. -Erik
* Patch from Christian MICHON <christian_michon@yahoo.fr> to reimplementEric Andersen2002-10-141-2/+2
| | | | | | my little initfini.pl script in awk. This eliminates uClibc's compile-time dependancy on perl, and lets us use the much lighter weight awk, which facilitates building uClibc standalone environments.
* It turns out that __thread is now a gcc keyword. We used __thread inEric Andersen2002-10-131-1/+1
| | | | | | | | a few spots in our header files. In this change I do a s/__thread/__thread_id/ so we no longer conflict with newer CVS versions of gcc (such as the patched up gcc 3.2 included with RedHat 3.0). -Erik
* Patch from Stefan Allius <allius@atecom.com>:Eric Andersen2002-10-011-2/+2
| | | | | | | | | | | | | | | | | | | ----------------------------------- In extra/Configs/Config.sh I added the INCLUDE_PTHREADS statement and change the default values for BUILD_UCLIBC_LDSO and HAVE_SHARED. ----------------------------------- In extra/scripts/initfini.pl My last patch removes two labels, which migth be used by the .size statements. (Sorry, but I'm a perl beginner) I fixed it. ----------------------------------- In libc/sysdeps/linux/common/initfini.c I fixed two warnings "nested extern declaration of `i_am_not_a_leaf.. ----------------------------------- In libc/sysdeps/linux/sh/__init_brl.c brk.c sbrk.c I fixed some compiler warnings which comes from a wrong inclusion order. -----------------------------------
* Use __UCLIBC_HAVE_LFS__ not __USE_LARGEFILE64 to decide ifEric Andersen2002-09-161-2/+3
| | | | | 64 bit interfaces should be used. -Erik
* Fixed compile bugs having to do with 64-bit filesystem operations that"Steven J. Hill"2002-09-091-0/+9
| | | | need to be disabled when 'DOLFS' is disabled.
* Fixed 'struct ipc_perm' and 'struct msqid_ds' members to allow the Linux"Steven J. Hill"2002-09-042-3/+3
| | | | | | Test Project to compile as well as be consistent with the architecture specific files. Maybe eventually the architecture specific files could be removed all together.
* Add syscalls: modify_ldt _sysctl setresuid getresuid setresgid getresgid"Steven J. Hill"2002-09-041-0/+50
|
* Added function 'get_current_dir_name' for Linux Test Project. Tested and"Steven J. Hill"2002-09-042-1/+46
| | | | works identically to function in glibc.
* If the initfini.pl script changes, regenerate the crt[in].S files.David McCullough2002-08-281-1/+1
|