summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * buildsys: fix dir order-only prereq of unifdefBernhard Reutner-Fischer2010-03-121-1/+2
| | | | | | | | | | | | |$(@D) -> zilch, so spell it out Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * add MULTILIB_DIR: Path component for libdirsBernhard Reutner-Fischer2010-03-121-1/+2
| | | | | | | | | | | | forgot to checkin this file Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * config: support make defconfig O=/f/o/oBernhard Reutner-Fischer2010-03-121-0/+2
| | | | | | | | | | | | | | previously wanted to create the temporary cfg file in the srcdir (which failed on a RO srcdir) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * add MULTILIB_DIR: Path component for libdirsBernhard Reutner-Fischer2010-03-126-48/+45
| | | | | | | | | | | | defaults to "lib". Other prominent values include "lib32" or "lib64" Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * install: fix O= PREFIX= installBernhard Reutner-Fischer2010-03-121-11/+11
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * reduce number of mkdir callsBernhard Reutner-Fischer2010-03-121-8/+9
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * remove config knobs that belong to the nptl branchBernhard Reutner-Fischer2010-03-121-39/+0
| | | | | | | | | | | | Fixes bug #1243 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * pull kernel-features.h from NPTLBernhard Reutner-Fischer2010-03-051-18/+392
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * poll: unavailable on linux < 2.2.0Bernhard Reutner-Fischer2010-03-042-1/+7
| | | | | | | | | | | | fixes bug #253 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * libc_sh: Update memcpy to use the ENTRY macroCarmelo Amoroso2010-02-101-8/+3
| | | | | | | | | | | | Use the ENTRY macro now available through the sysdep.h header Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| * libc_sh: Add a sysdep header for shCarmelo Amoroso2010-02-101-0/+277
| | | | | | | | | | | | | | | | | | | | | | | | A new sysdep header for sh (ported from NPTL branch) to provide some useful macros in asm code: ENTRY: an entry point visible from C PSEUDO: a wrapper for syscall with proper errno checking SYSCALL_ERROR_HANDLER: errno check (suitable for TLS) This will help in NPTL integration. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| * libc: Add a common sysdep headerCarmelo Amoroso2010-02-102-0/+140
| | | | | | | | | | | | | | | | | | | | Add a common header file to provide macros useful in asm code: C_LABEL to construct the asm name for a C symbol cfi_xxx to generate eh_frame unwind information. Ported from NPTL branch. 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>
| * getdents: Fix mips64 buildAtsushi Nemoto2010-02-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Wed, 27 Jan 2010 07:14:08 +0100, Carmelo AMOROSO <carmelo.amoroso@st.com> wrote: > I would re-write your patch in a simpler way. > > We already have the following > > 136 #if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64 > 137 attribute_hidden strong_alias(__getdents,__getdents64) > 138 #endif > > I think that it's simpler to move in the proper place this statement. Thanks, indeed. If we came into "#elif WORDSIZE == 32" block, above condition never be true. So we can just move this statement out of "#if...#elif...#elif...#endif" block. Here is a revised patch. ------------------------------------------------------ From: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Subject: [PATCH] getdents: Fix mips64 build Some archs (such as mips64) do not have getdents64 syscall but have getdents syscall. Define alias for it. This fixes regression from 0.9.30.1. Backgrounds: This is once done by commit e8b1c674. But after the commit 33bcf733 ("Use getdents syscall if kernel provide supports for this instead of relying upon getdents64."), if __ASSUME_GETDENTS32_D_TYPE was defined the alias for getdents64 is not defined. The macro __ASSUME_GETDENTS32_D_TYPE had been effectively ignored until 0.9.30.1 but the commit 0f0f20ab ("Move kernel-features.h header from the linuxthread directory to a common one...") really enables it. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | 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>