OSDN Git Service

uclinux-h8/uClibc.git
18 years agoadd support for newer [sg]etgroups function and make the function a simple passthroug...
Mike Frysinger [Fri, 10 Feb 2006 04:15:23 +0000 (04:15 -0000)]
add support for newer [sg]etgroups function and make the function a simple passthrough on 64bit arches (should fix the getgroup crashes in ltp)

18 years agosync with glibc, should fix the swap* segfaults in ltp
Mike Frysinger [Fri, 10 Feb 2006 02:26:45 +0000 (02:26 -0000)]
sync with glibc, should fix the swap* segfaults in ltp

18 years agodont bother with a pass through call
Mike Frysinger [Fri, 10 Feb 2006 02:26:40 +0000 (02:26 -0000)]
dont bother with a pass through call

18 years agoadd support for newer style kernel calls since some arches (like sparc) only provide...
Mike Frysinger [Fri, 10 Feb 2006 02:02:28 +0000 (02:02 -0000)]
add support for newer style kernel calls since some arches (like sparc) only provide the newer versions

18 years agosync with glibc and kill dead code to fix issues found by the nftw ltp tests
Mike Frysinger [Fri, 10 Feb 2006 00:22:55 +0000 (00:22 -0000)]
sync with glibc and kill dead code to fix issues found by the nftw ltp tests

18 years agoeat whitespace
Mike Frysinger [Fri, 10 Feb 2006 00:07:59 +0000 (00:07 -0000)]
eat whitespace

18 years agofix errno setting
Mike Frysinger [Thu, 9 Feb 2006 23:56:30 +0000 (23:56 -0000)]
fix errno setting

18 years agoadd ARM 7TDMI to processor selection list
David Anders [Thu, 9 Feb 2006 20:17:57 +0000 (20:17 -0000)]
add ARM 7TDMI to processor selection list

18 years agofix ARM types that are known to have MMU's to select ARCH_HAS_MMU
David Anders [Thu, 9 Feb 2006 20:12:16 +0000 (20:12 -0000)]
fix ARM types that are known to have MMU's to select ARCH_HAS_MMU

18 years agofix prototype for 64bit hosts
Mike Frysinger [Thu, 9 Feb 2006 05:40:55 +0000 (05:40 -0000)]
fix prototype for 64bit hosts

18 years agouse the newer versions of functions when available (fixes sparc which doesnt provide...
Mike Frysinger [Thu, 9 Feb 2006 03:24:42 +0000 (03:24 -0000)]
use the newer versions of functions when available (fixes sparc which doesnt provide older versions at all)

18 years agojust drop all of the debug code
Mike Frysinger [Thu, 9 Feb 2006 02:51:50 +0000 (02:51 -0000)]
just drop all of the debug code

18 years agoBernhard Fischer says: get rid of local ret variable
Mike Frysinger [Wed, 8 Feb 2006 04:50:51 +0000 (04:50 -0000)]
Bernhard Fischer says: get rid of local ret variable

18 years agoall my other 64bit changes seems to have "magically" fixed pthreads tests
Mike Frysinger [Wed, 8 Feb 2006 01:32:09 +0000 (01:32 -0000)]
all my other 64bit changes seems to have "magically" fixed pthreads tests

18 years agofix warnings on 64bit hosts
Mike Frysinger [Wed, 8 Feb 2006 01:31:24 +0000 (01:31 -0000)]
fix warnings on 64bit hosts

18 years agojanlana writes in Bug 700: use standard uint* types rather than u_int
Mike Frysinger [Wed, 8 Feb 2006 01:31:06 +0000 (01:31 -0000)]
janlana writes in Bug 700: use standard uint* types rather than u_int

18 years agosync with glibc
Mike Frysinger [Wed, 8 Feb 2006 01:30:31 +0000 (01:30 -0000)]
sync with glibc

18 years agoinclude stdint.h and check __intptr_t_defined to see if we need to setup uintptr_t
Mike Frysinger [Tue, 7 Feb 2006 05:10:21 +0000 (05:10 -0000)]
include stdint.h and check __intptr_t_defined to see if we need to setup uintptr_t

18 years agoremove outdated file
Mike Frysinger [Tue, 7 Feb 2006 04:47:42 +0000 (04:47 -0000)]
remove outdated file

18 years agograb syscall() from glibc
Mike Frysinger [Tue, 7 Feb 2006 03:08:53 +0000 (03:08 -0000)]
grab syscall() from glibc

18 years agothanks to Thomas, nios should be happy again!
Mike Frysinger [Mon, 6 Feb 2006 05:06:37 +0000 (05:06 -0000)]
thanks to Thomas, nios should be happy again!

18 years agokill _dummy symbol
Mike Frysinger [Mon, 6 Feb 2006 03:15:24 +0000 (03:15 -0000)]
kill _dummy symbol

18 years agorfelker reports in Bug 683 that we leak file descriptors if the fcntl() fails .....
Mike Frysinger [Sat, 4 Feb 2006 03:24:24 +0000 (03:24 -0000)]
rfelker reports in Bug 683 that we leak file descriptors if the fcntl() fails ... so fix that.  add back in fstat() ofter we open() the directory as we need the blocksize further down in the code.  unify the memory error handling to shrink the code there a little.

18 years agofix building
Mike Frysinger [Sat, 4 Feb 2006 03:10:45 +0000 (03:10 -0000)]
fix building

18 years agofix segfault do to sizeof(NULL) usage
Mike Frysinger [Sat, 4 Feb 2006 02:48:47 +0000 (02:48 -0000)]
fix segfault do to sizeof(NULL) usage

18 years agoadd note about racecondition
Mike Frysinger [Sat, 4 Feb 2006 02:20:46 +0000 (02:20 -0000)]
add note about racecondition

18 years agouse O_DIRECTORY when possible, saves us from having to use stat() thus cutting codesi...
Mike Frysinger [Sat, 4 Feb 2006 02:19:23 +0000 (02:19 -0000)]
use O_DIRECTORY when possible, saves us from having to use stat() thus cutting codesize/race condition

18 years agoadd some copyright/license info
Mike Frysinger [Sat, 4 Feb 2006 02:18:41 +0000 (02:18 -0000)]
add some copyright/license info

18 years agouse just __getdents64 rather than either __getdents and __getdents64 when possible...
Mike Frysinger [Sat, 4 Feb 2006 02:17:00 +0000 (02:17 -0000)]
use just __getdents64 rather than either __getdents and __getdents64 when possible (saves space and gives us access to d_type most of the time)

18 years agowe get d_type from the kernel so use it
Mike Frysinger [Sat, 4 Feb 2006 02:04:00 +0000 (02:04 -0000)]
we get d_type from the kernel so use it

18 years agomake build output a little less noisy
Mike Frysinger [Sat, 4 Feb 2006 01:28:22 +0000 (01:28 -0000)]
make build output a little less noisy

18 years agomake build output a little less noisy
Mike Frysinger [Sat, 4 Feb 2006 01:28:11 +0000 (01:28 -0000)]
make build output a little less noisy

18 years agofix warning when building on non-mmu hosts
Mike Frysinger [Sat, 4 Feb 2006 01:27:57 +0000 (01:27 -0000)]
fix warning when building on non-mmu hosts

18 years agoglibc sync
Mike Frysinger [Sat, 4 Feb 2006 01:27:08 +0000 (01:27 -0000)]
glibc sync

18 years agotouchup test to have some more helpful output
Mike Frysinger [Sat, 4 Feb 2006 01:26:24 +0000 (01:26 -0000)]
touchup test to have some more helpful output

18 years agoimport files from glibc for an ia64/static port
Mike Frysinger [Sat, 4 Feb 2006 01:20:54 +0000 (01:20 -0000)]
import files from glibc for an ia64/static port

18 years agoDont link and remove link.h
Peter S. Mazinger [Sat, 4 Feb 2006 01:11:18 +0000 (01:11 -0000)]
Dont link and remove link.h

18 years agointegrate frv link.h
Mike Frysinger [Sat, 4 Feb 2006 00:51:49 +0000 (00:51 -0000)]
integrate frv link.h

18 years agounify duplicated code cause i get tired of updating this stuff
Mike Frysinger [Fri, 3 Feb 2006 23:29:34 +0000 (23:29 -0000)]
unify duplicated code cause i get tired of updating this stuff

18 years agoWeaken libc's hidden fork versions, ltp test failed
Peter S. Mazinger [Fri, 3 Feb 2006 20:02:23 +0000 (20:02 -0000)]
Weaken libc's hidden fork versions, ltp test failed

18 years agoattribute_hidden is enough in the prototype, sync getopt-susv3 w/ gnu
Peter S. Mazinger [Fri, 3 Feb 2006 16:19:05 +0000 (16:19 -0000)]
attribute_hidden is enough in the prototype, sync getopt-susv3 w/ gnu

18 years agodisable hidden_proto/def for __BCC__ generally
Peter S. Mazinger [Fri, 3 Feb 2006 16:12:58 +0000 (16:12 -0000)]
disable hidden_proto/def for __BCC__ generally

18 years agoadd -DNOT_IN_libc
Peter S. Mazinger [Fri, 3 Feb 2006 16:06:06 +0000 (16:06 -0000)]
add -DNOT_IN_libc

18 years agohide __td_agent_list
Peter S. Mazinger [Fri, 3 Feb 2006 14:37:09 +0000 (14:37 -0000)]
hide __td_agent_list

18 years agoUse write instead of __libc_write for debug, hide __td_debug
Peter S. Mazinger [Fri, 3 Feb 2006 14:33:12 +0000 (14:33 -0000)]
Use write instead of __libc_write for debug, hide __td_debug

18 years agoHide internal wrapper
Peter S. Mazinger [Fri, 3 Feb 2006 14:19:24 +0000 (14:19 -0000)]
Hide internal wrapper

18 years agoerr() is not used internally
Peter S. Mazinger [Fri, 3 Feb 2006 11:43:16 +0000 (11:43 -0000)]
err() is not used internally

18 years agogetopt_long[_only] visible only if GNU getopt used
Peter S. Mazinger [Fri, 3 Feb 2006 11:29:32 +0000 (11:29 -0000)]
getopt_long[_only] visible only if GNU getopt used

18 years agoUse internal versions of strchr and stderr for non-BCC
Peter S. Mazinger [Fri, 3 Feb 2006 11:26:19 +0000 (11:26 -0000)]
Use internal versions of strchr and stderr for non-BCC

18 years agoeven the hidden version of the weaks in libc (as strong in libpthread) have to be...
Peter S. Mazinger [Thu, 2 Feb 2006 13:47:57 +0000 (13:47 -0000)]
even the hidden version of the weaks in libc (as strong in libpthread) have to be weaks

18 years agoprototype was wrong, change not tested
Peter S. Mazinger [Thu, 2 Feb 2006 12:12:58 +0000 (12:12 -0000)]
prototype was wrong, change not tested

18 years agofix typo s/__initbrk/__init_brk/
Peter S. Mazinger [Thu, 2 Feb 2006 11:37:06 +0000 (11:37 -0000)]
fix typo s/__initbrk/__init_brk/

18 years agomissed another global data marking
Peter S. Mazinger [Wed, 1 Feb 2006 23:02:24 +0000 (23:02 -0000)]
missed another global data marking

18 years agoMake it build w/ HAVE_SHARED disabled and SSP enabled
Peter S. Mazinger [Wed, 1 Feb 2006 22:11:03 +0000 (22:11 -0000)]
Make it build w/ HAVE_SHARED disabled and SSP enabled

18 years agoUse -DSTATIC and remove stub_warning, not accepted
Peter S. Mazinger [Wed, 1 Feb 2006 22:10:08 +0000 (22:10 -0000)]
Use -DSTATIC and remove stub_warning, not accepted

18 years agoeverything uses now CFLAGS, no need to add anything to CPU_FLAGS, add -DSTATIC for...
Peter S. Mazinger [Wed, 1 Feb 2006 22:08:43 +0000 (22:08 -0000)]
everything uses now CFLAGS, no need to add anything to CPU_FLAGS, add -DSTATIC for those not needing shared libs, needed to be seen in libc-symbols.h

18 years agomissed two __curbrk
Peter S. Mazinger [Wed, 1 Feb 2006 11:58:12 +0000 (11:58 -0000)]
missed two __curbrk

18 years agoI will risk this one: __curbrk
Peter S. Mazinger [Wed, 1 Feb 2006 11:55:56 +0000 (11:55 -0000)]
I will risk this one: __curbrk

18 years agoGo __malloc_lock, go ...
Peter S. Mazinger [Wed, 1 Feb 2006 11:19:52 +0000 (11:19 -0000)]
Go __malloc_lock, go ...

18 years agoweaks for __pthread_internal_tsd* are added if not built w/ -DSHARED, header issue
Peter S. Mazinger [Wed, 1 Feb 2006 11:19:10 +0000 (11:19 -0000)]
weaks for __pthread_internal_tsd* are added if not built w/ -DSHARED, header issue

18 years agogcc41 does not like this at all
Peter S. Mazinger [Wed, 1 Feb 2006 09:34:11 +0000 (09:34 -0000)]
gcc41 does not like this at all

18 years agochange asm/volatile to __x__
Peter S. Mazinger [Wed, 1 Feb 2006 09:25:33 +0000 (09:25 -0000)]
change asm/volatile to __x__

18 years agoglobal data uses libc_hidden_data_def, convert all -I hope- and add some new
Peter S. Mazinger [Wed, 1 Feb 2006 09:22:45 +0000 (09:22 -0000)]
global data uses libc_hidden_data_def, convert all -I hope- and add some new

18 years agotypo
Peter S. Mazinger [Wed, 1 Feb 2006 02:07:53 +0000 (02:07 -0000)]
typo

18 years agoremove hidden versions of bzero, unused in libc.so
Peter S. Mazinger [Wed, 1 Feb 2006 02:06:12 +0000 (02:06 -0000)]
remove hidden versions of bzero, unused in libc.so

18 years agosame in old
Peter S. Mazinger [Wed, 1 Feb 2006 01:36:33 +0000 (01:36 -0000)]
same in old

18 years ago__pthread_exit is noreturn only within libpthread
Peter S. Mazinger [Wed, 1 Feb 2006 01:34:36 +0000 (01:34 -0000)]
__pthread_exit is noreturn only within libpthread

18 years agocorrect __uselocale
Peter S. Mazinger [Wed, 1 Feb 2006 01:29:20 +0000 (01:29 -0000)]
correct __uselocale

18 years agoadd syscall6
Mike Frysinger [Wed, 1 Feb 2006 00:14:52 +0000 (00:14 -0000)]
add syscall6

18 years agoadd prototype to get rid of warning
Mike Frysinger [Wed, 1 Feb 2006 00:14:43 +0000 (00:14 -0000)]
add prototype to get rid of warning

18 years agocast buf to get rid of warning
Mike Frysinger [Wed, 1 Feb 2006 00:14:33 +0000 (00:14 -0000)]
cast buf to get rid of warning

18 years agodisable lazy code for now
Mike Frysinger [Wed, 1 Feb 2006 00:14:11 +0000 (00:14 -0000)]
disable lazy code for now

18 years agos:THUMB_INTERWORK:USE_BX:, thx Khem Raj
Peter S. Mazinger [Tue, 31 Jan 2006 23:31:32 +0000 (23:31 -0000)]
s:THUMB_INTERWORK:USE_BX:, thx Khem Raj

18 years agoadd comment to know why it's weak
Peter S. Mazinger [Tue, 31 Jan 2006 22:59:12 +0000 (22:59 -0000)]
add comment to know why it's weak

18 years agochange strong to weak_alias, arm fails, thx Khem Raj
Peter S. Mazinger [Tue, 31 Jan 2006 22:46:03 +0000 (22:46 -0000)]
change strong to weak_alias, arm fails, thx Khem Raj

18 years agopt-allocrtsig.c is irrelevant for now, remove related too, add libc_hidden_proto...
Peter S. Mazinger [Tue, 31 Jan 2006 22:32:17 +0000 (22:32 -0000)]
pt-allocrtsig.c is irrelevant for now, remove related too, add libc_hidden_proto from old version

18 years agoNew linuxthreads builds on x86, vapier: pt-allocrtsig.c is missing from sources
Peter S. Mazinger [Tue, 31 Jan 2006 20:54:59 +0000 (20:54 -0000)]
New linuxthreads builds on x86, vapier: pt-allocrtsig.c is missing from sources

18 years agos/IS_IN_linuxthreads/IS_IN_libpthread/, some prototypes, correct Makefile.in, disable...
Peter S. Mazinger [Tue, 31 Jan 2006 14:41:37 +0000 (14:41 -0000)]
s/IS_IN_linuxthreads/IS_IN_libpthread/, some prototypes, correct Makefile.in, disable __res_state, unavailable in resolv.h

18 years agoinclude math.h to get the prototype
Peter S. Mazinger [Tue, 31 Jan 2006 09:28:52 +0000 (09:28 -0000)]
include math.h to get the prototype

18 years agoinitial import of latest linuxthreads
Mike Frysinger [Tue, 31 Jan 2006 05:05:15 +0000 (05:05 -0000)]
initial import of latest linuxthreads

18 years agomake the extra warnings optional
Mike Frysinger [Tue, 31 Jan 2006 02:28:11 +0000 (02:28 -0000)]
make the extra warnings optional

18 years agoJohn Bowler writes in Bug 385:
Mike Frysinger [Tue, 31 Jan 2006 01:50:28 +0000 (01:50 -0000)]
John Bowler writes in Bug 385:
The patch fixes up the .align directives to '2' (i.e. a multiple
of 4) not '4' (a multiple of 16 - apparently an error since it seems
to be unnecessary, there is no advantage here in cache line alignment).

this is an arm "feature" ... the value given to .align is not in bytes:
.align 4 in arm means .align 2 ^ 4

18 years agodon't include wchar.h if WCHAR is disabled
Peter S. Mazinger [Tue, 31 Jan 2006 01:42:44 +0000 (01:42 -0000)]
don't include wchar.h if WCHAR is disabled

18 years agoKhem Raj says:
Mike Frysinger [Tue, 31 Jan 2006 01:41:16 +0000 (01:41 -0000)]
Khem Raj says:
add support for using BX instruction for THUMB aware architectures

18 years agorename local var brk to _brk
Mike Frysinger [Tue, 31 Jan 2006 01:34:21 +0000 (01:34 -0000)]
rename local var brk to _brk

18 years agoJohn Bowler says: use (!thumb) instead of (arm) since thumb defines arm
Mike Frysinger [Tue, 31 Jan 2006 01:32:33 +0000 (01:32 -0000)]
John Bowler says: use (!thumb) instead of (arm) since thumb defines arm

18 years agoJohn Bowler writes in Bug 385:
Mike Frysinger [Tue, 31 Jan 2006 00:33:26 +0000 (00:33 -0000)]
John Bowler writes in Bug 385:
This is a work round for a fairly serious GCC compiler bug - when
the syscall assembler overwrites r7 (required on thumb) the
compiler fails to protect the register when it is using it as a
frame pointer.

18 years agoJohn Bowler writes in Bug 385:
Mike Frysinger [Tue, 31 Jan 2006 00:29:30 +0000 (00:29 -0000)]
John Bowler writes in Bug 385:
This patch changes all cases where the ARM assembler mov pc,rx
instructions are used to ensure that the thumb/arm interwork change of
process more works - in essence mov pc,rx needs to become bx rc.

The ldr pc or ldm rx, {pc} instructions are not changed - this is
fine on ARM >=v5 but will fail to restore thumb mode on ARM v4T,
i.e. this code will not provide support for thumb on ARM v4T.

One mov pc is left in resolve.S, this is fixed in a different patch -
thumb-resolve.patch

The changes are protected by __THUMB_INTERWORK__ - the original
mov instruction will work on newer architectures and is required on
arch v4 (not v4t) and earlier - those which did not support thumb -
so this is safe.  See gcc lib1asmfuncs for a more exact test.

18 years agoJohn Bowler writes in Bug 385:
Mike Frysinger [Tue, 31 Jan 2006 00:26:22 +0000 (00:26 -0000)]
John Bowler writes in Bug 385:
in various places defined(__arm__) is used to protect/select code which
is ARM specific, that code must also be selected for __thumb__ because
__thumb__ is an ARM but __arm__ is not set...

18 years agostrlen is -cheaper- then strnlen
Peter S. Mazinger [Mon, 30 Jan 2006 22:48:02 +0000 (22:48 -0000)]
strlen is -cheaper- then strnlen

18 years agoAdd IMA compiling
Peter S. Mazinger [Mon, 30 Jan 2006 21:35:42 +0000 (21:35 -0000)]
Add IMA compiling

18 years agoAssebler sources ment to be preprocessed shouldn't contain assembler
"Jan-Benedict Glaw" [Mon, 30 Jan 2006 21:23:23 +0000 (21:23 -0000)]
Assebler sources ment to be preprocessed shouldn't contain assembler
comments, but C comments instead...

18 years agoUndo -std=c99 and related -D__ASSEMBLER__
Peter S. Mazinger [Mon, 30 Jan 2006 21:01:49 +0000 (21:01 -0000)]
Undo -std=c99 and related -D__ASSEMBLER__

18 years agoback to inline, mips fails
Peter S. Mazinger [Mon, 30 Jan 2006 18:09:59 +0000 (18:09 -0000)]
back to inline, mips fails

18 years agosome more prototypes
Peter S. Mazinger [Mon, 30 Jan 2006 16:06:33 +0000 (16:06 -0000)]
some more prototypes

18 years agomake regex a little bit smaller
Peter S. Mazinger [Mon, 30 Jan 2006 16:05:33 +0000 (16:05 -0000)]
make regex a little bit smaller

18 years agoanother attempt to fix sendfile64
Peter S. Mazinger [Mon, 30 Jan 2006 15:18:45 +0000 (15:18 -0000)]
another attempt to fix sendfile64

18 years agoSync w/ glibc
Peter S. Mazinger [Mon, 30 Jan 2006 15:04:09 +0000 (15:04 -0000)]
Sync w/ glibc

18 years agoEnable -std=c99 if supported, this will define __STDC_VERSION__, have to -D__ASSEMBLE...
Peter S. Mazinger [Mon, 30 Jan 2006 13:03:19 +0000 (13:03 -0000)]
Enable -std=c99 if supported, this will define __STDC_VERSION__, have to -D__ASSEMBLER__, bug in all gcc

18 years agomake it build if WCHAR is disabled
Peter S. Mazinger [Mon, 30 Jan 2006 09:39:51 +0000 (09:39 -0000)]
make it build if WCHAR is disabled