OSDN Git Service
Austin Foxley [Thu, 18 Feb 2010 02:44:35 +0000 (18:44 -0800)]
compile fixes for i386 nptl
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Thu, 18 Feb 2010 00:54:59 +0000 (16:54 -0800)]
fix nptl build for sparc
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Thu, 18 Feb 2010 00:52:15 +0000 (16:52 -0800)]
move pthread_barrier_{init,destroy} to sysdeps/pthread
for archs that implement their own like sparc and x86_64
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Khem Raj [Thu, 18 Feb 2010 00:49:55 +0000 (16:49 -0800)]
Fix nptl build for mips
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Austin Foxley [Wed, 17 Feb 2010 23:08:10 +0000 (15:08 -0800)]
sparc/nptl: typo fixes
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Wed, 17 Feb 2010 23:01:37 +0000 (15:01 -0800)]
sparc/nptl: fix wrong vfork hidden def
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Khem Raj [Wed, 17 Feb 2010 22:59:11 +0000 (14:59 -0800)]
Add missing lowlevelrobustlock.c
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj [Wed, 17 Feb 2010 22:55:18 +0000 (14:55 -0800)]
Add missing libgcc_s.h header.
* Do not include tls.h in aeabi_read_tp.S. Its not needed.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Austin Foxley [Wed, 17 Feb 2010 22:55:36 +0000 (14:55 -0800)]
update nptl gitignore
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Wed, 17 Feb 2010 22:45:39 +0000 (14:45 -0800)]
fix typo
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Khem Raj [Wed, 17 Feb 2010 22:28:38 +0000 (14:28 -0800)]
Assorted fixed to get nptl compiling on ARM
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Austin Foxley [Tue, 16 Feb 2010 23:11:07 +0000 (15:11 -0800)]
a few more build fixes nptl sync
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Tue, 16 Feb 2010 20:27:18 +0000 (12:27 -0800)]
mass sync with glibc nptl
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sun, 14 Feb 2010 00:48:23 +0000 (16:48 -0800)]
sparc/sigaction: revert change. These semantics are needed for nptl
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sun, 14 Feb 2010 00:23:09 +0000 (16:23 -0800)]
sparc/sysdep: Unify sparc sysdep.h
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Khem Raj [Fri, 12 Feb 2010 05:04:15 +0000 (21:04 -0800)]
arm/sysdep: Unify arm sysdep.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj [Fri, 12 Feb 2010 04:44:18 +0000 (20:44 -0800)]
mips/sysdep.h: Unify mips sysdep.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Austin Foxley [Thu, 11 Feb 2010 20:04:05 +0000 (12:04 -0800)]
libc: build tsd only when tls is enabled
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Thu, 11 Feb 2010 19:43:46 +0000 (11:43 -0800)]
ldso: fix USE_TLS check
this was causing tls symbols to leak into non-tls builds
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Carmelo Amoroso [Tue, 9 Feb 2010 06:49:57 +0000 (07:49 +0100)]
nptl: sysdep headers update for i386, mips and x86_64
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>
Carmelo Amoroso [Thu, 7 Jan 2010 14:05:27 +0000 (15:05 +0100)]
nptl_test: sysdep headers re-factoring
Update nptl and tls Makefiles according to new sysdep headers structure
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Thu, 7 Jan 2010 10:55:08 +0000 (11:55 +0100)]
nptl: sysdep headers re-factoring
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>
Carmelo Amoroso [Mon, 8 Feb 2010 15:24:06 +0000 (16:24 +0100)]
libc: Fix typo in include/rpc
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>
Austin Foxley [Fri, 5 Feb 2010 19:10:14 +0000 (11:10 -0800)]
Merge commit 'origin/master' into nptl
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Bernhard Reutner-Fischer [Fri, 5 Feb 2010 18:29:35 +0000 (19:29 +0100)]
TLS_TCB_AT_TP: avoid warning about undef cpp token
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 5 Feb 2010 18:26:24 +0000 (19:26 +0100)]
pthread_{attr_,}{s,g}etaffinity: cleanup symbol names
and hide __determine_cpumask_size.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 5 Feb 2010 18:19:08 +0000 (19:19 +0100)]
prctl: silence shadow warnings
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 5 Feb 2010 18:18:47 +0000 (19:18 +0100)]
kernel-features: add __ASSUME_POSIX_CPU_TIMERS
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 5 Feb 2010 18:15:46 +0000 (19:15 +0100)]
ldso: add missing prototypes
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 5 Feb 2010 10:58:47 +0000 (11:58 +0100)]
Revert "ftw.h installation: fix inverted logic"
The logic was fine previously.
Thanks to Peter Kjellerstedt for pointing out my confusion.
This reverts commit
d75f980f379dfbbe70ae8fb0956693a95af2fca2.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 4 Feb 2010 22:36:29 +0000 (23:36 +0100)]
libm: explain why some funcs are not implemented (yet)
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Aurelien Jacobs [Thu, 4 Feb 2010 17:26:08 +0000 (09:26 -0800)]
libm: enable log2f and exp2f
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Wed, 3 Feb 2010 20:12:10 +0000 (12:12 -0800)]
Unbreak build for sparc on some config's
Thanks to rob@landley.net
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Bernhard Reutner-Fischer [Wed, 3 Feb 2010 19:15:24 +0000 (20:15 +0100)]
__uClibc_main: use __pagesize to protect against recursion
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 3 Feb 2010 14:56:24 +0000 (15:56 +0100)]
add gethostid() testcase
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Filippo Arcidiacono [Wed, 3 Feb 2010 12:14:18 +0000 (07:14 -0500)]
libc: Fix l64a to return the correct buffer pointer
l64a was returning the pointer to the end of the internal
buffer instead of the start. This caused an infinite loop
in passwd application.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Filippo Arcidiacono [Wed, 3 Feb 2010 12:14:18 +0000 (07:14 -0500)]
libc: Fix l64a to return the correct buffer pointer
l64a was returning the pointer to the end of the internal
buffer instead of the start. This caused an infinite loop
in passwd application.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Denys Vlasenko [Wed, 3 Feb 2010 10:44:11 +0000 (11:44 +0100)]
powerpc/bits/sysdep.h: move confusingly placed #undef
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 2 Feb 2010 23:11:34 +0000 (00:11 +0100)]
/etc/resolv.conf: support "timeout:n" and "attempts:n" options
text data bss dec hex filename
- 1745 2 4 1751 6d7 libc/inet/dnslookup.o
+ 1760 2 4 1766 6e6 libc/inet/dnslookup.o
- 962 0 4 966 3c6 libc/inet/opennameservers.o
+ 1099 0 4 1103 44f libc/inet/opennameservers.o
- 462 4 472 938 3aa libc/inet/res_init.o
+ 454 4 468 926 39e libc/inet/res_init.o
- 870 0 0 870 366 libc/inet/res_query.o
+ 867 0 0 867 363 libc/inet/res_query.o
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 2 Feb 2010 22:09:16 +0000 (23:09 +0100)]
remove two checks for gettimeofday error
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Denys Vlasenko [Tue, 2 Feb 2010 22:07:24 +0000 (23:07 +0100)]
time,times: stop interpreting negative return values ar errors
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Bernhard Reutner-Fischer [Tue, 2 Feb 2010 09:38:42 +0000 (10:38 +0100)]
lxdialog: remove objectfiles on clean
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Khem Raj [Mon, 1 Feb 2010 21:05:25 +0000 (13:05 -0800)]
nptl: Fix nptl specific case which still was not using CSRC-y.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj [Mon, 1 Feb 2010 21:03:30 +0000 (13:03 -0800)]
Fix accidently dropped hunk during last merge from
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj [Mon, 1 Feb 2010 20:28:54 +0000 (12:28 -0800)]
Merge commit 'origin/master' into nptl
Conflicts:
libc/stdlib/Makefile.in
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj [Mon, 1 Feb 2010 20:00:55 +0000 (12:00 -0800)]
Add -DNOT_IN_libc=1 -DIS_IN_libpthread=1 to some sources in nptl/libpthread build.
* This will prevent use of internal __libc* symbols in libpthread which
should be hidden for libc only use.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj [Mon, 25 Jan 2010 23:11:05 +0000 (15:11 -0800)]
errno: hide __libc_resp, __libc_errno, and __libc_h_errno
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Bernhard Reutner-Fischer [Tue, 26 Jan 2010 17:00:52 +0000 (18:00 +0100)]
document UCLIBC_EXTRA_CFLAGS
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 26 Jan 2010 12:54:26 +0000 (13:54 +0100)]
convert to foo-y kbuild style
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Khem Raj [Mon, 25 Jan 2010 23:17:09 +0000 (15:17 -0800)]
Makefile.arch: On ARM and MIPS pass -DNOT_IN_libc=1 -DIS_IN_libpthread=1
* This will prevent it using internal __libc* symbols in pthread which
should be hidden for libc only use.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj [Mon, 25 Jan 2010 22:42:00 +0000 (14:42 -0800)]
mips/dl-tls.h: Adjust TLS_TPREL_VALUE and TLS_DTPREL_VALUE
* Symbol values are passed in directly into these macros
instead of the symbol structure.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj [Mon, 25 Jan 2010 22:24:26 +0000 (14:24 -0800)]
mips/ldso: Check for TLS relocation in elf_machine_type_class.
* Store the symbol adress received from _dl_find_hash
and do not recompute it.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj [Mon, 25 Jan 2010 22:24:26 +0000 (14:24 -0800)]
mips/ldso: Check for TLS relocation in elf_machine_type_class.
* Store the symbol adress received from _dl_find_hash
and do not recompute it.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Carmelo Amoroso [Mon, 25 Jan 2010 05:12:08 +0000 (06:12 +0100)]
Merge branch 'master' into nptl
Conflicts:
libc/inet/Makefile.in
libc/inet/hostid.c
Synchronise nptl branch with master branch @
c4b750195714ec7c10aa4de15610c5aae0751c1c
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Henning Heinold [Sun, 24 Jan 2010 05:29:42 +0000 (21:29 -0800)]
Makefile.in: Make install_dev depend on install_runtime.
* Helps in parallel build.
Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Denys Vlasenko [Sun, 24 Jan 2010 01:26:26 +0000 (02:26 +0100)]
wchar.c: fix indentation
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 23:39:57 +0000 (00:39 +0100)]
gethostid: switch to getaddrinfo and shrink
text data bss dec hex filename
382 0 0 382 17e libc/inet/hostid.os.old
326 0 0 326 146 libc/inet/hostid.os
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 22:25:01 +0000 (23:25 +0100)]
getprotoent_r: use correct define for return value
Doesn't correctly set result=NULL on error or EOF.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 21:41:25 +0000 (22:41 +0100)]
fix typo in previous commit
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 21:37:01 +0000 (22:37 +0100)]
silence some warnings about unused params
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 21:36:27 +0000 (22:36 +0100)]
ftw.h installation: fix inverted logic
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 20:29:19 +0000 (21:29 +0100)]
libc/inet: mark other odd /etc/conf/ spot
and wrap it in FALLBACK_TO_CONFIG_RESOLVCONF too. -24b
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 20:22:32 +0000 (21:22 +0100)]
libc/inet: set path to resolver file via CPP
No objcode changes.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 23 Jan 2010 20:11:47 +0000 (21:11 +0100)]
libc/inet: convert to foo-y kbuild style
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Austin Foxley [Sat, 23 Jan 2010 17:47:03 +0000 (09:47 -0800)]
nptl: timer_routines.c (timer_helper_thread):
Use sigfillset. Document that sigfillset does the right thing wrt
to SIGSETXID.
Sync with glibc
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 23 Jan 2010 17:31:05 +0000 (09:31 -0800)]
test: fix static build of nptl and tls tests
also add needed -lpthread lines to timer_* tests,
since the implementation uses pthread functions
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 23 Jan 2010 17:29:29 +0000 (09:29 -0800)]
nptl: need to build generic timer_* functions for x86_64 and sparc
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 23 Jan 2010 17:26:48 +0000 (09:26 -0800)]
nptl: fix a few more old style prototypes
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Bernhard Reutner-Fischer [Fri, 22 Jan 2010 12:57:32 +0000 (13:57 +0100)]
silence warning about implicit decl of sysctl
... and reinstate comment explaining the gory details
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 21 Jan 2010 09:42:02 +0000 (10:42 +0100)]
wordexp: silence shadow warning
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
(cherry picked from commit
831ea78623556cbfae002477afc6256cacaaf2c6)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Thu, 21 Jan 2010 09:36:13 +0000 (10:36 +0100)]
fix typo in version mismatch msg
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
(cherry picked from commit
0d30e6a7666c3cab001e7343a71bfa2d3e5abbd4)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Tue, 19 Jan 2010 16:33:14 +0000 (17:33 +0100)]
ldso: tweak shadow warning with preload file support
The stat buffer is already declared at the top of the function.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
(cherry picked from commit
6140a2a7175a796a7c06119f036357db87a1b865)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Tue, 19 Jan 2010 16:26:11 +0000 (17:26 +0100)]
rename exp(onent) to _exp
to avoid shadow warnings
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
(cherry picked from commit
2b12ef1e789227cf9425ae8645e62ba7c3a7d3a9)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Tue, 19 Jan 2010 16:21:52 +0000 (17:21 +0100)]
ether_line: fix build for socket && !ip
The internal __ether_line helper needs ether_ntoa_r()
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
(cherry picked from commit
81264e8097b705f3b2a7e29be0a1a2ea853230cb)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Wed, 20 Jan 2010 22:42:57 +0000 (23:42 +0100)]
test commit
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
(cherry picked from commit
1571ed1315ff95278fed019b838f183ee37cc198)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Sat, 16 Jan 2010 18:18:38 +0000 (19:18 +0100)]
futimens: add missing local prototype
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
(cherry picked from commit
d0a8b14169c6f01dadd07f6b4e14cc335a62f234)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Sat, 16 Jan 2010 18:14:12 +0000 (19:14 +0100)]
rename exp(onent) to ex
to avoid shadow warnings
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
(cherry picked from commit
f331f6d2eff5fb623bcc42213ccec12c7dbf95fd)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Fri, 15 Jan 2010 14:59:56 +0000 (15:59 +0100)]
randconfig.sh: set number of make jobs
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
(cherry picked from commit
c13dd47ecbbdb841042e1370c8011e84634db0e4)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Yoshinori Sato [Sat, 16 Jan 2010 18:14:29 +0000 (19:14 +0100)]
include unistd.h for smallint
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
(cherry picked from commit
df9130a0dc1c9e3553fcfee68bb8a809e4f4a458)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Khem Raj [Wed, 13 Jan 2010 01:51:32 +0000 (17:51 -0800)]
mips/nptl: Pass correct parameters to dl_find_hash when resolving TLS relocations.
Make use of macros from sys/asm.h in crt1.S
These two changes are needed for mips nptl to boot once again.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit
9c343fd4030dcd7a52616f365893177dded50346)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Denys Vlasenko [Sat, 9 Jan 2010 20:58:50 +0000 (21:58 +0100)]
ctime: do not use static struct tm buffer
text data bss dec hex filename
- 19 0 0 19 13 libc/misc/time/ctime.o
+ 25 0 0 25 19 libc/misc/time/ctime.o
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
(cherry picked from commit
957e238614326198452b53498ae98e546fce7366)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Austin Foxley [Sun, 27 Dec 2009 20:13:52 +0000 (12:13 -0800)]
test/math: put scalbf test under susv3 legacy define
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
(cherry picked from commit
e949d522a31db675889bc87b6023e7edb6b30caa)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Hans-Christian Egtvedt [Wed, 16 Dec 2009 12:16:08 +0000 (13:16 +0100)]
avr32: add varargs handling of prctl syscall
prctl is defined to use varargs in the header file, hence it needs varargs
specific handling in the source. This patch properly handles the variodic
argument before the syscall is passed to the kernel for the AVR32 architecture.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Hans-Christian Egtvedt [Wed, 16 Dec 2009 12:16:08 +0000 (13:16 +0100)]
avr32: add varargs handling of prctl syscall
prctl is defined to use varargs in the header file, hence it needs varargs
specific handling in the source. This patch properly handles the variodic
argument before the syscall is passed to the kernel for the AVR32 architecture.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Bernhard Reutner-Fischer [Thu, 21 Jan 2010 09:42:02 +0000 (10:42 +0100)]
wordexp: silence shadow warning
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 21 Jan 2010 09:36:13 +0000 (10:36 +0100)]
fix typo in version mismatch msg
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 19 Jan 2010 16:33:14 +0000 (17:33 +0100)]
ldso: tweak shadow warning with preload file support
The stat buffer is already declared at the top of the function.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 19 Jan 2010 16:26:11 +0000 (17:26 +0100)]
rename exp(onent) to _exp
to avoid shadow warnings
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 19 Jan 2010 16:21:52 +0000 (17:21 +0100)]
ether_line: fix build for socket && !ip
The internal __ether_line helper needs ether_ntoa_r()
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 20 Jan 2010 22:42:57 +0000 (23:42 +0100)]
test commit
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 16 Jan 2010 18:18:38 +0000 (19:18 +0100)]
futimens: add missing local prototype
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 16 Jan 2010 18:14:12 +0000 (19:14 +0100)]
rename exp(onent) to ex
to avoid shadow warnings
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 15 Jan 2010 14:59:56 +0000 (15:59 +0100)]
randconfig.sh: set number of make jobs
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Yoshinori Sato [Sat, 16 Jan 2010 18:14:29 +0000 (19:14 +0100)]
include unistd.h for smallint
Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Khem Raj [Wed, 13 Jan 2010 01:51:32 +0000 (17:51 -0800)]
mips/nptl: Pass correct parameters to dl_find_hash when resolving TLS relocations.
Make use of macros from sys/asm.h in crt1.S
These two changes are needed for mips nptl to boot once again.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Denys Vlasenko [Sat, 9 Jan 2010 20:58:50 +0000 (21:58 +0100)]
ctime: do not use static struct tm buffer
text data bss dec hex filename
- 19 0 0 19 13 libc/misc/time/ctime.o
+ 25 0 0 25 19 libc/misc/time/ctime.o
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Austin Foxley [Sun, 27 Dec 2009 20:13:52 +0000 (12:13 -0800)]
test/math: put scalbf test under susv3 legacy define
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Wed, 23 Dec 2009 20:14:26 +0000 (12:14 -0800)]
Merge remote branch 'origin/master' into nptl
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Chris Metcalf [Wed, 23 Dec 2009 20:00:55 +0000 (15:00 -0500)]
Make _dl_dprintf buf non-static to avoid multithreading bugs.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 19 Dec 2009 22:02:14 +0000 (14:02 -0800)]
Merge commit 'origin/master' into nptl
Conflicts:
libc/signal/sigpause.c
libc/string/x86_64/memset.S
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>