OSDN Git Service
Peter S. Mazinger [Sat, 17 Oct 2009 02:16:12 +0000 (04:16 +0200)]
help broken apps to detect __GLIBC__ headers
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Sat, 17 Oct 2009 02:07:01 +0000 (04:07 +0200)]
update headers and disable prototypes
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Sat, 17 Oct 2009 01:51:49 +0000 (03:51 +0200)]
protocols.h: remove
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Sat, 17 Oct 2009 01:45:53 +0000 (03:45 +0200)]
sync some headers and disable unused prototypes
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Sat, 17 Oct 2009 01:36:43 +0000 (03:36 +0200)]
msgrcv is of type ssize_t
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Sat, 17 Oct 2009 01:31:36 +0000 (03:31 +0200)]
use __BYTE_ORDER and __*ENDIAN
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>
Bernhard Reutner-Fischer [Thu, 19 Nov 2009 22:00:32 +0000 (23:00 +0100)]
SUSv4: disable isascii, toascii, _toupper, _tolower
[__]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>
Peter S. Mazinger [Sat, 17 Oct 2009 00:19:35 +0000 (02:19 +0200)]
move __linux__ to libc-internal.h
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Sat, 17 Oct 2009 00:04:20 +0000 (02:04 +0200)]
assert: make linenumber unsigned
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>
Peter S. Mazinger [Fri, 16 Oct 2009 23:46:10 +0000 (01:46 +0200)]
nameser.h: sync with glibc
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Fri, 16 Oct 2009 23:40:34 +0000 (01:40 +0200)]
inet.h: mark inet_ntoa_r as uClibc specific
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>
Peter S. Mazinger [Fri, 16 Oct 2009 23:14:16 +0000 (01:14 +0200)]
move extend_alloca macro to alloca.h
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>
Peter S. Mazinger [Fri, 16 Oct 2009 23:10:38 +0000 (01:10 +0200)]
a.out.h: why was this needed?
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Fri, 16 Oct 2009 22:41:08 +0000 (00:41 +0200)]
FORCE_SHAREABLE_TEXT_SEGMENTS requires DOPIC
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Fri, 16 Oct 2009 22:38:07 +0000 (00:38 +0200)]
remove ARCH_CFLAGS, ARCH_LDFLAGS and CROSS
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Fri, 16 Oct 2009 22:30:42 +0000 (00:30 +0200)]
remove some unneeded headers on install
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Fri, 16 Oct 2009 22:22:23 +0000 (00:22 +0200)]
no need for bits/syscalls.h on target
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 19 Nov 2009 21:28:50 +0000 (22:28 +0100)]
Add missing order-only prereq for unifdef
For O= make sure that top_builddir/extra/scripts is created
before trying to build unifdef into it.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger [Fri, 16 Oct 2009 22:03:53 +0000 (00:03 +0200)]
rm uClibc_arch_features.h on install
uClibc_arch_features.h is included already by libc-symbols.h.
If gcc needs it, fix gcc.
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 19 Nov 2009 18:07:30 +0000 (19:07 +0100)]
disable libutil related prototypes if asked to
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 19 Nov 2009 17:57:32 +0000 (18:57 +0100)]
fix misplaced HAS_LIBUTIL knob
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 19 Nov 2009 17:49:24 +0000 (18:49 +0100)]
DO_XSI_MATH: add config knob
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 19 Nov 2009 17:23:41 +0000 (18:23 +0100)]
UCLIBC_HAS_RESOLV_STUB: Rename config symbol
s/UCLIBC_HAS_RESOLV_STUB/UCLIBC_HAS_LIBRESOLV_STUB/
for consistency.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 19 Nov 2009 17:17:06 +0000 (18:17 +0100)]
libutil: provide knob to disable it
These tty utility functions are non-standard. They usually
are available on BSD and/or glibc based systems.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 19 Nov 2009 17:03:00 +0000 (18:03 +0100)]
libnsl: add knob to disable it
It's a dummy either way.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 19 Nov 2009 16:57:37 +0000 (17:57 +0100)]
fixup working in helptexts
and spell out suggested defaults for LDSO_RUNPATH
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 18 Nov 2009 15:06:49 +0000 (16:06 +0100)]
test: sync up with toplevel buildsys
test/Rules.mak was duplicating too much from the toplevel Rules.mak (which
is included anyway).
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 19 Nov 2009 14:59:19 +0000 (15:59 +0100)]
.gitignore more testfiles
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 18 Nov 2009 15:00:43 +0000 (16:00 +0100)]
MAXFLOAT: obsolescent in SUSv4
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 18 Nov 2009 12:24:07 +0000 (13:24 +0100)]
_Exit(): add weak alias to _exit() for C99
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 11 Nov 2009 09:57:57 +0000 (10:57 +0100)]
correct documentation
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 17 Nov 2009 19:47:44 +0000 (20:47 +0100)]
.gitignore: remove unneeded pattern
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sun, 15 Nov 2009 18:34:35 +0000 (19:34 +0100)]
libm: use int_WRAPPER_C99 macro
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sun, 15 Nov 2009 18:30:00 +0000 (19:30 +0100)]
ldso: Add missing newlines to some debug messages
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 14 Nov 2009 16:50:41 +0000 (17:50 +0100)]
Revert "libm: fix C99_MATH on __NO_LONG_DOUBLE_MATH hosts"
This reverts commit
73d6e5c41b61633e22ea74e3aa2df721512dca57.
barking up the wrong tree
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 14 Nov 2009 14:59:35 +0000 (15:59 +0100)]
libm: fix C99_MATH on __NO_LONG_DOUBLE_MATH hosts
alias l to their normal double counterparts.
Works around problems with libgcc blindly calling __finitel on e.g. ppc32
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Sat, 14 Nov 2009 14:57:47 +0000 (15:57 +0100)]
realpath: SUSv4 compliant
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 13 Nov 2009 14:59:25 +0000 (15:59 +0100)]
silence warning about undefined CPP token
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Austin Foxley [Mon, 9 Nov 2009 21:17:04 +0000 (13:17 -0800)]
Rules.mak fix typo (qstrup -> qstrip)
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Bernhard Reutner-Fischer [Wed, 28 Oct 2009 19:56:34 +0000 (20:56 +0100)]
Simplify kconfig wording of thread support
Use a choice for thread support selection.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 28 Oct 2009 19:49:18 +0000 (20:49 +0100)]
remove wrong default for choice
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 28 Oct 2009 19:12:54 +0000 (20:12 +0100)]
support selecting which locales to build
Introduce UCLIBC_BUILD_MINIMAL_LOCALES and if selected
build only those locales.
Based on a patch by Bernhard Reutner-Fischer.
Signed-off-by: Marc Andre Tanner <mat@brain-dump.org>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 23 Oct 2009 11:36:55 +0000 (13:36 +0200)]
remember some TODOs for 0.9.31
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mike Frysinger [Thu, 22 Oct 2009 13:01:03 +0000 (09:01 -0400)]
disable _POSIX_SPAWN define
We don't provide spawn.h let alone any other spawn funcs/types, so don't
set up the _POSIX_SPAWN define that some packages (like vlc) check.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 22 Oct 2009 05:17:46 +0000 (01:17 -0400)]
build with -fmerge-all-constants
Glibc is already using this flag and it gives us a slight code shrink in
a few functions.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 22 Oct 2009 05:12:47 +0000 (01:12 -0400)]
test/plt: add a script to find PLT usage
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 22 Oct 2009 05:05:28 +0000 (01:05 -0400)]
libc: add hidden calls to pthread cleanup funcs
A lot of libc code calls the pthread cleanup funcs implicitly (for stdio)
which currently goes through the PLT. Since we already have forwarding
symbols for these funcs, it's safe to declare the internal libc usage
hidden as a loaded libpthread will have the real symbols found.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 22 Oct 2009 05:04:07 +0000 (01:04 -0400)]
regex: call memcpy() ourselves
Call the hidden memcpy() ourselves otherwise gcc will emit a call to the
public memcpy() which goes through the PLT.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 22 Oct 2009 04:43:19 +0000 (00:43 -0400)]
sysctl: avoid inline initialization
Assign each field one by one rather than stack initialization as gcc will
call memset() to zero out the rest of the structure -- which we don't care
about as the field is unused and not seen outside of the libc.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 22 Oct 2009 04:41:29 +0000 (00:41 -0400)]
inet_ntop4: avoid inline initialization
We only need to set the first byte to 0, but gcc likes to zero out the
rest of the string with memset() when using this initialization style.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 22 Oct 2009 04:39:59 +0000 (00:39 -0400)]
sparc: use fputs to write to stderr
This also has the advantage of fputs() having a hidden alias while
puts does not.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 22 Oct 2009 04:39:44 +0000 (00:39 -0400)]
sparc: use HIDDEN_JUMPTARGET for errno
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Austin Foxley [Tue, 20 Oct 2009 20:19:35 +0000 (13:19 -0700)]
remove useless .gitignore
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 17 Oct 2009 19:00:36 +0000 (12:00 -0700)]
add .gitignore for test/ and extra/
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 17 Oct 2009 18:54:57 +0000 (11:54 -0700)]
test/dlopen: use pthread_once directly
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 17 Oct 2009 18:41:26 +0000 (11:41 -0700)]
linuxthreads: check TLS_DTV_AT_TP define correctly
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 17 Oct 2009 18:15:57 +0000 (11:15 -0700)]
mktemp does not depend on floats
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 17 Oct 2009 18:01:45 +0000 (11:01 -0700)]
gitignore: ignore install_dir/
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 17 Oct 2009 17:59:55 +0000 (10:59 -0700)]
Makerules: add a do_sed command
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Fri, 16 Oct 2009 18:50:51 +0000 (11:50 -0700)]
ldso: fixup missed variable rename ( tls_tpnt -> tpntp )
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Bernhard Reutner-Fischer [Fri, 16 Oct 2009 09:38:53 +0000 (11:38 +0200)]
remove readelf from helptext
readelf was removed
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mike Frysinger [Thu, 15 Oct 2009 23:47:12 +0000 (19:47 -0400)]
malloc: handle size overflows in realloc()
The malloc() code checks the incoming size to make sure the header
adjustment doesn't cause overflow in the size storage. Add the same
check to realloc() to catch stupid stuff like realloc(..., -1).
Reported-by: James Coleman <james.coleman@ubicom.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 15 Oct 2009 23:34:04 +0000 (19:34 -0400)]
sparc qops: unify & shrink
We don't really need to know the exact symbol that caused a failure as
long as we know where to start looking. So unify the duplicate code
between all funcs and between the sparc variants. This gives us a nice
code shrink of ~95%.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 15 Oct 2009 23:27:17 +0000 (19:27 -0400)]
ldso: drop duplicated/unused defines
We already include bits/fcntl.h for some of these defines, and most of
the bits/stat.h defines are unused.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 15 Oct 2009 23:15:41 +0000 (19:15 -0400)]
ldso: unify and cleanup _dl_mmap code
The interface should be straight forward now and the same for everyone.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 15 Oct 2009 22:12:51 +0000 (18:12 -0400)]
i386: use common INTERNAL_SYSCALL_ERROR_P
The common define has the same behavior, just formatted differently.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 15 Oct 2009 21:35:33 +0000 (17:35 -0400)]
ldso: define MAP_FAILED for everyone
This fixes build errors where common code has started using MAP_FAILED.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 15 Oct 2009 21:14:40 +0000 (17:14 -0400)]
ldso: simplify handling of extra _dl_lookup_hash() arg
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 15 Oct 2009 20:15:59 +0000 (16:15 -0400)]
ldso: clean up breakage in tls merge
The TLS merge
534661b91c9849 introduced multiple style problems as well as
random breakage:
- missing _dl_free
- incomplete parametrization of _dl_lookup_hash
- restore FDPIC handling in _dl_lookup_hash
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Austin Foxley [Thu, 15 Oct 2009 00:21:46 +0000 (17:21 -0700)]
ldso: fixup all the rest of the calls to _dl_find_hash
With TLS _dl_find_hash grew an extra param.
These archs don't have TLS reloc support yet, but they do need to
compile without it.
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Joseph Myers [Wed, 14 Oct 2009 14:13:34 +0000 (14:13 +0000)]
Fix SH bits/kernel_types.h for new kernel headers.
Recent SH kernel headers merge 32-bit and 64-bit headers, changing the
include guards on asm/posix_types.h in the process; update uClibc code
depending on those include guards.
Signed-off-by: Joseph Myers <joseph@codesourcery.com>
Denys Vlasenko [Wed, 14 Oct 2009 12:09:29 +0000 (14:09 +0200)]
check stat("/etc/resolv.conf") for errors
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Bernhard Reutner-Fischer [Wed, 14 Oct 2009 10:53:59 +0000 (12:53 +0200)]
fix cosmetic typo
s/dependancies/dependencies/g
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 13 Oct 2009 20:34:15 +0000 (22:34 +0200)]
libc/inet/resolv.c: reread resolv.conf if its mtime was changed
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Mike Frysinger [Sat, 10 Oct 2009 16:44:02 +0000 (12:44 -0400)]
drop __BCC__ cruft from string code
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Bernhard Reutner-Fischer [Fri, 9 Oct 2009 16:10:50 +0000 (18:10 +0200)]
check_ld some more flags
gold does not currently implement these.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 9 Oct 2009 15:48:13 +0000 (17:48 +0200)]
SUSV4: remove utime.h
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 8 Oct 2009 21:05:11 +0000 (23:05 +0200)]
add and use qstrip
qstrip substitites quotes and strips the result.
Avoiding single-quotes helps vim's poor syntax highlighting.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Wed, 7 Oct 2009 17:42:09 +0000 (19:42 +0200)]
utime() is obsolescent in SUSv4
LEGACY was removed for utimes() in SUSv4
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 18 Sep 2009 14:18:25 +0000 (16:18 +0200)]
ftw() is obsolescent in SUSv4
Apps should switch to nftw()
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Fri, 18 Sep 2009 14:17:51 +0000 (16:17 +0200)]
_toupper, _tolower depend on SUSv4
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 25 Aug 2009 13:29:07 +0000 (15:29 +0200)]
link-time warning for obsolescent/removed network funcs
Signed-off-by: aldot <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Thu, 8 Oct 2009 14:48:16 +0000 (16:48 +0200)]
Fix building arm EABI
The syscall() impl on aeabi comes from syscall-eabi.S thus we do not
need the generic syscall() impl.
Fixes:
AS libc/sysdeps/linux/arm/syscall-eabi.os
CC libc/sysdeps/linux/common/syscall.os
libc/libc_so.a(syscall.os): In function `syscall':
syscall.c:(.text+0x0): multiple definition of `syscall'
libc/libc_so.a(syscall-eabi.os):(.text+0x0): first defined here
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Mike Frysinger [Thu, 8 Oct 2009 03:01:44 +0000 (23:01 -0400)]
resolv/crypt: convert to foo-y kbuild style
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 8 Oct 2009 02:53:19 +0000 (22:53 -0400)]
ldso: pull in missing bits/fcntl.h header for O_CLOEXEC
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 8 Oct 2009 02:53:19 +0000 (22:53 -0400)]
ldso: use O_CLOEXEC for cache file
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 8 Oct 2009 02:51:55 +0000 (22:51 -0400)]
clean up O_CLOEXEC handling
Drop the "#ifndef O_CLOEXEC" cruft, enable O_CLOEXEC in most fcntl.h
headers, and import __ASSUME_O_CLOEXEC from glibc.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 8 Oct 2009 02:46:10 +0000 (22:46 -0400)]
fcntl.h: drop unused/dead O_STREAMING
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 8 Oct 2009 02:24:22 +0000 (22:24 -0400)]
ldso: use MAP_FAILED with ld.so.cache
Rather than use our own custom casted -1 value, just use the MAP_FAILED
that common code already sets up for us for mmap().
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Bernhard Reutner-Fischer [Tue, 6 Oct 2009 17:04:42 +0000 (19:04 +0200)]
fix coding style
TODO: use likely/unlikely
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 6 Oct 2009 16:51:08 +0000 (18:51 +0200)]
commentary typo fix
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 6 Oct 2009 16:50:19 +0000 (18:50 +0200)]
trim whitespace
and wrap superlong line.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer [Tue, 6 Oct 2009 10:59:17 +0000 (12:59 +0200)]
whitespace cleanup
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Austin Foxley [Mon, 5 Oct 2009 18:01:30 +0000 (11:01 -0700)]
sparc: add stubs for more of the _Q* ops
Thanks to Jason Woodward <jason.woodward@timesys.com>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Bernhard Reutner-Fischer [Mon, 5 Oct 2009 11:04:12 +0000 (13:04 +0200)]
descriptive error message
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Austin Foxley [Mon, 5 Oct 2009 00:48:54 +0000 (17:48 -0700)]
mips: fix typo in elfinterp.c
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 26 Sep 2009 16:34:19 +0000 (09:34 -0700)]
Config.in: enable TLS config option only for nptl
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Thu, 24 Sep 2009 06:43:58 +0000 (23:43 -0700)]
errno.c: add tls versions of errno and h_errno
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 19 Sep 2009 17:11:14 +0000 (10:11 -0700)]
dl-support.c: add tls support
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley [Sat, 19 Sep 2009 17:09:39 +0000 (10:09 -0700)]
resolv.c: add support for per thread res_state
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>