summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Include bits/libc-lock.h to get __libc_once_defineKhem Raj2009-12-111-0/+1
| | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Austin Foxley <austinf@cetoncorp.com>
| * test_dlopen: Remove extra -lpthread from LD_FLAGS for dltest{2}Filippo Arcidiacono2009-12-091-2/+2
| | | | | | | | | | | | | | | | | | | | dltest and dltest2 do not refer any symbols implemented in pthread library, so do not explicitly link them with pthread. It is required only for the shared objects that are loaded via dlopen by those tests. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| * sh: Add a prototype for the gcc __set_fpscr internal functionCarmelo Amoroso2009-12-031-1/+3
| | | | | | | | | | | | | | | | | | The sh port uses the gcc __set_fpscr internal function, but neither gcc nor glibc creates a prototype for it. This leads to a bunch of random warnings about implicit decls during the build. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| * uClibc_ctype.h: fix inverted check for susv4 macroAustin Foxley2009-11-301-1/+1
| | | | | | | | | | | | Was causing build failures if ctype tables were disabled and susv4 was on Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * test/.gitignore: Ignore a few more test binariesAustin Foxley2009-11-291-0/+3
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * test/dlopen: fix build for libtest.soAustin Foxley2009-11-291-0/+1
| | | | | | | | | | | | needs -lpthread, recent addition of -z,defs and -z,now exposed this Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * test/dlopen: Match the function name that libtest actually setsAustin Foxley2009-11-291-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * test/pthread: fix build of cancellation-points testAustin Foxley2009-11-291-2/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * test/stat: fix compiling the memcmp-stat test when __USE_MISC is definedAustin Foxley2009-11-291-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | fix typo that sneaked in with 9a7506Natanael Copa2009-12-151-1/+1
| | | | | | | | | | Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | Include bits/libc-lock.h to get __libc_once_defineKhem Raj2009-12-111-0/+1
| | | | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Go back to using nptl_arch_headersAustin Foxley2009-12-111-1/+2
| | | | | | | | | | | | this is part of the revert of 641e7e36ad0a9 Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Revert "nptl: make build depend directly on nptl headers"Austin Foxley2009-12-118-29/+38
| | | | | | | | | | | | This reverts commit 641e7e36ad0a9b2899b04f256c5b243ada7da279. Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | get x86_64 nptl buildingAustin Foxley2009-12-1148-318/+1245
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl: fix even more old style declarationsAustin Foxley2009-12-119-26/+20
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl: fix a few more old style declerationsAustin Foxley2009-12-094-15/+12
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl: fix old style function declerationsAustin Foxley2009-12-0998-282/+234
| | | | | | | | | | | | also fix a few shadowed local warnings Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl: make build depend directly on nptl headersAustin Foxley2009-12-098-38/+29
| | | | | | | | | | | | | | | | | | gets rid of nptl_headers,nptl_arch_headers,nptl_linux_headers targets also, clean up extra slashes in i386/sparc and unify the implementation of nptl header generation between all archs Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | warn about old-style crap in extra-annoyance-modeBernhard Reutner-Fischer2009-12-091-0/+1
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | test_dlopen: Remove extra -lpthread from LD_FLAGS for dltest{2}Filippo Arcidiacono2009-12-091-2/+2
| | | | | | | | | | | | | | | | | | | | dltest and dltest2 do not refer any symbols implemented in pthread library, so do not explicitly link them with pthread. It is required only for the shared objects that are loaded via dlopen by those tests. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | i386 nptl: add missing weak_alias for pthread_cond_signalAustin Foxley2009-12-041-0/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | ldso_tls: Refetch dtv from memory if THREAD_DTV has changedCarmelo Amoroso2009-12-034-2/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | _dl_update_slotinfo might change THREAD_DTV () (if it needs to reallocate it), but the caller (__tls_get_addr) doesn't refetch dtv from memory, it uses its cached copy. This may crash (if dtv[GET_ADDR_MODULE] is off the cliff, or might read uninitialized memory and return it. Typically dtv[GET_ADDR_MODULE].pointer.val is NULL and so __tls_get_addr returns NULL + offset_within_PT_TLS. The next time __tls_get_addr is called for the same library it will return correct address as _dl_update_slotinfo won't need to be called. Signed-off-by: Jakub Jelinek <jakub@redhat.com> Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | test_tls: Add two new tests for tls tst-tls{16,17} taken from glibcCarmelo Amoroso2009-12-037-2/+161
| | | | | | | | | | Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | test_tls: Rename tst-tls16 to tst-tls-at-ctorCarmelo Amoroso2009-12-033-5/+5
| | | | | | | | | | | | | | | | Rename tst-tls16 to tst-tls-at-ctor (including main and related shared object) to avoid name clashing with new tests ported from glibc. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | build: Move test build flags in Makefile.inCarmelo Amoroso2009-12-032-1/+1
| | | | | | | | | | | | | | Move test build flags in Makefile.in Makefile should be used only as a container for other sub Makefiles Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | sh: Add a prototype for the gcc __set_fpscr internal functionCarmelo Amoroso2009-12-031-1/+3
| | | | | | | | | | | | | | | | | | The sh port uses the gcc __set_fpscr internal function, but neither gcc nor glibc creates a prototype for it. This leads to a bunch of random warnings about implicit decls during the build. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | uClibc_ctype.h: fix inverted check for susv4 macroAustin Foxley2009-11-301-1/+1
| | | | | | | | | | | | Was causing build failures if ctype tables were disabled and susv4 was on Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | getaddrinfo.c: include tls.h before resolv.hAustin Foxley2009-11-301-0/+1
| | | | | | | | | | | | | | | | This is needed because tls.h ends up includeing nptl/descr.h which needs the full res_state definition. resolv.h also ends up including tls.h, but _without_ the full res_state struct it errors. Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/.gitignore: ignore a missed nptl test binaryAustin Foxley2009-11-291-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/.gitignore: Ignore a few more test binariesAustin Foxley2009-11-291-0/+3
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/Rules.mak: disable -z,defs for nowAustin Foxley2009-11-291-2/+2
| | | | | | | | | | | | | | * A bunch of the nptl tests don't compile when -z,defs is on * also turn on -std=gnu99 for the HOSTCC (_glibc) compiles Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/nptl: rework tst-tls3 to link with -z,nowAustin Foxley2009-11-293-11/+32
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/: compile fixes for nptl and tls testsAustin Foxley2009-11-294-10/+25
| | | | | | | | | | | | | | | | | | | | * Add a GLIBC_TESTS_DISABLED var because many of these tests need internal uClibc stuff. This disables the HOSTCC build of these tests * Fix up tls test macros for x86 * Fix the linking of the tls tests Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/nptl: don't use c99 features if you don't need toAustin Foxley2009-11-291-1/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test: nptl and tls tests need main include dirAustin Foxley2009-11-292-0/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/dlopen: fix build for libtest.soAustin Foxley2009-11-291-0/+1
| | | | | | | | | | | | needs -lpthread, recent addition of -z,defs and -z,now exposed this Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/dlopen: Match the function name that libtest actually setsAustin Foxley2009-11-291-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/pthread: fix build of cancellation-points testAustin Foxley2009-11-291-2/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test/stat: fix compiling the memcmp-stat test when __USE_MISC is definedAustin Foxley2009-11-291-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | generate nptl headers without a recursive make callAustin Foxley2009-11-292-8/+3
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | don't use __i686 in symbol names as it seems gcc can define itAustin Foxley2009-11-296-32/+33
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Merge remote branch 'origin/master' into nptlAustin Foxley2009-11-2853-1855/+1842
|\| | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * 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>