OSDN Git Service

uclinux-h8/uClibc.git
18 years agosync with glibc
Mike Frysinger [Wed, 17 May 2006 04:58:47 +0000 (04:58 -0000)]
sync with glibc

18 years agofold bfin-specific link.h back into common one as suggested by Peter S. Mazinger
Mike Frysinger [Wed, 17 May 2006 04:55:28 +0000 (04:55 -0000)]
fold bfin-specific link.h back into common one as suggested by Peter S. Mazinger

18 years agofix damaged whitespace/style
Mike Frysinger [Wed, 17 May 2006 04:51:14 +0000 (04:51 -0000)]
fix damaged whitespace/style

18 years agorestore proper comment headers as well as cut pointless includes as pointed out by...
Mike Frysinger [Wed, 17 May 2006 04:48:58 +0000 (04:48 -0000)]
restore proper comment headers as well as cut pointless includes as pointed out by Peter S. Mazinger

18 years agofix by Peter S. Mazinger: use system attribute_hidden rather than local copy
Mike Frysinger [Wed, 17 May 2006 04:44:21 +0000 (04:44 -0000)]
fix by Peter S. Mazinger: use system attribute_hidden rather than local copy

18 years agofix by Peter S. Mazinger: use c99-compliant asm keyword
Mike Frysinger [Wed, 17 May 2006 04:43:14 +0000 (04:43 -0000)]
fix by Peter S. Mazinger: use c99-compliant asm keyword

18 years agofix by Peter S. Mazinger: use sys/syscall.h instead of asm/unistd.h
Mike Frysinger [Wed, 17 May 2006 04:42:25 +0000 (04:42 -0000)]
fix by Peter S. Mazinger: use sys/syscall.h instead of asm/unistd.h

18 years agofix by Peter S. Mazinger: use sys/syscall.h (bits/sysnum.h) instead of asm/unistd.h
Mike Frysinger [Wed, 17 May 2006 04:40:06 +0000 (04:40 -0000)]
fix by Peter S. Mazinger: use sys/syscall.h (bits/sysnum.h) instead of asm/unistd.h

18 years agouse cp -P instead of cp -d as pointed out by David DeHaven
Mike Frysinger [Tue, 16 May 2006 18:05:41 +0000 (18:05 -0000)]
use cp -P instead of cp -d as pointed out by David DeHaven

18 years agore-enable global constructors and destructors for bfin
Mike Frysinger [Mon, 15 May 2006 22:50:51 +0000 (22:50 -0000)]
re-enable global constructors and destructors for bfin

18 years agoupdates from Bernd Schmidt to sync with blackfin cvs
Mike Frysinger [Mon, 15 May 2006 22:49:35 +0000 (22:49 -0000)]
updates from Bernd Schmidt to sync with blackfin cvs

18 years agofix signed warnings
Mike Frysinger [Mon, 15 May 2006 22:40:15 +0000 (22:40 -0000)]
fix signed warnings

18 years agocut out _FORTIFY_SOURCE
Mike Frysinger [Fri, 12 May 2006 03:28:13 +0000 (03:28 -0000)]
cut out _FORTIFY_SOURCE

18 years agosync with glibc
Mike Frysinger [Sat, 6 May 2006 06:34:45 +0000 (06:34 -0000)]
sync with glibc

18 years agoexpand comment a little more as to why _stdio_init() is weak thanks to mjn3
Mike Frysinger [Sat, 6 May 2006 04:32:07 +0000 (04:32 -0000)]
expand comment a little more as to why _stdio_init() is weak thanks to mjn3

18 years agofix by Bernd Schmidt to support HAVE_ASM_SET_DIRECTIVE in weak_alias() macros
Mike Frysinger [Thu, 4 May 2006 15:18:05 +0000 (15:18 -0000)]
fix by Bernd Schmidt to support HAVE_ASM_SET_DIRECTIVE in weak_alias() macros

18 years agomerge some more minor changes from glibc
Mike Frysinger [Thu, 4 May 2006 15:09:52 +0000 (15:09 -0000)]
merge some more minor changes from glibc

18 years agosync minor changes with glibc
Mike Frysinger [Thu, 4 May 2006 14:50:17 +0000 (14:50 -0000)]
sync minor changes with glibc

18 years agouse weak_alias() for data symbols, not strong_alias()
Mike Frysinger [Thu, 4 May 2006 14:44:13 +0000 (14:44 -0000)]
use weak_alias() for data symbols, not strong_alias()

18 years agosteal bfin maintainership from erik
Mike Frysinger [Wed, 3 May 2006 23:00:51 +0000 (23:00 -0000)]
steal bfin maintainership from erik

18 years agoJoseph S. Myers writes: The MIPS <bits/mman.h> header is missing definitions of POSIX...
Mike Frysinger [Fri, 21 Apr 2006 01:34:36 +0000 (01:34 -0000)]
Joseph S. Myers writes: The MIPS <bits/mman.h> header is missing definitions of POSIX_MADV_*

18 years agosync with glibc
Mike Frysinger [Fri, 21 Apr 2006 01:33:25 +0000 (01:33 -0000)]
sync with glibc

18 years agoadd a note as to why mips is special
Mike Frysinger [Thu, 20 Apr 2006 01:02:37 +0000 (01:02 -0000)]
add a note as to why mips is special

18 years agoprune trailing whitespace
Eric Andersen [Thu, 13 Apr 2006 20:00:30 +0000 (20:00 -0000)]
prune trailing whitespace

18 years agodoh, forgot to copy the final \0
Eric Andersen [Wed, 12 Apr 2006 22:49:36 +0000 (22:49 -0000)]
doh, forgot to copy the final \0

18 years agomicro-optimization -- we already know how long the source is
Eric Andersen [Wed, 12 Apr 2006 22:48:24 +0000 (22:48 -0000)]
micro-optimization -- we already know how long the source is

18 years agocleanup whitespace
Eric Andersen [Wed, 12 Apr 2006 22:41:58 +0000 (22:41 -0000)]
cleanup whitespace

18 years agofixup a big 'ol memory leak in search_for_named_library()
Eric Andersen [Wed, 12 Apr 2006 22:36:16 +0000 (22:36 -0000)]
fixup a big 'ol memory leak in search_for_named_library()

18 years agoremove old cruft that doesnt matter for uClibc and breaks anyways when using -std=c99
Mike Frysinger [Fri, 7 Apr 2006 23:15:27 +0000 (23:15 -0000)]
remove old cruft that doesnt matter for uClibc and breaks anyways when using -std=c99

18 years agodrop the trigraphs warning ... there is no reason that we actually want to use trigra...
Mike Frysinger [Fri, 31 Mar 2006 03:40:53 +0000 (03:40 -0000)]
drop the trigraphs warning ... there is no reason that we actually want to use trigraphs in uClibc, so if one exists, we should be cutting it out, not ignoring it

18 years agosync with glibc
Mike Frysinger [Wed, 29 Mar 2006 05:46:47 +0000 (05:46 -0000)]
sync with glibc

18 years agoFix from Thomas Brinker for byte swapping on Coldfire processors and tested by Richar...
Mike Frysinger [Tue, 28 Mar 2006 18:22:17 +0000 (18:22 -0000)]
Fix from Thomas Brinker for byte swapping on Coldfire processors and tested by Richard Sandiford

18 years agoRevert change to remove 'error_print_progname' so that gettext will build. It can...
"Steven J. Hill" [Mon, 27 Mar 2006 12:49:24 +0000 (12:49 -0000)]
Revert change to remove 'error_print_progname' so that gettext will build. It can be commented out again when someone figures out how to fix gettext building and do the proper thing.

18 years agotypo stderrr
Peter S. Mazinger [Fri, 24 Mar 2006 23:07:07 +0000 (23:07 -0000)]
typo stderrr

18 years agoCorrect build failure introduced by SUSV3_LEGACY option
Peter S. Mazinger [Fri, 24 Mar 2006 16:59:45 +0000 (16:59 -0000)]
Correct build failure introduced by SUSV3_LEGACY option

18 years agoNow new linuxthreads builds w/ SHARED
Peter S. Mazinger [Fri, 24 Mar 2006 13:45:02 +0000 (13:45 -0000)]
Now new linuxthreads builds w/ SHARED

18 years agoRemove redundant redefine of __clone
Peter S. Mazinger [Fri, 24 Mar 2006 13:43:37 +0000 (13:43 -0000)]
Remove redundant redefine of __clone

18 years agos/staticly/statically/, thx Bernhard Fischer
Peter S. Mazinger [Fri, 24 Mar 2006 13:00:29 +0000 (13:00 -0000)]
s/staticly/statically/, thx Bernhard Fischer

18 years agoGuard GL(name) and it's users w/ SHARED
Peter S. Mazinger [Fri, 24 Mar 2006 12:34:00 +0000 (12:34 -0000)]
Guard GL(name) and it's users w/ SHARED

18 years agoMove hidden xdr_rmtcall_args prototype before first use
Peter S. Mazinger [Fri, 24 Mar 2006 12:32:38 +0000 (12:32 -0000)]
Move hidden xdr_rmtcall_args prototype before first use

18 years agoRichard Sandiford writes:
Mike Frysinger [Fri, 24 Mar 2006 00:16:17 +0000 (00:16 -0000)]
Richard Sandiford writes:
m68k is one of those targets that does not accept -fPIC across the board.
It is supported for 68020 and above, but not for 68000, 68010, or Coldfire,
where using -fPIC leads to a compiler error.  (Note that the error is flagged
by cc1 proper, so it probably wouldn't have mattered with older compilers.
It only matters now because cc1 is used to preprocess assembly code.)
The attached patch makes m68k targets use -fpic instead of -fPIC.

18 years agoCorrect typo
Peter S. Mazinger [Thu, 23 Mar 2006 19:43:20 +0000 (19:43 -0000)]
Correct typo

18 years agoAdd new option for SuSv3 legacy functions and use it for bcopy/bzero/bcmp/index/rindex
Peter S. Mazinger [Thu, 23 Mar 2006 17:19:42 +0000 (17:19 -0000)]
Add new option for SuSv3 legacy functions and use it for bcopy/bzero/bcmp/index/rindex

18 years agoforgotten to update gettimeofday here as well
Peter S. Mazinger [Thu, 23 Mar 2006 11:40:05 +0000 (11:40 -0000)]
forgotten to update gettimeofday here as well

18 years agoSync w/ string.h, glibc version is out of date
Peter S. Mazinger [Thu, 23 Mar 2006 11:33:52 +0000 (11:33 -0000)]
Sync w/ string.h, glibc version is out of date

18 years agoMark some functions as BSD only
Peter S. Mazinger [Thu, 23 Mar 2006 11:17:41 +0000 (11:17 -0000)]
Mark some functions as BSD only

18 years agoselect needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not defined...
Peter S. Mazinger [Thu, 23 Mar 2006 11:14:16 +0000 (11:14 -0000)]
select needs sys/select.h, str[n]casecmp/ffs needs strings.h, if BSD is not defined, gettimeofday has other prototype and tm_gmtoff/tm_zone do not exist

18 years agoRichard Sandiford writes:
Mike Frysinger [Thu, 23 Mar 2006 03:16:41 +0000 (03:16 -0000)]
Richard Sandiford writes:
This patch fixes a miscompilation of mmap() for Coldfire with gcc 4.x.
The problem was that the syscall was being invoked before any part of
the argument structure (buffer[]) had been initialised.

The outcome of gcc PR 19341 is that volatile asms don't implicitly
use or clobber memory, and that "memory" must be explicitly listed
in the clobber list:

    http://gcc.gnu.org/PR19341

All syscalls can potentially use or clobber memory, so this patch
adds a "memory" clobber to all the m68k syscall wrappers that I
could find.

18 years agoMark SVID functions
Peter S. Mazinger [Wed, 22 Mar 2006 20:43:35 +0000 (20:43 -0000)]
Mark SVID functions

18 years agoEnable EXTRA_WARNINGS on DODEBUG
Peter S. Mazinger [Wed, 22 Mar 2006 20:39:23 +0000 (20:39 -0000)]
Enable EXTRA_WARNINGS on DODEBUG

18 years agoGuard matherr/__kernel_standard w/ _IEEE_LIBM, we do not use them, save 7,6k
Peter S. Mazinger [Wed, 22 Mar 2006 20:00:25 +0000 (20:00 -0000)]
Guard matherr/__kernel_standard w/ _IEEE_LIBM, we do not use them, save 7,6k

18 years agoCorrect build if UCLIBC_HAS_CTYPE_TABLES is not defined
Peter S. Mazinger [Wed, 22 Mar 2006 17:28:37 +0000 (17:28 -0000)]
Correct build if UCLIBC_HAS_CTYPE_TABLES is not defined

18 years agoMark some functions as GNU, provide missing hidden memmem, remove _ISOC99/XOPEN_SOURCE
Peter S. Mazinger [Wed, 22 Mar 2006 15:49:22 +0000 (15:49 -0000)]
Mark some functions as GNU, provide missing hidden memmem, remove _ISOC99/XOPEN_SOURCE

18 years agoComment __USE_UNIX98, not needed, add __glibc_strerror_r prototype for non-GNU
Peter S. Mazinger [Wed, 22 Mar 2006 15:43:28 +0000 (15:43 -0000)]
Comment __USE_UNIX98, not needed, add __glibc_strerror_r prototype for non-GNU

18 years agoComment __mbrlen
Peter S. Mazinger [Wed, 22 Mar 2006 15:41:52 +0000 (15:41 -0000)]
Comment __mbrlen

18 years agosome more fixes from rholzmann in Bug 716 ... make sure the code actually functions...
Mike Frysinger [Wed, 22 Mar 2006 00:31:24 +0000 (00:31 -0000)]
some more fixes from rholzmann in Bug 716 ... make sure the code actually functions, then we worry about shrinking it ...

18 years agostderr does not have hidden version anymore, disable it's use
Peter S. Mazinger [Tue, 21 Mar 2006 19:54:34 +0000 (19:54 -0000)]
stderr does not have hidden version anymore, disable it's use

18 years agoReplace __THROW w/ __NTH pointed out by Amir Shalem, take 2
Peter S. Mazinger [Mon, 20 Mar 2006 09:42:12 +0000 (09:42 -0000)]
Replace __THROW w/ __NTH pointed out by Amir Shalem, take 2

18 years agoReplace __THROW w/ __NTH pointed out by Amir Shalem
Peter S. Mazinger [Mon, 20 Mar 2006 09:41:37 +0000 (09:41 -0000)]
Replace __THROW w/ __NTH pointed out by Amir Shalem

18 years agoGuard the reentrant prototypes w/ appropiate config option
Peter S. Mazinger [Sun, 19 Mar 2006 18:15:11 +0000 (18:15 -0000)]
Guard the reentrant prototypes w/ appropiate config option

18 years agokeep uclibc features in the source
Mike Frysinger [Sat, 18 Mar 2006 04:08:39 +0000 (04:08 -0000)]
keep uclibc features in the source

18 years agoFix 'realloc' and revert previous changes to tests. malloc tests all pass regardless...
"Steven J. Hill" [Fri, 17 Mar 2006 03:00:05 +0000 (03:00 -0000)]
Fix 'realloc' and revert previous changes to tests. malloc tests all pass regardless of the setting of MALLOC_GLIBC_COMPAT.

18 years agoFix tests to work if MALLOC_GLIBC_COMPAT is enabled.
"Steven J. Hill" [Fri, 17 Mar 2006 02:43:51 +0000 (02:43 -0000)]
Fix tests to work if MALLOC_GLIBC_COMPAT is enabled.

18 years agoIf locale support is not enabled, don't build 'tst_ftime_l'.
"Steven J. Hill" [Fri, 17 Mar 2006 00:30:39 +0000 (00:30 -0000)]
If locale support is not enabled, don't build 'tst_ftime_l'.

18 years agoDo NOT hide 'utime'. When building binutils for the target using buildroot
"Steven J. Hill" [Thu, 16 Mar 2006 03:07:29 +0000 (03:07 -0000)]
Do NOT hide 'utime'. When building binutils for the target using buildroot
it was undefined. How about when you finish playing hide and seek with
symbols you do a complete buildroot build and see if everything really
works. $!#@$!#@

18 years agosync with glibc
Mike Frysinger [Sat, 11 Mar 2006 04:32:08 +0000 (04:32 -0000)]
sync with glibc

18 years agofix gcc warnings
Mike Frysinger [Sat, 11 Mar 2006 04:31:53 +0000 (04:31 -0000)]
fix gcc warnings

18 years agosync with glibc
Mike Frysinger [Fri, 10 Mar 2006 23:40:36 +0000 (23:40 -0000)]
sync with glibc

18 years agoRemove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, most...
Peter S. Mazinger [Fri, 10 Mar 2006 16:20:23 +0000 (16:20 -0000)]
Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, most of global data relocations are back

18 years agoRemove duplicate hidden __curbrk (ppc), make use of the hidden versions
Peter S. Mazinger [Fri, 10 Mar 2006 08:50:27 +0000 (08:50 -0000)]
Remove duplicate hidden __curbrk (ppc), make use of the hidden versions

18 years agoAdd comment why --gc-sections is ignored
Peter S. Mazinger [Fri, 10 Mar 2006 08:21:46 +0000 (08:21 -0000)]
Add comment why --gc-sections is ignored

18 years agoupdate ignores
Mike Frysinger [Fri, 10 Mar 2006 00:42:06 +0000 (00:42 -0000)]
update ignores

18 years agoshouldnt have been added to svn
Mike Frysinger [Fri, 10 Mar 2006 00:40:12 +0000 (00:40 -0000)]
shouldnt have been added to svn

18 years agosync with glibc CVS
Mike Frysinger [Fri, 10 Mar 2006 00:39:38 +0000 (00:39 -0000)]
sync with glibc CVS

18 years agotry to get libpthread built w/ -DSHARED, what to do w/ _dl_load_lock?
Peter S. Mazinger [Fri, 10 Mar 2006 00:38:24 +0000 (00:38 -0000)]
try to get libpthread built w/ -DSHARED, what to do w/ _dl_load_lock?

18 years agoblah, glibc moved linuxthreads around
Mike Frysinger [Thu, 9 Mar 2006 23:30:13 +0000 (23:30 -0000)]
blah, glibc moved linuxthreads around

18 years agoAdd back XLOCALE for hidden uselocale
Peter S. Mazinger [Thu, 9 Mar 2006 22:08:41 +0000 (22:08 -0000)]
Add back XLOCALE for hidden uselocale

18 years agoDisable --gc-sections until I find why it is ignored on some configurations
Peter S. Mazinger [Thu, 9 Mar 2006 17:53:05 +0000 (17:53 -0000)]
Disable --gc-sections until I find why it is ignored on some configurations

18 years agoUse GNU features only if defined in header
Peter S. Mazinger [Thu, 9 Mar 2006 17:26:16 +0000 (17:26 -0000)]
Use GNU features only if defined in header

18 years agoSync w/ upstream, hide pthread_atfork
Peter S. Mazinger [Thu, 9 Mar 2006 15:43:42 +0000 (15:43 -0000)]
Sync w/ upstream, hide pthread_atfork

18 years agoNot the best idea moving libc_hidden_proto to uClibc_glue.h
Peter S. Mazinger [Thu, 9 Mar 2006 15:18:36 +0000 (15:18 -0000)]
Not the best idea moving libc_hidden_proto to uClibc_glue.h

18 years agoGet rid of forwarded __pthread_attr_init
Peter S. Mazinger [Thu, 9 Mar 2006 14:54:24 +0000 (14:54 -0000)]
Get rid of forwarded __pthread_attr_init

18 years agoMove __clone/__uselocale to uClibc_glue.h
Peter S. Mazinger [Thu, 9 Mar 2006 14:53:12 +0000 (14:53 -0000)]
Move __clone/__uselocale to uClibc_glue.h

18 years agoRemove unneeded ; after *_alias
Peter S. Mazinger [Thu, 9 Mar 2006 12:23:51 +0000 (12:23 -0000)]
Remove unneeded ; after *_alias

18 years agoCreate libpthread_nonshared.a
Peter S. Mazinger [Thu, 9 Mar 2006 12:10:57 +0000 (12:10 -0000)]
Create libpthread_nonshared.a

18 years agoAdd common part of linker scripts to a file and make use of it
Peter S. Mazinger [Thu, 9 Mar 2006 12:05:25 +0000 (12:05 -0000)]
Add common part of linker scripts to a file and make use of it

18 years agoAdd support for libpthread_nonshared.a, strip the objects in *nonshared*
Peter S. Mazinger [Thu, 9 Mar 2006 12:03:33 +0000 (12:03 -0000)]
Add support for libpthread_nonshared.a, strip the objects in *nonshared*

18 years agouClibc_pthread.h wasn't ever included
Peter S. Mazinger [Thu, 9 Mar 2006 11:26:07 +0000 (11:26 -0000)]
uClibc_pthread.h wasn't ever included

18 years agoGet rid of nested extern warnings if threads are disabled
Peter S. Mazinger [Thu, 9 Mar 2006 09:09:51 +0000 (09:09 -0000)]
Get rid of nested extern warnings if threads are disabled

18 years agoRemove __libc_internal_tsd_{s,g}et, they do not exist anymore
Peter S. Mazinger [Thu, 9 Mar 2006 08:58:16 +0000 (08:58 -0000)]
Remove __libc_internal_tsd_{s,g}et, they do not exist anymore

18 years agoAdd back sjhill's 14625 commit, correcting the typo that made it fail
Peter S. Mazinger [Thu, 9 Mar 2006 08:55:34 +0000 (08:55 -0000)]
Add back sjhill's 14625 commit, correcting the typo that made it fail

18 years agofix build/segv issues as reported and fixed by Brent Cook
Mike Frysinger [Thu, 9 Mar 2006 06:11:14 +0000 (06:11 -0000)]
fix build/segv issues as reported and fixed by Brent Cook

18 years agogetopt_long-simple behaves as gnu getopt if POSIXLY_CORRECT is set, adapt test
Peter S. Mazinger [Wed, 8 Mar 2006 21:05:57 +0000 (21:05 -0000)]
getopt_long-simple behaves as gnu getopt if POSIXLY_CORRECT is set, adapt test

18 years agomacro out the /10 operation so arches can have their own versions ... and create...
Mike Frysinger [Wed, 8 Mar 2006 03:58:13 +0000 (03:58 -0000)]
macro out the /10 operation so arches can have their own versions ... and create some default macros for do_rem/do_div_10 so we dont duplicate the samething in many arch header files

18 years agokill off gcc signed warnings
Mike Frysinger [Wed, 8 Mar 2006 01:58:01 +0000 (01:58 -0000)]
kill off gcc signed warnings

18 years agoRemove additional endif pointed out by vapier
Peter S. Mazinger [Tue, 7 Mar 2006 16:40:34 +0000 (16:40 -0000)]
Remove additional endif pointed out by vapier

18 years agoAdd UCLIBC_HAS_SSP_COMPAT option guarding gcc-3.x ssp support
Peter S. Mazinger [Tue, 7 Mar 2006 09:23:24 +0000 (09:23 -0000)]
Add UCLIBC_HAS_SSP_COMPAT option guarding gcc-3.x ssp support

18 years agodisable tst-gnuglob, it has no chance w/ our gnu glob
Peter S. Mazinger [Sun, 5 Mar 2006 16:04:08 +0000 (16:04 -0000)]
disable tst-gnuglob, it has no chance w/ our gnu glob

18 years agocheck_ld takes only 1 arg as pointed out by pkj
Peter S. Mazinger [Sun, 5 Mar 2006 16:01:03 +0000 (16:01 -0000)]
check_ld takes only 1 arg as pointed out by pkj

18 years agouse sched_yield, not pthread_yield
Mike Frysinger [Sun, 5 Mar 2006 04:31:16 +0000 (04:31 -0000)]
use sched_yield, not pthread_yield