summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add update instructions for x86_64 WRT utmp formatBernhard Reutner-Fischer2009-11-271-0/+12
| | | | | | | | | | | | | | | | Commit 983c4d5188f8a7eb00766e3b3e89b218899a3a08 changed the utmp format on x86_64 hosts to be 32bit compatible. Mention this fact and hint x86_64 users that they will have to wipe their utmp file upon upgrade. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * make x86_64 struct utmp glibc-compatibleDenys Vlasenko2009-11-271-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * try to probe if stat.t_mtim.tv_nsec is availableBernhard Reutner-Fischer2009-11-262-20/+36
| | | | | | | | | | | | Do not treat tv_nsec mismatches as errors on filesystems without support for it. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * correct commentBernhard Reutner-Fischer2009-11-261-3/+1
| | | | | | | | | | | | and disable built-in rules Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * Robustify setting silent modeBernhard Reutner-Fischer2009-11-261-1/+1
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * sync confname, environments with glibcBernhard Reutner-Fischer2009-11-268-19/+1691
| | | | | | | | | | | | | | Plus related synch. Add a testcase for the sysconf variables based on the one from glibc Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * ignore some more testcase binariesBernhard Reutner-Fischer2009-11-251-0/+7
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * call nanosleep directlyBernhard Reutner-Fischer2009-11-252-4/+10
| | | | | | | | | | | | | | usleep is a SUSv3 function. TODO: nanosleep moved from SUSv3 Timers to SUSv4 Base Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * conditional cancellation-point test of usleepBernhard Reutner-Fischer2009-11-251-0/+4
| | | | | | | | | | | | usleep is a SUSv3 function Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * pass more ld flagsBernhard Reutner-Fischer2009-11-251-1/+1
| | | | | | | | | | | | add -z defs,now Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * ether_*() depend on socket or IP supportBernhard Reutner-Fischer2009-11-251-1/+4
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * avoid warning about unused variableBernhard Reutner-Fischer2009-11-251-11/+10
| | | | | | | | | | | | If LDSO_SEARCH_INTERP_PATH is off then ptmp wasn't used. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * in6_{pktinfo,mtuinfo}: provide type if IPV6 is onBernhard Reutner-Fischer2009-11-252-2/+5
| | | | | | | | | | | | Disable some IPv6 header defines if IPv6 is off. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * nommu: use MAP_UNINITIALIZE for mallocsMike Frysinger2009-11-2311-5/+17
| | | | | | | | | | | | | | | | | | Now that the kernel supports MAP_UNINITIALIZE, have the malloc places use it to get real uninitialized memory on no-mmu systems. This avoids a lot of normally useless overhead involved in zeroing out all of the memory (sometimes multiple times). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * bits/mmap.h: unify ala linux asm-generic effortsMike Frysinger2009-11-2320-1786/+19
| | | | | | | | | | | | | | | | | | | | Most ports have the same exact mman bit defines, so let's unify things like the linux kernel has with the asm-generic efforts. A few ports are left behind as they are non-trivial to merge -- the arch maintainers can tackle it if they care. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * futimens: Ducument why we need manual hidden_protoBernhard Reutner-Fischer2009-11-231-1/+6
| | | | | | | | | | | | | | Also, remove unneeded __need_timespec (It cuts off a tiny bit of work for CPP but is of course not strictly needed). Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * ldso: let people disable the implicit path searchMike Frysinger2009-11-222-0/+16
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | PIC fixes for hardenedTimo Teräs2009-11-273-7/+10
| | | | | | | | | | | | Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | define local stack_chk_guard for nptlNatanael Copa2009-11-271-1/+2
| | | | | | | | | | Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | ldso: initialize stack_chk_guard after TLS is initializedNatanael Copa2009-11-271-13/+13
| | | | | | | | | | | | | | | | stack_chk_guard is on thread local storage so we need to init TLS before we can init stack_chk_guard. Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Merge remote branch 'origin/master' into nptl_mergeAustin Foxley2009-11-222-4/+0
|\| | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * Revert "libc: add hidden calls to pthread cleanup funcs"Austin Foxley2009-11-222-4/+0
| | | | | | | | | | | | | | | | This reverts commit e0ac4efbdb498319f03a2a95d75d061ab6c68491. Was causing segfaults on every pthread linked executable Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | sh: Add new optimisation to the SH4 memcpyAustin Foxley2009-11-228-11/+553
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This optimization is based on prefetching and 64bit data transfer via FPU (only for the little endianess) Tests shows that: ---------------------------------------- Memory bandwidth | Gain | sh4-300 | sh4-200 ---------------------------------------- 512 bytes to 16KiB | ~20% | ~25% from 32KiB to 16MiB | ~190% | ~5% ---------------------------------------- Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | Merge remote branch 'origin/master' into nptl_mergeAustin Foxley2009-11-22106-628/+849
|\| | | | | | | | | | | | | | | | | Conflicts: Rules.mak libc/misc/sysvipc/msgq.c test/Rules.mak Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * install_headers.sh: make more user friendlyMike Frysinger2009-11-221-10/+17
| | | | | | | | | | | | | | Make it easier to run this by hand and don't abort when recursive chown and chmod fail as these often aren't due to uClibc settings. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * remove incorrect text from abspath optionMike Frysinger2009-11-221-4/+3
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * install shared libs with +x permsMike Frysinger2009-11-211-3/+3
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * realclean: wipe kconfig objectsBernhard Reutner-Fischer2009-11-203-3/+6
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * silence rule overridingBernhard Reutner-Fischer2009-11-201-2/+2
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * futimens: add functionBernhard Reutner-Fischer2009-11-205-0/+118
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * make test-skeleton C89 compliantBernhard Reutner-Fischer2009-11-201-4/+7
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * remove superfluous extra semicolonsBernhard Reutner-Fischer2009-11-202-26/+27
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * ppoll: get NULL from stddef.hBernhard Reutner-Fischer2009-11-201-3/+2
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * __assert: include unistd.h for smallintBernhard Reutner-Fischer2009-11-201-2/+1
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * features.h: reorganizePeter S. Mazinger2009-11-191-66/+59
| | | | | | | | | | | | | | Reorganize so uClibc related changes are better seen when syncing with glibc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * limits.h: updatePeter S. Mazinger2009-11-191-11/+12
| | | | | | | | | | | | | | Should we care about compilers not defining __LONG_LONG_MAX__? Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * help broken apps to detect __GLIBC__ headersPeter S. Mazinger2009-11-191-4/+6
| | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * update headers and disable prototypesPeter S. Mazinger2009-11-193-13/+32
| | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * protocols.h: removePeter S. Mazinger2009-11-191-62/+0
| | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * sync some headers and disable unused prototypesPeter S. Mazinger2009-11-1921-75/+268
| | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * msgrcv is of type ssize_tPeter S. Mazinger2009-11-192-5/+9
| | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * use __BYTE_ORDER and __*ENDIANPeter S. Mazinger2009-11-194-16/+16
| | | | | | | | | | | | | | Those without the __ prefix are BSD specific. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * SUSv4: disable isascii, toascii, _toupper, _tolowerBernhard Reutner-Fischer2009-11-193-12/+25
| | | | | | | | | | | | | | [__]isascii need to be defined all the time for the build. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * move __linux__ to libc-internal.hPeter S. Mazinger2009-11-192-8/+8
| | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * assert: make linenumber unsignedPeter S. Mazinger2009-11-192-8/+7
| | | | | | | | | | | | | | Move attribute_noreturn to header. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * nameser.h: sync with glibcPeter S. Mazinger2009-11-191-1/+1
| | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * inet.h: mark inet_ntoa_r as uClibc specificPeter S. Mazinger2009-11-191-1/+5
| | | | | | | | | | | | | | Ddisable some prototypes of unimplemented funcs. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * move extend_alloca macro to alloca.hPeter S. Mazinger2009-11-192-31/+32
| | | | | | | | | | | | | | guard it by _LIBC. __MAX_ALLOCA_CUTOFF is not needed on target either Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * a.out.h: why was this needed?Peter S. Mazinger2009-11-191-5/+1
| | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * FORCE_SHAREABLE_TEXT_SEGMENTS requires DOPICPeter S. Mazinger2009-11-191-0/+1
| | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>