OSDN Git Service
Mike Frysinger [Sun, 28 Jan 2007 10:29:23 +0000 (10:29 -0000)]
as pointed out by Jocke, use "2" for actual error messages and _dl_debug_file for debug messages
Mike Frysinger [Sun, 28 Jan 2007 10:23:07 +0000 (10:23 -0000)]
initial waitid() implementation
Mike Frysinger [Sun, 28 Jan 2007 08:20:00 +0000 (08:20 -0000)]
need string.h for memset()
Mike Frysinger [Sun, 28 Jan 2007 08:14:03 +0000 (08:14 -0000)]
note 0.9.28.1 release
Mike Frysinger [Sun, 28 Jan 2007 07:59:59 +0000 (07:59 -0000)]
its a new year
Mike Frysinger [Sun, 28 Jan 2007 07:26:32 +0000 (07:26 -0000)]
make sure we clear out the buffer so that random garbage on the stack doesnt screw us up
Mike Frysinger [Sun, 28 Jan 2007 06:58:44 +0000 (06:58 -0000)]
Paul Brook writes:
The patch below tweaks the ARM nommu startup code so that doubleword stack
alignment is preserved. This is required on EABI targets.
Mike Frysinger [Sun, 28 Jan 2007 06:55:56 +0000 (06:55 -0000)]
fix typo as pointed out by Tony Wu and cleanup source
Mike Frysinger [Sun, 28 Jan 2007 06:29:33 +0000 (06:29 -0000)]
dont rely on random stack state to trigger this issue; force the default stat structs to alternative bit masks
Mike Frysinger [Sun, 28 Jan 2007 06:18:24 +0000 (06:18 -0000)]
new test taken from stat issue with new tar
Mike Frysinger [Sun, 28 Jan 2007 05:37:54 +0000 (05:37 -0000)]
use .bz2 rather than .gz
Mike Frysinger [Sat, 27 Jan 2007 08:19:09 +0000 (08:19 -0000)]
fix from blackfin repo: Jie Zhang writes: update __kernel_ipc_pid_t, __kernel_uid_t and __kernel_gid_t types to match actual kernel types
Mike Frysinger [Sat, 27 Jan 2007 08:17:38 +0000 (08:17 -0000)]
fix from blackfin repo: Jie Zhang writes: Passing NULL as the second argument to utimes () if the second argument to utime () is NULL as the kernel will take care of getting/setting current time
Bernhard Reutner-Fischer [Fri, 26 Jan 2007 08:55:28 +0000 (08:55 -0000)]
- fix format of comment
Mike Frysinger [Fri, 26 Jan 2007 00:31:29 +0000 (00:31 -0000)]
dont actually have to worry about local changes as svn export takes care of that
Joakim Tjernlund [Fri, 26 Jan 2007 00:25:10 +0000 (00:25 -0000)]
Fix libdl bug reported by Cedric Hombourger in
http://uclibc.org/lists/uclibc/2007-January/017165.html
Mike Frysinger [Wed, 24 Jan 2007 10:09:41 +0000 (10:09 -0000)]
fix from Bryan Wu: return NULL upon error, not the NULL string
Peter Kjellerstedt [Mon, 22 Jan 2007 09:20:55 +0000 (09:20 -0000)]
Recognize _SC_MONOTONIC_CLOCK in sysconf() even if __NR_clock_getres
is not defined.
Bernhard Reutner-Fischer [Sun, 21 Jan 2007 10:46:53 +0000 (10:46 -0000)]
- repair misplaced #endif that got introduced in r17410. Fixes compilation.
"Steven J. Hill" [Sat, 20 Jan 2007 22:03:02 +0000 (22:03 -0000)]
Disable declarations for NPTL.
"Steven J. Hill" [Sat, 20 Jan 2007 20:40:53 +0000 (20:40 -0000)]
The case for _SC_MONOTONIC_CLOCK should only exist if 'clock_getres' does.
Bernhard Reutner-Fischer [Sat, 20 Jan 2007 18:32:10 +0000 (18:32 -0000)]
- Trim superfluous trailing whitespace. No obj-code changes.
Joakim Tjernlund [Thu, 11 Jan 2007 22:52:23 +0000 (22:52 -0000)]
I fixed that item long ago.
Joakim Tjernlund [Thu, 11 Jan 2007 22:39:13 +0000 (22:39 -0000)]
Peter Mazinger pointed out that my last commit was faulty.
This should fix it.
Mike Frysinger [Wed, 10 Jan 2007 22:18:39 +0000 (22:18 -0000)]
merge from blackfin.uclinux.org: Adjust
crt1.S so that __uClibc_main is called properly
Joakim Tjernlund [Wed, 10 Jan 2007 22:03:34 +0000 (22:03 -0000)]
Fix SEGV for static builds in exit() path.
Leave the now obsolete libc/misc/pthread dir in for now.
Mike Frysinger [Wed, 10 Jan 2007 17:46:19 +0000 (17:46 -0000)]
need to keep __check_rhosts_file exported for proper rhost control
Mike Frysinger [Wed, 10 Jan 2007 17:02:16 +0000 (17:02 -0000)]
sync with upstream blackfin.uclinux.org
Joakim Tjernlund [Tue, 9 Jan 2007 22:38:55 +0000 (22:38 -0000)]
Aurelien Jacobs writes:
After our last update a new compilation breakage appeared when compiling
gcc:
/home/aurel/geex/geexbox/build.i386/toolchain/i386-pc-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:346: error: expected initializer before 'attribute_hidden'
Some investigations revealed that the following changeset is responsible
for this breakage:
http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h?rev=16801&r1=16793&r2=16801&diff_format=h
Reverting just one hunk of this changeset fixed the problem us.
I'm not sure this is the right fix, but please see attached patch.
Look good to me.
Joakim Tjernlund [Tue, 9 Jan 2007 22:30:16 +0000 (22:30 -0000)]
Joseph S. Myers writes:
ELF symbol names are arbitrary 0-terminated sequences of bytes, and the
ELF hash function is defined in the ELF specification to use unsigned
char. Thus uClibc's _dl_elf_hash, using plain char, breaks when char is
signed and symbol names contain bytes with the high bit set, as with GCC's
ucnid-* tests. This patch fixes this problem.
Joakim Tjernlund [Fri, 5 Jan 2007 10:20:37 +0000 (10:20 -0000)]
Support SecurePLTs for PowerPC. You need a toolchain that supports
config option --enable-secureplt. The assembler must also
supports R_PPC_REL16* relocations. gcc 4.1.1 and binutils 2.17
is known to do this.
Mike Frysinger [Fri, 5 Jan 2007 09:09:22 +0000 (09:09 -0000)]
Atle Nissestad writes: The attached patch fixes compilation of the current svn on the nios2 platform, and updates the crt1/n/i.S files to get CTOR/DTOR-support to work.
Bernhard Reutner-Fischer [Wed, 3 Jan 2007 22:53:41 +0000 (22:53 -0000)]
- s/Attemt/Attempt/
Bernhard Reutner-Fischer [Sat, 23 Dec 2006 14:12:40 +0000 (14:12 -0000)]
- r16732 forgot to checkin the sync of the __UCLIBC_SUSV3_LEGACY_MACROS__ from string.h
Bernhard Reutner-Fischer [Fri, 22 Dec 2006 14:03:06 +0000 (14:03 -0000)]
- provide a hidden_def for fputc_unlocked that is aliased to __fputc_unlocked.
Fixes undefined references to __fputc_unlocked when calling fputc().
Mike Frysinger [Wed, 20 Dec 2006 16:17:33 +0000 (16:17 -0000)]
make sure UCLIBC_LDSO can be found via path
Mike Frysinger [Wed, 20 Dec 2006 04:30:25 +0000 (04:30 -0000)]
Paul Brook writes:
When building an arm-uclinux toolchain withthreading disabled I get:
libc/stdio/getchar.c:26: error: 'getchar' aliased to undefined
symbol 'getchar_unlocked'
It looks like it's missing libc_hidden_def(getchar_unlocked). Patch below
fixes this.
Mike Frysinger [Sun, 17 Dec 2006 20:56:01 +0000 (20:56 -0000)]
rename local "brk" var so it doesnt namespace collide with the brk() function
Mike Frysinger [Sun, 17 Dec 2006 20:49:10 +0000 (20:49 -0000)]
for now, dont allow mmu users to select file format
Mike Frysinger [Sat, 16 Dec 2006 19:18:08 +0000 (19:18 -0000)]
actually scrub it, dont just comment it out
Mike Frysinger [Sat, 16 Dec 2006 19:13:21 +0000 (19:13 -0000)]
start pulling in top level Rules.mak so we get access to import CFLAGS/LDFLAGS/CPPFLAGS
Mike Frysinger [Sat, 16 Dec 2006 19:12:45 +0000 (19:12 -0000)]
scrub prototype so we dont conflict with the pthread header
Mike Frysinger [Sat, 16 Dec 2006 19:12:19 +0000 (19:12 -0000)]
clean up
Mike Frysinger [Sat, 16 Dec 2006 19:08:54 +0000 (19:08 -0000)]
small cleanups
Eric Andersen [Fri, 15 Dec 2006 00:12:23 +0000 (00:12 -0000)]
Patch from Bernhard Fischer:
fix compilation if PUTC_MACRO and/or GETC_MACRO is turned off
Mike Frysinger [Thu, 14 Dec 2006 00:37:57 +0000 (00:37 -0000)]
fix building when __NR_sigalstack does not exist
Mike Frysinger [Thu, 14 Dec 2006 00:33:55 +0000 (00:33 -0000)]
if __NR_lseek is not defined, then we fall back to calling the 64bit lseek
Mike Frysinger [Wed, 13 Dec 2006 23:01:56 +0000 (23:01 -0000)]
force LFS support since blackfin no longer supports non-lfs
Mike Frysinger [Wed, 13 Dec 2006 04:26:28 +0000 (04:26 -0000)]
be more specific as to what arguments to __uClibc_main() people can skim on during initial port
Eric Andersen [Tue, 12 Dec 2006 21:43:59 +0000 (21:43 -0000)]
Fix/disable locking when pthreads is disabled
Bernhard Reutner-Fischer [Tue, 12 Dec 2006 12:15:04 +0000 (12:15 -0000)]
- fix compilation of __LDSO_CACHE_SUPPORT__
s/dprintf(2/fprintf(stderr/g
Eric Andersen [Tue, 12 Dec 2006 06:02:05 +0000 (06:02 -0000)]
sort out a few issues that show up on mips
Mike Frysinger [Tue, 12 Dec 2006 03:56:42 +0000 (03:56 -0000)]
since we dont symlink the headers, theres nothing to filter
Mike Frysinger [Tue, 12 Dec 2006 03:30:02 +0000 (03:30 -0000)]
we just want the kernel headers, not the whole kernel source ... so people may need to update their paths slightly
Eric Andersen [Mon, 11 Dec 2006 05:28:24 +0000 (05:28 -0000)]
mostly revert the locking changes for 'malloc', as the implementation
does not easily lend itself to becoming complete pthread cancelation
safe without first investing in some deep and serious thought...
The other malloc implementations are pthread cancelation safe, and
this one is mostly used for uClinux, where the lack is at least less
likely to be a common problem.
Mike Frysinger [Mon, 11 Dec 2006 04:24:55 +0000 (04:24 -0000)]
fix building when pthread support is disabled
Mike Frysinger [Mon, 11 Dec 2006 04:19:50 +0000 (04:19 -0000)]
disable LDSO when FLAT format is selected
Mike Frysinger [Mon, 11 Dec 2006 04:09:06 +0000 (04:09 -0000)]
dont try and compile if the MMU is disabled
Mike Frysinger [Mon, 11 Dec 2006 04:06:55 +0000 (04:06 -0000)]
need endian.h for __LONG_LONG_PAIR() macro
Mike Frysinger [Mon, 11 Dec 2006 04:06:36 +0000 (04:06 -0000)]
cleanup style
Mike Frysinger [Mon, 11 Dec 2006 00:52:12 +0000 (00:52 -0000)]
kill off the need for fix_includes.sh by utilizing KERNEL_SOURCE directly
Mike Frysinger [Mon, 11 Dec 2006 00:32:40 +0000 (00:32 -0000)]
set some default vars to prevent env pollution
Mike Frysinger [Mon, 11 Dec 2006 00:27:48 +0000 (00:27 -0000)]
tie PICFLAG:=-mfdpic to format rather than architecture
Mike Frysinger [Mon, 11 Dec 2006 00:25:23 +0000 (00:25 -0000)]
create new menu so people can select what format they wish to build uClibc
Eric Andersen [Sat, 9 Dec 2006 08:50:41 +0000 (08:50 -0000)]
these weaks are also needed in libc.so for the time being
Eric Andersen [Sat, 9 Dec 2006 08:35:37 +0000 (08:35 -0000)]
oops, use __pthread_mutex_unlock() not pthread_mutex_unlock()
Eric Andersen [Sat, 9 Dec 2006 04:57:11 +0000 (04:57 -0000)]
Add missing sys/types.h header
Eric Andersen [Sat, 9 Dec 2006 01:32:13 +0000 (01:32 -0000)]
silence a lot of warnings and fix a few genuine bugs while I'm at it.
Mike Frysinger [Fri, 8 Dec 2006 22:53:40 +0000 (22:53 -0000)]
Richard Sandiford writes: add support for init/fini arrays in shared flat libraries
Eric Andersen [Fri, 8 Dec 2006 21:52:02 +0000 (21:52 -0000)]
seems this is the newfangled way to tell folks this stuff
is really really and we mean it this time, for uClibc only
Mike Frysinger [Fri, 8 Dec 2006 21:24:15 +0000 (21:24 -0000)]
only define msync cancellation point if the syscall exists
Eric Andersen [Fri, 8 Dec 2006 21:05:37 +0000 (21:05 -0000)]
Take Mike Frysinger's comments into account -- make certain that user
applications stop using _syscall#() and use syscall() instead. Cleanup
internal handling of syscall includes to use the correct header file.
Eric Andersen [Fri, 8 Dec 2006 19:28:27 +0000 (19:28 -0000)]
Sorry psm but contrary to commit 12927, kernel provided syscalls
are NOT suitable for user-space. The libc ones are the ones that
application code must use. If a problem is found with the libc
ones, then the libc syscall macros should be fixed.
Eric Andersen [Fri, 8 Dec 2006 19:21:11 +0000 (19:21 -0000)]
add some warnings to archs that need a bit of attention
Mike Frysinger [Fri, 8 Dec 2006 18:53:12 +0000 (18:53 -0000)]
if __NR_swapon does not exist, dont try and create a syscall for it
Mike Frysinger [Fri, 8 Dec 2006 18:52:40 +0000 (18:52 -0000)]
if __NR_swapoff does not exist, dont try and create a syscall for it
Mike Frysinger [Fri, 8 Dec 2006 18:47:59 +0000 (18:47 -0000)]
if __NR_msync does not exist, dont try and create a syscall for it
Mike Frysinger [Fri, 8 Dec 2006 16:55:54 +0000 (16:55 -0000)]
only define mremap() if the syscall exists
Mike Frysinger [Fri, 8 Dec 2006 03:39:59 +0000 (03:39 -0000)]
if __NR_mprotect does not exist, dont try and create a syscall for it
Eric Andersen [Fri, 8 Dec 2006 03:39:07 +0000 (03:39 -0000)]
this stuff is for uClibc internal use only
Eric Andersen [Fri, 8 Dec 2006 03:19:36 +0000 (03:19 -0000)]
finish the pthread locking cleanups. This should get things compiling again
though I still need to silence the warnings about _pthread_cleanup_push_defer
Eric Andersen [Fri, 8 Dec 2006 00:31:47 +0000 (00:31 -0000)]
__resolv_lock is supposed to be shared, not static
Eric Andersen [Fri, 8 Dec 2006 00:19:36 +0000 (00:19 -0000)]
Fill in a few more of the missing pieces...
Eric Andersen [Thu, 7 Dec 2006 23:24:19 +0000 (23:24 -0000)]
Major cleanup of internal mutex locking. Be more consistant in how we do
things, and avoid potential deadlocks caused when a thread holding a uClibc
internal lock get canceled and terminates without releasing the lock. This
change also provides a single place, bits/uClibc_mutex.h, for thread libraries
to modify to change all instances of internal locking.
Eric Andersen [Thu, 7 Dec 2006 23:24:02 +0000 (23:24 -0000)]
Major cleanup of internal mutex locking. Be more consistant in how we do
things, and avoid potential deadlocks caused when a thread holding a uClibc
internal lock get canceled and terminates without releasing the lock. This
change also provides a single place, bits/uClibc_mutex.h, for thread libraries
to modify to change all instances of internal locking.
Eric Andersen [Wed, 6 Dec 2006 22:41:21 +0000 (22:41 -0000)]
stdio update from mjn3
Eric Andersen [Wed, 6 Dec 2006 21:46:56 +0000 (21:46 -0000)]
update from mjn3
Eric Andersen [Wed, 6 Dec 2006 20:46:21 +0000 (20:46 -0000)]
prepare to later remove bits/kernel_types.h from bits/types.h
Eric Andersen [Wed, 6 Dec 2006 20:22:42 +0000 (20:22 -0000)]
bits/kernel_stat.h is for internal uClibc use only, fix a few other
minor include file issues
Mike Frysinger [Wed, 6 Dec 2006 01:55:59 +0000 (01:55 -0000)]
pulling in kernel config.h wont fly
Mike Frysinger [Wed, 6 Dec 2006 01:53:40 +0000 (01:53 -0000)]
note test subdir problems with multilib
Mike Frysinger [Sun, 3 Dec 2006 20:13:25 +0000 (20:13 -0000)]
make ABI into a list
Mike Frysinger [Sun, 3 Dec 2006 20:10:28 +0000 (20:10 -0000)]
list ABI first and tweak ISA defaults with suggestions from Jim Gifford
Mike Frysinger [Sun, 3 Dec 2006 19:52:48 +0000 (19:52 -0000)]
revert previous change
Rob Landley [Sun, 3 Dec 2006 18:22:06 +0000 (18:22 -0000)]
Patch from Jim Gifford (of Cross Linux From Scratch) fixing the Mips
failures from Mike's nightly builds.
Mike Frysinger [Sun, 3 Dec 2006 02:50:45 +0000 (02:50 -0000)]
second SUSV3 legacy check should be for macros as pointed out by psm
Mike Frysinger [Sat, 2 Dec 2006 19:31:40 +0000 (19:31 -0000)]
fix building when susv3 legacy stuff is disabled
Mike Frysinger [Sat, 2 Dec 2006 19:19:38 +0000 (19:19 -0000)]
PTHREAD_THREADS_MAX is supposed to be in pthread-specific dir, but for now it lives in bits/uClibc_local_lim.h
"Steven J. Hill" [Sat, 2 Dec 2006 02:01:57 +0000 (02:01 -0000)]
"Steven J. Hill" [Sat, 2 Dec 2006 01:42:11 +0000 (01:42 -0000)]
Remove definition of TIMER_MAX which breaks builds of GCC-4.2 and in glibc code it is not defined.