summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* cleanup a littleMike Frysinger2007-02-161-6/+2
|
* Fix dlopen for static apps.Joakim Tjernlund2007-02-161-2/+12
| | | | From Carmelo Amoroso.
* Atsushi Nemoto writes:Mike Frysinger2007-02-151-348/+65
| | | | | | | | | | | | | | | 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.
* - kbuild update broke uClibc's configuration. It complains aboutBernhard Reutner-Fischer2007-02-151-10/+13
| | | | include/bits/uClibc_config.h since there is no include/bits (yet). Depend on it.
* Revert previous commit as it is unclear if it is needed.Joakim Tjernlund2007-02-141-5/+3
|
* Hopefully fix the earlier broken if [ -n $(HEADERS_BITS_SUBARCH) ]Joakim Tjernlund2007-02-141-3/+5
| | | | test by adding quotes. From Steve Papacharalambous.
* make arch default to hostarchMike Frysinger2007-02-1425-1/+27
|
* pull latest kconfig from kernelMike Frysinger2007-02-1442-5237/+10252
|
* make sure we declare TARGET_ARCH as a stringMike Frysinger2007-02-1423-0/+23
|
* add silentoldconfig targetMike Frysinger2007-02-131-1/+4
|
* cleanup styleMike Frysinger2007-02-131-9/+6
|
* Add missing bits/fenv.h that got lost in the e500 port.Joakim Tjernlund2007-02-135-19/+171
| | | | | clean up E500 math support somewhat. From Steve Papacharalambous with mods by me.
* Do not produce spurious "/bin/sh: [: too many arguments" ifPeter Kjellerstedt2007-02-131-5/+3
| | | | $(HEADERS_BITS_SUBARCH) is empty (which it most likely is).
* use /*...*/ comments rather than #... so we can preprocessMike Frysinger2007-02-131-16/+16
|
* Impl. linux syscalls sched_getaffinity/sched_setaffinity butJoakim Tjernlund2007-02-123-1/+131
| | | | | | | | | 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.
* Updates from glibc.Joakim Tjernlund2007-02-121-28/+183
|
* Rehash the PowerPC e500 port to avoid creating symlinks Joakim Tjernlund2007-02-1223-759/+560
| | | | | | | in the powerpc arch code and make more code common with classic PowerPC. From Steve Papacharalambous Lets hope I didn't break something.
* Atsushi Nemoto writes:Mike Frysinger2007-02-122-121/+164
| | | | | | | | | | 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.
* Removed a .align 2 by mistake in previous commit.Joakim Tjernlund2007-02-121-0/+2
|
* Remove #APP/#NO_APP since -std=gnu99 will makeJoakim Tjernlund2007-02-122-18/+2
| | | | gcc barf otherwise.
* Atsushi Nemoto writes:Mike Frysinger2007-02-111-266/+583
| | | | | | | | 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.
* we dont actually need asm/page.hMike Frysinger2007-02-101-3/+0
|
* Kay McCormick reports: when evp is NULL, it is reset too late and so can ↵Mike Frysinger2007-02-091-15/+14
| | | | cause a crash when it is dereferenced
* run through LindentMike Frysinger2007-02-0912-119/+123
|
* Atsushi Nemoto writes: Add st_[amc]timensec to N32/N64 version of stat, add ↵Mike Frysinger2007-02-092-21/+23
| | | | st_[amc]time_nsec to each kernel_stat, and define STAT_HAVE_NSEC to convert them
* enable -std=gnu99 by default nowMike Frysinger2007-02-081-2/+1
|
* use __FDPIC__ from the compiler rather than setting our ownMike Frysinger2007-02-081-11/+3
|
* revert 17821, wait for better test casesEric Andersen2007-02-081-1/+1
|
* do not use ghbn_buf after it goes out of scopeEric Andersen2007-02-081-10/+9
|
* import a slightly modified realpath() test case from glibcMike Frysinger2007-02-081-0/+254
|
* Miguel Angel Alvarez writes:Eric Andersen2007-02-081-1/+1
| | | | | | | | | 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.
* handle file_name==NULL and file_name=="" as required by POSIXMike Frysinger2007-02-081-0/+8
|
* revert previous change; reading POSIX spec some more says we need to set ↵Mike Frysinger2007-02-081-1/+1
| | | | errno to EINVAL if filename is NULL
* we crash if the first argument to realpath() is non-null as well so lets ↵Mike Frysinger2007-02-081-1/+1
| | | | mark both arguments as being non-NULL
* Paul Brook writes:Mike Frysinger2007-02-081-29/+24
| | | | | | | | | | | | | | 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.
* pull in features.h so we have access to config definesMike Frysinger2007-02-082-0/+4
|
* sh crti.S needs features.h to resolve __HAVE_SHARED__, trivial patchPaul Mundt2007-02-071-0/+2
| | | | | from Carmelo Amoroso <carmelo73@gmail.com>.
* no need to duplicate WCHAR checkMike Frysinger2007-02-051-1/+1
|
* - silence warning about using an undefined tokenBernhard Reutner-Fischer2007-02-052-3/+3
|
* - silence warning about using an undefined tokenBernhard Reutner-Fischer2007-02-051-1/+1
|
* new cheesy test by Denis Vlasenko to trigger fclose loopMike Frysinger2007-02-051-0/+21
|
* Add support for PowerPC e500, libc part only.Joakim Tjernlund2007-02-0421-1/+612
| | | | | Math support to be done. From Steve Papacharalambous, stevep@freescale.com
* fixup includes so we compile againMike Frysinger2007-02-042-6/+4
|
* the sun rpc code has too many alias violations to worry over now; just ↵Mike Frysinger2007-02-041-0/+2
| | | | disable strict-aliasing until someone gets the balls to clean this stuff up
* fix compiling and touchup styleMike Frysinger2007-02-041-14/+16
|
* sync some stuff from glibc to fix test build failureMike Frysinger2007-02-041-6/+7
|
* Make sure struct stat is identical to struct stat64 ifPeter Kjellerstedt2007-02-021-2/+4
| | | | | | __USE_FILE_OFFSET64 is defined. This was the case for all architectures except those that use packed structures by default (i.e., CRIS).
* use sane line breaksEric Andersen2007-02-021-1/+2
|
* replace bits/syscalls.h with a comment ... an empty file makes people think ↵Mike Frysinger2007-02-021-2/+1
| | | | this is a bug rather than by design
* Ronald Maeder writes:Eric Andersen2007-02-023-11/+53
| | | | | | I have successfully made gethostbyname_r(), res_init(), and gethostid() fully reentrant. In addition, I have added a NULL check to inet_aton(). This is where SEG FAULTs were coming from when gethostbyname_r() was called.