summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | pregen-headers: Add new target which depends on headers.Khem Raj2010-02-231-2/+2
| | | | | | | | | | | | | | | | * This target is necessary to serialize making of headers before pregen-headers and pregen-headers before the rest of build Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | pregen: Fix the parallel build problem in pregen targetKhem Raj2010-02-231-5/+3
| | | | | | | | | | | | | | | | * pregen-headers really need the headers to get themselves generated. so we create explicit dependency and invoke make as an action on pregen. This fixes the parallel build issue for better. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | get rid of extra variables for nptl pregen altogetherAustin Foxley2010-02-238-10/+9
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | order headers before pregen-headersAustin Foxley2010-02-231-1/+1
| | | | | | | | | | | | | | | | until someone gets a chance to fix this for real, this will unbreak building from a clean repo, as some of the pregen headers need some of the static headers Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | improve parallel make behaviourAustin Foxley2010-02-235-7/+9
| | | | | | | | | | | | | | | | * add library dependencies for libdl,libpthread * fix typo in librt/Makefile.in * also remove extra trailing slashes on i386, sparc pregen headers Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | initialize new pregen-headers-y variable before including sub makefilesAustin Foxley2010-02-221-1/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl/headers: Convert the makefile targets into variables.Khem Raj2010-02-229-11/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * Introduce pregen-headers-y which is list of generated headers during the build and add this to pregen target in top level makefile. Also add nptl_headers, nptl_arch_headers, nptl_linux_headers to this if compiling with nptl. * Replace pthread_pregen var with pregen-headers-y. * Make nptl_headers, nptl_arch_headers, nptl_linux_headers variables instead of sub targets. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | Get x86_64 compile to succeed.Khem Raj2010-02-192-3/+4
| | | | | | | | | | | | * The changes to clone.S needs testing Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | sparc: disable cancellable system, as it fails in strange ways right nowAustin Foxley2010-02-191-1/+4
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | sparc: also needs generic version of lowlevelrobustlockAustin Foxley2010-02-191-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Add dummy tcb-offsets.hKhem Raj2010-02-192-1/+2
| | | | | | | | | | | | | | | | | | | | * This file is used during creation of real tcb-offsets.h because lowlevellock.h from i386 also include tcb-offsets.h and it is inturn included by tls.h and tls.h is used in the dummy C file generated from tcb-offsets.sym, it created a catch-22 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | nptl_sh: Fix build problem with FUTEX_CLOCK_REALTIMECarmelo Amoroso2010-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | This patch fixes a build problem into the lowlevellock.S when support FUTEX_CLOCK_REALTIME (kernel newer than 2.6.29). __have_futex_clock_realtime symbol is not defined when set __ASSUME_FUTEX_CLOCK_REALTIME. The same is on i386 arch. Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | x86_64: compile pthread it's own version of __syscall_errorAustin Foxley2010-02-193-10/+6
| | | | | | | | | | | | also fix up clone.S from sync Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | more fixes for x86_64 nptlAustin Foxley2010-02-1916-20/+23
| | | | | | | | | | | | also cleanup some PIC (should be __PIC__) that snuck in Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | add dwarf defines used in cfi statementsAustin Foxley2010-02-191-0/+19
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | update kernel-features.h with futex featuresAustin Foxley2010-02-191-0/+17
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | use macro to link ldso to libpthread, so it gets the the right name on 64 ↵Austin Foxley2010-02-191-1/+1
| | | | | | | | | | | | bit archs Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | fixes to get nptl compiling for x86_64Austin Foxley2010-02-1910-49/+10
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | x86_64: finish up tls reloc support in ldsoAustin Foxley2010-02-192-8/+28
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Fixes to get nptl compiling for x86Khem Raj2010-02-193-3/+4
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | Fix typo in generated file names.Khem Raj2010-02-181-20/+20
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | i386 unify sysdep.hAustin Foxley2010-02-182-158/+125
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | x86_64: unify sysdep.hAustin Foxley2010-02-182-115/+94
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl: Fix clean target to remove generated filesCarmelo Amoroso2010-02-181-1/+1
| | | | | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | include tcb-offsets.h in sysdep-cancel.h for arm.Khem Raj2010-02-181-0/+1
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | Get new nptl building on SH4Khem Raj2010-02-1712-7/+31
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | compile fixes for i386 nptlAustin Foxley2010-02-1716-112/+18
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | fix nptl build for sparcAustin Foxley2010-02-172-2/+5
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | move pthread_barrier_{init,destroy} to sysdeps/pthreadAustin Foxley2010-02-175-1/+7
| | | | | | | | | | | | for archs that implement their own like sparc and x86_64 Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Fix nptl build for mipsKhem Raj2010-02-174-2/+27
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | sparc/nptl: typo fixesAustin Foxley2010-02-172-2/+2
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | sparc/nptl: fix wrong vfork hidden defAustin Foxley2010-02-171-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Add missing lowlevelrobustlock.cKhem Raj2010-02-171-0/+114
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | Add missing libgcc_s.h header.Khem Raj2010-02-172-1/+2
| | | | | | | | | | | | * Do not include tls.h in aeabi_read_tp.S. Its not needed. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | update nptl gitignoreAustin Foxley2010-02-171-7/+8
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | fix typoAustin Foxley2010-02-171-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Assorted fixed to get nptl compiling on ARMKhem Raj2010-02-1724-80/+258
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | a few more build fixes nptl syncAustin Foxley2010-02-167-26/+19
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | mass sync with glibc nptlAustin Foxley2010-02-16299-5443/+18806
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | sparc/sigaction: revert change. These semantics are needed for nptlAustin Foxley2010-02-131-4/+5
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | sparc/sysdep: Unify sparc sysdep.hAustin Foxley2010-02-131-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | arm/sysdep: Unify arm sysdep.hKhem Raj2010-02-112-341/+278
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | mips/sysdep.h: Unify mips sysdep.hKhem Raj2010-02-113-428/+350
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | libc: build tsd only when tls is enabledAustin Foxley2010-02-111-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | ldso: fix USE_TLS checkAustin Foxley2010-02-111-1/+1
| | | | | | | | | | | | this was causing tls symbols to leak into non-tls builds Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl: sysdep headers update for i386, mips and x86_64Carmelo Amoroso2010-02-093-3/+3
| | | | | | | | | | | | | | | | Update the arch specific sysdep headers to include the common header under libc/sysdeps/linux/common instead of libpthread/nptl/sysdeps/generic. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | nptl_test: sysdep headers re-factoringCarmelo Amoroso2010-02-094-2/+11
| | | | | | | | | | | | Update nptl and tls Makefiles according to new sysdep headers structure Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | nptl: sysdep headers re-factoringCarmelo Amoroso2010-02-098-193/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will re-factor and simplify sysdep headers handling for nptl branch. The reason is to use some useful macros in asm code (i.e. ENTRY()) that are available only into nptl branch because are defined in sysdep.h header under the nptl folder even if they are not related to NPTL at all (this was likely due to a bad choice done at the early stage of NPTL porting). This is a required steps for integrating into master branch some asm code available in nptl branch for sh4. The main changes are described below: nptl/sysdeps/generic/sysdep.h (moved) ---> libc/sysdeps/linux/common/sysdep.h nptl/sysdeps/arm/sysdep.h (moved) ---> libc/sysdeps/linux/arm/sysdep.h nptl/sysdeps/sh/sysdep.h ---------------------| nptl/sysdeps/unix/sh/sysdep.h ----------------| nptl/sysdeps/unix/sysv/linux/sh/sysdep.h -----| nptl/sysdeps/unix/sysv/linux/sh/sh4/sysdep.h -| |(merged) ---> libc/sysdeps/linux/sh nptl/sysdeps/unix/sysdep.h (deleted) Similarly the mips and arm sysdep.h should be merged and updated as for sh arch. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | libc: Fix typo in include/rpcCarmelo Amoroso2010-02-083-6/+6
| | | | | | | | | | | | | | s/GNU_SOUCE/GNU_SOURCE/ in include/rcp/ Signed-off-by: Jason Woodward <jason.woodward@timesys.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | Merge commit 'origin/master' into nptlAustin Foxley2010-02-0518-58/+115
|\| | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>