OSDN Git Service

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

18 years agoAdd some prototypes to arch specific pread_write.c, mips has __mips64 questionable...
Peter S. Mazinger [Fri, 27 Jan 2006 15:37:19 +0000 (15:37 -0000)]
Add some prototypes to arch specific pread_write.c, mips has __mips64 questionable ifdefs

18 years agoAdd back explicit prototype, archs miss sys/io.h, remove m68k exclusion
Peter S. Mazinger [Fri, 27 Jan 2006 15:18:17 +0000 (15:18 -0000)]
Add back explicit prototype, archs miss sys/io.h, remove m68k exclusion

18 years agos|sys/perm.h|sys/io.h|, thx vapier
Peter S. Mazinger [Fri, 27 Jan 2006 14:57:54 +0000 (14:57 -0000)]
s|sys/perm.h|sys/io.h|, thx vapier

18 years agoThe VAX gas cannot (yet) cope with the tricks played here, so I'm grounding
"Jan-Benedict Glaw" [Fri, 27 Jan 2006 06:18:25 +0000 (06:18 -0000)]
The VAX gas cannot (yet) cope with the tricks played here, so I'm grounding
linktime warnings for now.

18 years agoupdate copyright
Mike Frysinger [Fri, 27 Jan 2006 05:28:00 +0000 (05:28 -0000)]
update copyright

18 years agojust exec the cat
Mike Frysinger [Fri, 27 Jan 2006 05:22:43 +0000 (05:22 -0000)]
just exec the cat

18 years agotry at crt1 code by tweaking crt0.c and utilizing the -S output of gcc
Mike Frysinger [Fri, 27 Jan 2006 00:08:15 +0000 (00:08 -0000)]
try at crt1 code by tweaking crt0.c and utilizing the -S output of gcc

18 years agoTobias no longer works for axis
Mike Frysinger [Thu, 26 Jan 2006 23:52:22 +0000 (23:52 -0000)]
Tobias no longer works for axis

18 years agodisable -z now by default
Mike Frysinger [Thu, 26 Jan 2006 23:51:25 +0000 (23:51 -0000)]
disable -z now by default

18 years agotouchup style to match other arch versions
Mike Frysinger [Thu, 26 Jan 2006 23:51:09 +0000 (23:51 -0000)]
touchup style to match other arch versions

18 years agomake sure we include the local sysdep.h header
Mike Frysinger [Thu, 26 Jan 2006 23:50:49 +0000 (23:50 -0000)]
make sure we include the local sysdep.h header

18 years agoremove things that libc-symbols.h already defines for us
Mike Frysinger [Thu, 26 Jan 2006 23:50:01 +0000 (23:50 -0000)]
remove things that libc-symbols.h already defines for us

18 years agocris uses @ for asm line separations
Mike Frysinger [Thu, 26 Jan 2006 23:49:27 +0000 (23:49 -0000)]
cris uses @ for asm line separations

18 years agoRicard Wanderlof writes:
Mike Frysinger [Thu, 26 Jan 2006 23:48:44 +0000 (23:48 -0000)]
Ricard Wanderlof writes:
Here's a patch to avoid a name clash between include/bits/byteswap.h and the
kernel include file <linux/byteorder/swab.h> . (Normally both aren't
included by the same file, but we've had one case where a conflict occurred
at link time, thus necessitating the patch). I've also taken the opportunity
to make the general structure and namespace of the file similar to the
corresponding file for other archs.

18 years agoprototypes for threads too
Peter S. Mazinger [Thu, 26 Jan 2006 22:30:50 +0000 (22:30 -0000)]
prototypes for threads too

18 years agoSome more prototypes, enable missing-prototypes/declarations warnings for now
Peter S. Mazinger [Thu, 26 Jan 2006 22:19:01 +0000 (22:19 -0000)]
Some more prototypes, enable missing-prototypes/declarations warnings for now

18 years agoGet rid of missing prototype warnings
Peter S. Mazinger [Thu, 26 Jan 2006 22:04:19 +0000 (22:04 -0000)]
Get rid of missing prototype warnings

18 years agoReally define, not undefine the crash statement...
"Jan-Benedict Glaw" [Thu, 26 Jan 2006 21:44:45 +0000 (21:44 -0000)]
Really define, not undefine the crash statement...

18 years agoAllow for targets that don't know about signed zero floats.
"Jan-Benedict Glaw" [Thu, 26 Jan 2006 20:50:21 +0000 (20:50 -0000)]
Allow for targets that don't know about signed zero floats.

18 years agoEnable gcvt in header, we build it
Peter S. Mazinger [Thu, 26 Jan 2006 18:44:37 +0000 (18:44 -0000)]
Enable gcvt in header, we build it

18 years agoCorrect mips, does mips ever be similar to others ;-(
Peter S. Mazinger [Thu, 26 Jan 2006 10:54:11 +0000 (10:54 -0000)]
Correct mips, does mips ever be similar to others ;-(

18 years agoGuard the use of sigreturn as in x86_64, thx blindvt
Peter S. Mazinger [Wed, 25 Jan 2006 21:00:40 +0000 (21:00 -0000)]
Guard the use of sigreturn as in x86_64, thx blindvt

18 years agohidden_strong_alias gone and won't be added back because it causes trouble
Peter S. Mazinger [Wed, 25 Jan 2006 20:36:34 +0000 (20:36 -0000)]
hidden_strong_alias gone and won't be added back because it causes trouble

18 years agoModify the earlier changes, because libc-lock references __pthread_mutex*, dont use...
Peter S. Mazinger [Wed, 25 Jan 2006 20:35:27 +0000 (20:35 -0000)]
Modify the earlier changes, because libc-lock references __pthread_mutex*, dont use hidden_strong_alias

18 years agoUse #define __NR_vfork __NR_fork consistently
Peter S. Mazinger [Wed, 25 Jan 2006 19:41:22 +0000 (19:41 -0000)]
Use #define __NR_vfork __NR_fork consistently

18 years agoerror_message_count got lost
Peter S. Mazinger [Wed, 25 Jan 2006 15:31:44 +0000 (15:31 -0000)]
error_message_count got lost

18 years agomake use of the internals provided earlier
Peter S. Mazinger [Wed, 25 Jan 2006 14:59:17 +0000 (14:59 -0000)]
make use of the internals provided earlier

18 years agoKeep only hidden __pthread_mutex_* used in libc, change pthread_mutex_* to use intern...
Peter S. Mazinger [Wed, 25 Jan 2006 14:58:26 +0000 (14:58 -0000)]
Keep only hidden __pthread_mutex_* used in libc, change pthread_mutex_* to use internal version, provide pthread_mutexattr_* internal versions, remove unused __pthread_mutex_timedlock

18 years agoRemove unused prototype
Peter S. Mazinger [Wed, 25 Jan 2006 14:56:13 +0000 (14:56 -0000)]
Remove unused prototype

18 years agouser internal versions of waitpid/raise/nanosleep
Peter S. Mazinger [Wed, 25 Jan 2006 14:53:46 +0000 (14:53 -0000)]
user internal versions of waitpid/raise/nanosleep

18 years agoprovide internal nanosleep/waitpid/sigaction/raise
Peter S. Mazinger [Wed, 25 Jan 2006 14:50:38 +0000 (14:50 -0000)]
provide internal nanosleep/waitpid/sigaction/raise

18 years agolongjmp should use __libc_longjmp, use __typeof again now that it works correctly
Peter S. Mazinger [Wed, 25 Jan 2006 14:49:10 +0000 (14:49 -0000)]
longjmp should use __libc_longjmp, use __typeof again now that it works correctly

18 years agos/IS_IN_linuxthreads/IS_IN_libpthread/
Peter S. Mazinger [Wed, 25 Jan 2006 14:48:02 +0000 (14:48 -0000)]
s/IS_IN_linuxthreads/IS_IN_libpthread/

18 years agofirst (broken) pass at updating to new crt style
Mike Frysinger [Tue, 24 Jan 2006 23:49:03 +0000 (23:49 -0000)]
first (broken) pass at updating to new crt style