OSDN Git Service

uclinux-h8/uClibc.git
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

18 years agoToo many sparc versions ;-(, another hidden bcopy removed
Peter S. Mazinger [Mon, 30 Jan 2006 07:51:24 +0000 (07:51 -0000)]
Too many sparc versions ;-(, another hidden bcopy removed

18 years agoRemove arch specific hidden bcopy
Peter S. Mazinger [Mon, 30 Jan 2006 07:45:03 +0000 (07:45 -0000)]
Remove arch specific hidden bcopy

18 years agoChange the only bcopy user to memmove and remove internal version of bcopy
Peter S. Mazinger [Mon, 30 Jan 2006 07:35:34 +0000 (07:35 -0000)]
Change the only bcopy user to memmove and remove internal version of bcopy

18 years agoWhy this?
Peter S. Mazinger [Mon, 30 Jan 2006 07:33:45 +0000 (07:33 -0000)]
Why this?

18 years agoUsing hidden_proto solves this internally, my proposal was wrong
Peter S. Mazinger [Mon, 30 Jan 2006 07:21:58 +0000 (07:21 -0000)]
Using hidden_proto solves this internally, my proposal was wrong

18 years agoUse memset instead of bzero
Peter S. Mazinger [Mon, 30 Jan 2006 07:09:18 +0000 (07:09 -0000)]
Use memset instead of bzero

18 years agohidden moved to prototype
Peter S. Mazinger [Mon, 30 Jan 2006 06:44:51 +0000 (06:44 -0000)]
hidden moved to prototype

18 years agoPatch by Joseph S. Myers to add support for ARM EABI
Mike Frysinger [Sun, 29 Jan 2006 21:02:08 +0000 (21:02 -0000)]
Patch by Joseph S. Myers to add support for ARM EABI

18 years agouse typeof to create the prototype
Mike Frysinger [Sun, 29 Jan 2006 20:29:37 +0000 (20:29 -0000)]
use typeof to create the prototype

18 years agoAdd back the current glibc copyright notice, although the file is far different
Peter S. Mazinger [Sun, 29 Jan 2006 18:08:05 +0000 (18:08 -0000)]
Add back the current glibc copyright notice, although the file is far different

18 years agorename local i var to idx to get rid of shadow warning
Mike Frysinger [Sun, 29 Jan 2006 16:45:42 +0000 (16:45 -0000)]
rename local i var to idx to get rid of shadow warning

18 years agoremove unneeded double reloc_type definition
Mike Frysinger [Sun, 29 Jan 2006 16:44:25 +0000 (16:44 -0000)]
remove unneeded double reloc_type definition

18 years agomake sure clone/__clone are created properly
Mike Frysinger [Sun, 29 Jan 2006 16:43:10 +0000 (16:43 -0000)]
make sure clone/__clone are created properly

18 years agodisable usage of .set
Mike Frysinger [Sun, 29 Jan 2006 16:39:39 +0000 (16:39 -0000)]
disable usage of .set

18 years agorename _sys_result var to get rid of shadow warnings
Mike Frysinger [Sun, 29 Jan 2006 16:32:07 +0000 (16:32 -0000)]
rename _sys_result var to get rid of shadow warnings

18 years agocreate local prototype
Mike Frysinger [Sun, 29 Jan 2006 16:30:49 +0000 (16:30 -0000)]
create local prototype

18 years agomove linux-specific header to linux subdir
Mike Frysinger [Sun, 29 Jan 2006 16:30:14 +0000 (16:30 -0000)]
move linux-specific header to linux subdir

18 years agorename resultvar to get rid of shadow warnings
Mike Frysinger [Sun, 29 Jan 2006 16:28:30 +0000 (16:28 -0000)]
rename resultvar to get rid of shadow warnings

18 years agodeclare local prototype since we cant use system malloc.h
Mike Frysinger [Sun, 29 Jan 2006 16:25:08 +0000 (16:25 -0000)]
declare local prototype since we cant use system malloc.h

18 years agosync with glibc and rename local socket var to _socket
Mike Frysinger [Sun, 29 Jan 2006 16:17:19 +0000 (16:17 -0000)]
sync with glibc and rename local socket var to _socket

18 years agosync func def with glibc and dont include sys/socket.h since we dont use socket()
Mike Frysinger [Sun, 29 Jan 2006 16:08:24 +0000 (16:08 -0000)]
sync func def with glibc and dont include sys/socket.h since we dont use socket()

18 years agosync comment with glibc and dont include sys/socket.h since we dont use socket()
Mike Frysinger [Sun, 29 Jan 2006 16:05:19 +0000 (16:05 -0000)]
sync comment with glibc and dont include sys/socket.h since we dont use socket()

18 years agorename to match glibc
Mike Frysinger [Sun, 29 Jan 2006 16:01:23 +0000 (16:01 -0000)]
rename to match glibc

18 years agorename to match glibc
Mike Frysinger [Sun, 29 Jan 2006 16:00:49 +0000 (16:00 -0000)]
rename to match glibc

18 years agosync with glibc and rename socket vars to _socket
Mike Frysinger [Sun, 29 Jan 2006 15:58:07 +0000 (15:58 -0000)]
sync with glibc and rename socket vars to _socket

18 years agocreate local prototype for __libc_sigaction
Mike Frysinger [Sun, 29 Jan 2006 15:51:14 +0000 (15:51 -0000)]
create local prototype for __libc_sigaction

18 years agoremove unneeded duplicate sid definition
Mike Frysinger [Sun, 29 Jan 2006 15:44:35 +0000 (15:44 -0000)]
remove unneeded duplicate sid definition

18 years agosync with glibc
Mike Frysinger [Sun, 29 Jan 2006 15:44:11 +0000 (15:44 -0000)]
sync with glibc

18 years agorename local tty variable to not shadow tty func
Mike Frysinger [Sun, 29 Jan 2006 15:37:25 +0000 (15:37 -0000)]
rename local tty variable to not shadow tty func

18 years agono point in redeclaring oldcount locally
Mike Frysinger [Sun, 29 Jan 2006 15:34:56 +0000 (15:34 -0000)]
no point in redeclaring oldcount locally

18 years agono point in declaring save_err locally
Mike Frysinger [Sun, 29 Jan 2006 15:34:07 +0000 (15:34 -0000)]
no point in declaring save_err locally

18 years agocreate local prototypes to shutup warnings
Mike Frysinger [Sun, 29 Jan 2006 15:32:48 +0000 (15:32 -0000)]
create local prototypes to shutup warnings

18 years agocreate a local prototype to shutup warnings
Mike Frysinger [Sun, 29 Jan 2006 15:27:02 +0000 (15:27 -0000)]
create a local prototype to shutup warnings

18 years agojust use the common ptrace version
Mike Frysinger [Sun, 29 Jan 2006 15:26:06 +0000 (15:26 -0000)]
just use the common ptrace version

18 years agorename exp to _exp for sake of shadow warnings
Mike Frysinger [Sun, 29 Jan 2006 15:22:54 +0000 (15:22 -0000)]
rename exp to _exp for sake of shadow warnings

18 years agochange variable names so we dont shadow others
Mike Frysinger [Sun, 29 Jan 2006 15:17:59 +0000 (15:17 -0000)]
change variable names so we dont shadow others

18 years agouse diff variable names so we dont shadow each other
Mike Frysinger [Sun, 29 Jan 2006 15:14:12 +0000 (15:14 -0000)]
use diff variable names so we dont shadow each other

18 years agorename index variable to idx to "fix" shadow warning
Mike Frysinger [Sun, 29 Jan 2006 15:10:17 +0000 (15:10 -0000)]
rename index variable to idx to "fix" shadow warning

18 years agothe timer_* funcs have been implemented in librt so enable their prototypes
Mike Frysinger [Sun, 29 Jan 2006 15:08:58 +0000 (15:08 -0000)]
the timer_* funcs have been implemented in librt so enable their prototypes

18 years agoundefine stupid defines from the kernel
Mike Frysinger [Sun, 29 Jan 2006 15:03:04 +0000 (15:03 -0000)]
undefine stupid defines from the kernel

18 years agoBernhard Fischer writes: remove unused variable name
Mike Frysinger [Sun, 29 Jan 2006 09:12:16 +0000 (09:12 -0000)]
Bernhard Fischer writes: remove unused variable name

18 years agoremove excess whitespace
Mike Frysinger [Sun, 29 Jan 2006 09:08:02 +0000 (09:08 -0000)]
remove excess whitespace

18 years agoBernhard Fischer writes: remove unused variables
Mike Frysinger [Sun, 29 Jan 2006 09:00:06 +0000 (09:00 -0000)]
Bernhard Fischer writes: remove unused variables

18 years agosync iruserfopen() prototype with glibc and remove double setting of cp to NULL by...
Mike Frysinger [Sun, 29 Jan 2006 08:58:01 +0000 (08:58 -0000)]
sync iruserfopen() prototype with glibc and remove double setting of cp to NULL by Bernard Fischer

18 years agoBernhard Fischer writes: remove unused variable __rcmd_errstr
Mike Frysinger [Sun, 29 Jan 2006 08:51:59 +0000 (08:51 -0000)]
Bernhard Fischer writes: remove unused variable __rcmd_errstr

18 years agosmall sync with glibc
Mike Frysinger [Sun, 29 Jan 2006 08:50:24 +0000 (08:50 -0000)]
small sync with glibc

18 years agoAdd split up multi sources,IMA compiling,build dependencies
Peter S. Mazinger [Fri, 27 Jan 2006 22:02:23 +0000 (22:02 -0000)]
Add split up multi sources,IMA compiling,build dependencies

18 years agoTODOs for the VAX port.
"Jan-Benedict Glaw" [Fri, 27 Jan 2006 21:47:58 +0000 (21:47 -0000)]
TODOs for the VAX port.

18 years agoDo not build *64 and llseek, correct some failure when LFS is disabled
Peter S. Mazinger [Fri, 27 Jan 2006 21:26:40 +0000 (21:26 -0000)]
Do not build *64 and llseek, correct some failure when LFS is disabled

18 years agoFirst round of VAX patches. This isn't complete right now, there are for
"Jan-Benedict Glaw" [Fri, 27 Jan 2006 21:20:28 +0000 (21:20 -0000)]
First round of VAX patches. This isn't complete right now, there are for
sure still bugs (properly hidden, of course), a libm is completely missing
(I've got one that implements some basic stuff, but that's really not
ready for checking in...)

I've also got a list of other things that need touch-ups, but that's mostly
minor stuff that'll be done during the next days.

18 years agouse attribute_unused instead of hardcoded
Peter S. Mazinger [Fri, 27 Jan 2006 21:16:02 +0000 (21:16 -0000)]
use attribute_unused instead of hardcoded

18 years agoremove comment
Peter S. Mazinger [Fri, 27 Jan 2006 21:15:19 +0000 (21:15 -0000)]
remove comment

18 years agoDisabled NULL error_print_progname, useless
Peter S. Mazinger [Fri, 27 Jan 2006 19:28:18 +0000 (19:28 -0000)]
Disabled NULL error_print_progname, useless

18 years agoUpdate copyright and comment
Peter S. Mazinger [Fri, 27 Jan 2006 19:26:42 +0000 (19:26 -0000)]
Update copyright and comment

18 years agoSome warnings go away
Peter S. Mazinger [Fri, 27 Jan 2006 17:50:52 +0000 (17:50 -0000)]
Some warnings go away