summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
AgeCommit message (Collapse)Author
2002-11-15Cleanup a few structural wierdnessesEric Andersen
2002-11-15Fix it for real this time.Eric Andersen
2002-11-15Doh! I screwed that one all up. Lets try that again...Eric Andersen
-Erik
2002-11-14Minor cleanupEric Andersen
-Erik
2002-11-14Implement sendfile64Eric Andersen
-Erik
2002-11-05Patch from Stefan Allius. Include CPU_CFLAGS when compilingEric Andersen
initfini
2002-11-04Oops. Fix compilation on arm.Eric Andersen
-Erik
2002-11-03Implement locale-specific grouping in printf for base 10 integer conversionsManuel Novoa III
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...
2002-11-03Another update to initfini.awk and initfini.c from Stefan AlliusEric Andersen
to hopefully address SH wierdness. Now works on other architecture properly as well.
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
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
2002-10-29Remove my horrible SH hack infavor of this fix for initfini.awk fromEric Andersen
Stefan Allius <allius@atecom.com>, which does a better job.
2002-10-29Add in a horrible hack that seems necessary for the HitachiEric Andersen
SH processors to work properly. -Erik
2002-10-25Overwriting the crt1.o link is fineEric Andersen
2002-10-25Be nicer to gcc -- add a link for crt1.oEric Andersen
2002-10-18This patch, based on a patch from Stefan Allius, lets us pick anEric Andersen
appropriate awk implementation at compile time, so we can again compile on Solaris and whatnot. -Erik
2002-10-14Patch from Christian MICHON <christian_michon@yahoo.fr> to reimplementEric Andersen
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.
2002-10-13It turns out that __thread is now a gcc keyword. We used __thread inEric Andersen
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
2002-10-01Patch from Stefan Allius <allius@atecom.com>:Eric Andersen
----------------------------------- 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. -----------------------------------
2002-09-16Use __UCLIBC_HAVE_LFS__ not __USE_LARGEFILE64 to decide ifEric Andersen
64 bit interfaces should be used. -Erik
2002-09-09Fixed compile bugs having to do with 64-bit filesystem operations that"Steven J. Hill"
need to be disabled when 'DOLFS' is disabled.
2002-09-04Fixed 'struct ipc_perm' and 'struct msqid_ds' members to allow the Linux"Steven J. Hill"
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.
2002-09-04Add syscalls: modify_ldt _sysctl setresuid getresuid setresgid getresgid"Steven J. Hill"
2002-09-04Added function 'get_current_dir_name' for Linux Test Project. Tested and"Steven J. Hill"
works identically to function in glibc.
2002-08-28If the initfini.pl script changes, regenerate the crt[in].S files.David McCullough
2002-08-28Fix broken getpriority syscall, per email from Marshall M. MiddenEric Andersen
-Erik
2002-08-26Make bits/kernel_types.h include guard names match the includeEric Andersen
guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
2002-08-25Use the kernel version of struct msqid_ds directly, since we don'tEric Andersen
do any of that silly translating... -Erik
2002-08-25Finish off the bits/kernel_stat.h cleanup for properEric Andersen
__USE_FILE_OFFSET64 handling. -Erik
2002-08-25Make shm stuff work properly.Eric Andersen
-Erik
2002-08-24Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III
i386. This is for Erik to look at wrt the other archs.
2002-08-24Avoid `ECANCELED' redefined on mipsEric Andersen
-Erik
2002-08-24Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen
header, which is not directly usable for many architectures. -Erik
2002-08-23Split out the definition of struct stat into the new archEric Andersen
specific bits/kernel_stat.h file. -Erik
2002-08-23Split out the arch dependant errno_values.h junk into arch dependant files.Eric Andersen
-Erik
2002-08-23(initfini.s): Search the uClibc include dir, so we can find <features.h>.Miles Bader
2002-08-22Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen
-Erik
2002-08-22Rework errno handling to be kernel header freeEric Andersen
-Erik
2002-08-22Hide .hidden stuff unless explicitly enabledEric Andersen
-Erik
2002-08-21Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen
we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
2002-08-19Eliminate wrapping of struct stat and use the kernel versionEric Andersen
directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
2002-08-19Work from Stefan Allius which allows superH to use the commonEric Andersen
method for building crti.o and crtn.o
2002-08-18Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen
need to translate these entities... -Erik
2002-08-16whitespaceMiles Bader
2002-08-16(errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.Miles Bader
(__set_errno): Just assign to `errno' (which will be expanded to the thread-friendly version when appropriate).
2002-08-16Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen
-Erik
2002-08-12Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III
needlessly. To do so increases the generated code size with bcc. Eliminate duplicate define warnings in wstring.c. Fix potentially broken preprocessor comparisons. The preprocessor converts integers to maximal signed type, so inequality comparisons involving UINTMAX_MAX, ULLONG_MAX, and (if no long long) ULONG_MAX were potentially broken.
2002-08-09Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough
using a 3.0.4 version of the sh-linux-gcc compiler.
2002-08-09pread and pwrite were broken in several ways:David McCullough
* pwrite was using the write system call. * SYSCALL_INLINE was only defined for pread and reused by pwrite meaning pwrite did a pread :-). * The kernel pread/pwrite interfaces always take a 64bit value. So the libc versions must do the LONG_LONG_PAIR stuff otherwise the pread/pwrite calls will not work. These guys are working now for SH at least (and I can format my DiskOnChip again ;-)
2002-08-09At some stage I was getting conflicts on the SH platform withDavid McCullough
the two i_am_not_a_leaf functions, changing the name of one is harmless and fixed the problem at the time. Not entirely sure it's still required.
2002-07-31Patch from Martin Proulx <mproulx@okiok.com> to fix i960Eric Andersen
create_module() support.