summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-02-18rewrite all superh targets to just shMike Frysinger
2007-02-18rewrite all sparc targets to just sparcMike Frysinger
2007-02-18rewrite parisc to hppaMike Frysinger
2007-02-17Make _dl_malloc alignment arch configurable.Joakim Tjernlund
From Atsushi Nemoto.
2007-02-16make sure static variables are re-initialized everytimeMike Frysinger
2007-02-16cleanup a littleMike Frysinger
2007-02-16Fix dlopen for static apps.Joakim Tjernlund
From Carmelo Amoroso.
2007-02-15Atsushi Nemoto writes:Mike Frysinger
When I imported INLINE_SYSCALL, etc. from glibc, I just copied whole macros for each ABI. Actually, except for argument type (long vs. long long), internal_syscall[0-4] are identical for all ABI, and internal_syscall[5-6] for N32/N64 are identical for N32/N64. And I just disabled FORCE_FRAME_POINTER since it had caused build failure, but including <alloca.h> can solve it. Here is a patch to handle these issues, plus asm/__asm__ and volatile/__volatile__ conversion. Thanks for Peter S. Mazinger who did basic work of this cleanup.
2007-02-15- kbuild update broke uClibc's configuration. It complains aboutBernhard Reutner-Fischer
include/bits/uClibc_config.h since there is no include/bits (yet). Depend on it.
2007-02-14Revert previous commit as it is unclear if it is needed.Joakim Tjernlund
2007-02-14Hopefully fix the earlier broken if [ -n $(HEADERS_BITS_SUBARCH) ]Joakim Tjernlund
test by adding quotes. From Steve Papacharalambous.
2007-02-14make arch default to hostarchMike Frysinger
2007-02-14pull latest kconfig from kernelMike Frysinger
2007-02-14make sure we declare TARGET_ARCH as a stringMike Frysinger
2007-02-13add silentoldconfig targetMike Frysinger
2007-02-13cleanup styleMike Frysinger
2007-02-13Add missing bits/fenv.h that got lost in the e500 port.Joakim Tjernlund
clean up E500 math support somewhat. From Steve Papacharalambous with mods by me.
2007-02-13Do not produce spurious "/bin/sh: [: too many arguments" ifPeter Kjellerstedt
$(HEADERS_BITS_SUBARCH) is empty (which it most likely is).
2007-02-13use /*...*/ comments rather than #... so we can preprocessMike Frysinger
2007-02-12Impl. linux syscalls sched_getaffinity/sched_setaffinity butJoakim Tjernlund
protect its use by #ifdef INTERNAL_SYSCALL since not all arch's has INTERNAL_SYSCALL. All arch's not having INTERNAL_SYSCALL in libc/sysdeps/linux/<arch>/bits/syscalls.h should get an update from glibc.
2007-02-12Updates from glibc.Joakim Tjernlund
2007-02-12Rehash the PowerPC e500 port to avoid creating symlinks Joakim Tjernlund
in the powerpc arch code and make more code common with classic PowerPC. From Steve Papacharalambous Lets hope I didn't break something.
2007-02-12Atsushi Nemoto writes:Mike Frysinger
Current ucontext_t does not match with kernel's definition. Also, on N32 ABI, we can not use kernel's struct sigcontext since kernel's sizeof(long) and user's sizeof(long) is differ. For both data structure, just importing header files from recent glibc fixes the mismatch. So here is a patch importing sys/ucontext.h and bits/sigcontext.t from glibc-2.5.
2007-02-12Removed a .align 2 by mistake in previous commit.Joakim Tjernlund
2007-02-12Remove #APP/#NO_APP since -std=gnu99 will makeJoakim Tjernlund
gcc barf otherwise.
2007-02-11Atsushi Nemoto writes:Mike Frysinger
This patch imports INLINE_SYSCALL, etc. from glibc-2.5 ports and implements _syscall[0-7] by using them, like arm and powerpc. I think this patch does not change functionality, but gives better __SYSCALL_CLOBBERS for N32/N64.
2007-02-10we dont actually need asm/page.hMike Frysinger
2007-02-09Kay McCormick reports: when evp is NULL, it is reset too late and so can ↵Mike Frysinger
cause a crash when it is dereferenced
2007-02-09run through LindentMike Frysinger
2007-02-09Atsushi Nemoto writes: Add st_[amc]timensec to N32/N64 version of stat, add ↵Mike Frysinger
st_[amc]time_nsec to each kernel_stat, and define STAT_HAVE_NSEC to convert them
2007-02-08enable -std=gnu99 by default nowMike Frysinger
2007-02-08use __FDPIC__ from the compiler rather than setting our ownMike Frysinger
2007-02-08revert 17821, wait for better test casesEric Andersen
2007-02-08do not use ghbn_buf after it goes out of scopeEric Andersen
2007-02-08import a slightly modified realpath() test case from glibcMike Frysinger
2007-02-08Miguel Angel Alvarez writes:Eric Andersen
Hi. I have found a bug in realpath that did not allow me to use it with symlinks. Although I am using 0.9.28.1, the bug is present in 0.9.28 and also in the trunk. I attach a suggested patch. Please let me know if the solution is correct.
2007-02-08handle file_name==NULL and file_name=="" as required by POSIXMike Frysinger
2007-02-08revert previous change; reading POSIX spec some more says we need to set ↵Mike Frysinger
errno to EINVAL if filename is NULL
2007-02-08we crash if the first argument to realpath() is non-null as well so lets ↵Mike Frysinger
mark both arguments as being non-NULL
2007-02-08Paul Brook writes:Mike Frysinger
I'm seeing a hang in applications that open and close files with a non-threaded uClibc. There is code in fclose() to remove a file handle from _stdio_openlist however it's commented out, allegedly because it is dead. _stdio_openlist is used in several places, including _stdio_term when a program exits. fclose() frees the struct, so I don't see how the code can possibly be redundant. In the __UCLIBC_HAS_THREADS__ && __STDIO_BUFFERS case the file is removed from _stdio_openlist by __STDIO_OPENLIST_DEC_USE. The attached patch fixes this bug be re-enabling the code.
2007-02-08pull in features.h so we have access to config definesMike Frysinger
2007-02-07sh crti.S needs features.h to resolve __HAVE_SHARED__, trivial patchPaul Mundt
from Carmelo Amoroso <carmelo73@gmail.com>.
2007-02-05no need to duplicate WCHAR checkMike Frysinger
2007-02-05- silence warning about using an undefined tokenBernhard Reutner-Fischer
2007-02-05- silence warning about using an undefined tokenBernhard Reutner-Fischer
2007-02-05new cheesy test by Denis Vlasenko to trigger fclose loopMike Frysinger
2007-02-04Add support for PowerPC e500, libc part only.Joakim Tjernlund
Math support to be done. From Steve Papacharalambous, stevep@freescale.com
2007-02-04fixup includes so we compile againMike Frysinger
2007-02-04the sun rpc code has too many alias violations to worry over now; just ↵Mike Frysinger
disable strict-aliasing until someone gets the balls to clean this stuff up
2007-02-04fix compiling and touchup styleMike Frysinger