summaryrefslogtreecommitdiffstats
path: root/libc/misc
Commit message (Collapse)AuthorAgeFilesLines
...
* Correct _getdents[64] and __syscall_ipcPeter S. Mazinger2005-11-032-3/+3
|
* Enable IMAPeter S. Mazinger2005-11-038-15/+20
|
* Only because of multi sources I had to touch up these and add code duplicationPeter S. Mazinger2005-11-019-19/+76
|
* Remove last unused references to libc-a-pic-, we use only the lists in ↵Peter S. Mazinger2005-11-0123-26/+0
| | | | libc-a-y for objects that go into static libs, changing their suffix to .os, of they should be PIC
* change .os back to .oS per psmMike Frysinger2005-11-011-1/+1
|
* produce a .os instead of .oSMike Frysinger2005-10-311-1/+1
|
* Hopefully correct undefined __libc_stack_end issuePeter S. Mazinger2005-10-293-7/+10
|
* Replace all Makefiles for new build infrastucturePeter S. Mazinger2005-10-2926-1109/+208
|
* typo s/notdir/dir/Peter S. Mazinger2005-10-281-1/+1
|
* Correct building locales and backport the changesPeter S. Mazinger2005-10-282-7/+6
|
* Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵Peter S. Mazinger2005-10-273-49/+26
| | | | to _dl_setup_stack_chk_guard, as in glibc. SSP requires now binutils-2.16.1 and newer. Add NOT_IN_libc/IS_IN_libc. Began using -DSHARED in uClibc_main.c, there are more candidates in there. Move back dl_protect_relro to it's earlier place.
* All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵Peter S. Mazinger2005-10-2526-0/+955
| | | | archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.
* Make use of fcntl64 syscall if possiblePeter S. Mazinger2005-10-251-0/+2
|
* More IMA compilingPeter S. Mazinger2005-10-211-4/+4
|
* Kill warning if IMA compiledPeter S. Mazinger2005-10-211-0/+2
|
* Remove /dev/erandom support, as [h]lfs does not use it in this form.Peter S. Mazinger2005-10-121-27/+2
|
* Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger2005-10-1226-272/+218
| | | | objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
* Allow building uClibc w/ make-3.79.1 if SSP is disabledPeter S. Mazinger2005-10-111-0/+2
|
* User strong_alias instead of initializing __guard separatelyPeter S. Mazinger2005-10-081-4/+2
|
* Clean up pthread include mess. Some of these will be needed to support NPTL, ↵"Steven J. Hill"2005-10-043-11/+9
| | | | but they do no harm for the linuxthreads case. Yes, I tested this.
* Enable attribute_relro on __guard and __stack_chk_guard now that ld.so ↵Peter S. Mazinger2005-10-031-2/+2
| | | | supports it
* Change the order in which '__uClibc_init' is called. In the case of NPTL, ↵"Steven J. Hill"2005-10-011-4/+5
| | | | some auxillary TLS set up has to happen beforehand. This has been tested for almost two months now and I am tired of chasing it around in my merges. Look in the NPTL trunk if you want more information.
* Add gcc-4.1 non-TLS __stack_chk_guard support. Run the guard setup only once.Peter S. Mazinger2005-10-011-17/+23
|
* Do not build __uClibc_main.o with ssp enabledPeter S. Mazinger2005-09-231-0/+2
|
* New ssp code using syscalls where possible.Peter S. Mazinger2005-09-231-6/+63
| | | | | Moved guard_setup to __uClibc_main.c, the only place where it is called. Removed SIGKILL option, not usable with sigaction.
* weaks moved after the related function so gcc4 won't warnPeter S. Mazinger2005-09-223-27/+27
|
* correct some typosPeter S. Mazinger2005-09-211-5/+5
|
* punt _DL_FINI_CRT_COMPAT option now that 0.9.28 has been releasedMike Frysinger2005-09-081-20/+0
|
* Fix by Martin Schlemmer:Mike Frysinger2005-09-081-0/+10
| | | | | | | | If _DL_FINI_CRT_COMPAT is defined, _dl_fini is setup to run at exit via atexit(), but this makes it run _before_ the fini (__app_fini()) of the app, causing stuff like sandbox that frees structs, etc via its fini to segfault. http://bugs.gentoo.org/98187
* anemo writes in Bug 9: use ElfW(auxv_t) instead of Elf32_auxv_tMike Frysinger2005-08-291-3/+4
|
* Frank Mehnert writes:Mike Frysinger2005-08-261-1/+1
| | | | | | libc/misc/time/time.c does not compile if __UCLIBC_HAS_TZ_FILE__ is disabled but __UCLIBC_HAS_TZ_CACHING__ is enabled. The following patch fixes this issue.
* per suggestion by psm, remove the variable DYNAMIC_LINKEREric Andersen2005-08-131-1/+1
|
* Fix string.h. Change our _susv3_strerror_r to __xpg_strerror_r for glibcManuel Novoa III2005-07-281-1/+1
| | | | | compatibility. Also change _glibc_strerror_r to __glibc_strerror_r for consistency.
* Fix 2 bugs in strftime related to glibc struct tm extensions.Manuel Novoa III2005-07-251-1/+24
| | | | | | | | | 1) Need to negate tm_gmtoff field value when used. (bug 336). 2) Deal with NULL ptr case for tm_zone field, which was causing segfaults in both the NIST/PCTS tests and the Python 2.4.1 self-test suite. NOTE: We set uninitialized timezone names to "???", and this differs (intentionally) from glibc's behavior.
* import fix from glibc to resolve segfault reported by wmq in Bug 335Mike Frysinger2005-07-121-1/+1
|
* punt unused __pthread_return_void funcMike Frysinger2005-07-091-6/+0
|
* Add __libc_stack_end to libc.Joakim Tjernlund2005-06-293-7/+8
|
* previous commit of trimming __IPC_64 wasnt quite correct ... rework __IPC_64 ↵Mike Frysinger2005-06-292-10/+18
| | | | so that it will compile and it is correct
* always define __IPC_64 regardless of __NR_ipcMike Frysinger2005-06-291-2/+2
|
* tweak to get rid of warning when TZ is disabledMike Frysinger2005-06-291-0/+2
|
* remove __IPC_64 in syscall() macro since real 64bit arches dont need it (and ↵Mike Frysinger2005-06-272-2/+2
| | | | it doesnt compile)
* Add Peter Mazinger fini/crt compat patch. Select DL_FINI_CRT_COMPAT toJoakim Tjernlund2005-05-281-1/+11
| | | | | | | | be able to run apps built with 0.9.27. This also renames __uClibc_start_main to __uClibc_main. This compat option should be removed some time after 0.9.28 is released. Let me know if you don't like this change.
* This commit breaks the entire world (yet again). Calculate theEric Andersen2005-05-261-11/+13
| | | | | | | position of envp in C code based on argv and argp. No need to caclulate that in asm for N arches. This way, we better match what glibc does. All arches will need to be fixed to match up with this change.
* Adapt startup code in x86 and PPC to almost match glibc. _init vs. ↵Joakim Tjernlund2005-05-251-3/+4
| | | | | | __libc_csu_init and _fini vs. __libc_csu_fini remains to do.
* Pass main function ptr from crt1 to __uClibc_start_main.Joakim Tjernlund2005-05-211-20/+3
| | | | | | | | Kill old crt0/__uClibc_main. This breaks ABI. All apps and toolchain needs to be recompiled. All archs except x86 are now broken and need to be fixed as x86. PPC will be fixed shortly by me, the rest is left to the arch maintainers.
* Change strptime so that it only modifies struct tm fields specified.Manuel Novoa III2005-05-101-1/+3
|
* Added support for clock_getres() and clock_settime() in addition toPeter Kjellerstedt2005-04-282-41/+1
| | | | | | | the already existing clock_gettime(). In addition they will now use the corresponding system calls if they exists, which resulted in a move to libc/sysdeps/linux/common for clock_gettime.c (it was previously located in libc/misc/time).
* Fix bug 222: Move all archs to newer __IPC_64 interface for {msg,sem,shm}ctlJoakim Tjernlund2005-04-244-6/+8
| | | | syscalls. This won't work on 2.2 kernels(I think).
* In Bug 116, dicksnippe writes:Mike Frysinger2005-04-161-3/+32
| | | | | | | | | | uClibc's mkstemp/mktemp tries to read /dev/urandom (or /dev/random) to generate random contents for the .XXXXXX part of its argument. In a chrooted environment /dev/[u]random might not be available. Thus the mkstemp call fails. Add back in the braindamaged gettimeofday/getpid code, but only as a fallback for when reading /dev/[u]random fail for whatever reasons.
* cbachman writes Bug 195:Mike Frysinger2005-04-161-0/+4
| | | | | | | | Add back in the code which sets the default facility if none specified. This may cause issues with klogd when it tries to use the libc's syslog(), but klogd comes with its own syslog() implementation so that's a none issue. For more info, please see the following: http://sources.redhat.com/ml/libc-alpha/2000-03/msg00059.html