OSDN Git Service
Mike Frysinger [Mon, 19 Jun 2006 03:43:20 +0000 (03:43 -0000)]
use internal aliases for static objects as well
Mike Frysinger [Mon, 19 Jun 2006 01:54:33 +0000 (01:54 -0000)]
sync fix fixes from glibc
Mike Frysinger [Mon, 19 Jun 2006 01:48:41 +0000 (01:48 -0000)]
kill off sysfs()
Mike Frysinger [Mon, 19 Jun 2006 01:19:21 +0000 (01:19 -0000)]
touchup printf format to fix warning
Mike Frysinger [Mon, 19 Jun 2006 01:16:44 +0000 (01:16 -0000)]
dont shadow the socket() function
Mike Frysinger [Mon, 19 Jun 2006 01:13:53 +0000 (01:13 -0000)]
include sys/mount.h for everyone
Mike Frysinger [Mon, 19 Jun 2006 01:06:53 +0000 (01:06 -0000)]
need hidden alias
Mike Frysinger [Mon, 19 Jun 2006 00:45:38 +0000 (00:45 -0000)]
if $(LD) doesnt support --help, dont warn about it (stupid Darwin users)
Mike Frysinger [Sun, 18 Jun 2006 04:32:38 +0000 (04:32 -0000)]
blackfin needs different type for ssize_t
Mike Frysinger [Fri, 16 Jun 2006 03:27:00 +0000 (03:27 -0000)]
sync change from glibc for larger path max
Mike Frysinger [Thu, 15 Jun 2006 14:09:25 +0000 (14:09 -0000)]
fix from Jie Zhang to also declare R0 as clobber in syscall0
Mike Frysinger [Wed, 14 Jun 2006 16:32:05 +0000 (16:32 -0000)]
update syscall() to take 6 arguments
Mike Frysinger [Thu, 8 Jun 2006 21:15:07 +0000 (21:15 -0000)]
we build everything with _GNU_SOURCE now
Mike Frysinger [Thu, 8 Jun 2006 19:12:04 +0000 (19:12 -0000)]
need local prototype to make things happy
Mike Frysinger [Thu, 8 Jun 2006 09:28:09 +0000 (09:28 -0000)]
drop the __sigqueue symbol for now
Mike Frysinger [Thu, 8 Jun 2006 09:26:14 +0000 (09:26 -0000)]
add support for 5th argument
Peter Kjellerstedt [Thu, 8 Jun 2006 07:55:21 +0000 (07:55 -0000)]
A little whitespace clean up.
Peter Kjellerstedt [Thu, 8 Jun 2006 07:47:07 +0000 (07:47 -0000)]
Use tar rather than cp to copy all files matching *.so.* from the lib
directory to $(PREFIX)$(RUNTIME_PREFIX)lib. The reason for this is
that cp -P means wildly different things depending on the version of cp.
Mike Frysinger [Wed, 7 Jun 2006 14:59:44 +0000 (14:59 -0000)]
sync with glibc
Mike Frysinger [Wed, 7 Jun 2006 14:56:49 +0000 (14:56 -0000)]
sync with glibc
Mike Frysinger [Wed, 7 Jun 2006 14:55:44 +0000 (14:55 -0000)]
sync with glibc
Mike Frysinger [Wed, 7 Jun 2006 14:46:59 +0000 (14:46 -0000)]
sync with glibc
Mike Frysinger [Wed, 7 Jun 2006 14:43:15 +0000 (14:43 -0000)]
add hidden proto for memset as pointed out by Peter S. Mazinger
Mike Frysinger [Wed, 7 Jun 2006 14:30:51 +0000 (14:30 -0000)]
Richard Sandiford writes:
Until a few months ago, libc/sysdeps/linux/m68k/clone.S defined
__syscall_error itself. This local definition was removed in
revision 13305:
However, the clone code uses bcc.w to branch to __syscall_error.
This made sense when there was a local definition, because the
label was guaranteed to be in range. We can't guarantee that
the external definition will be in range though; it depends on
the order that the objects are linked.
This patch adjusts clone.S to use jbcc instead.
Mike Frysinger [Wed, 7 Jun 2006 14:29:19 +0000 (14:29 -0000)]
Richard Sandiford writes:
m68k uClinux doesn't use the normal ELF entry point interface.
This patch adjusts crt1.S accordingly. I've followed the ARM
example and keyed the choice of interface on __ARCH_USE_MMU__.
Mike Frysinger [Wed, 7 Jun 2006 14:18:51 +0000 (14:18 -0000)]
use unsigned long like every other port as pointed out by Peter S. Mazinger
Mike Frysinger [Wed, 7 Jun 2006 12:31:21 +0000 (12:31 -0000)]
bfin supports FDPIC, not normal ELF
Mike Frysinger [Wed, 7 Jun 2006 12:30:17 +0000 (12:30 -0000)]
blackfin kernel now supports mmap with 6 args
Mike Frysinger [Wed, 7 Jun 2006 12:30:09 +0000 (12:30 -0000)]
merge syscall fixes from upstream blackfin cvs
Mike Frysinger [Mon, 5 Jun 2006 01:28:51 +0000 (01:28 -0000)]
import sigqueueinfo() from glibc
Peter Kjellerstedt [Tue, 30 May 2006 10:02:18 +0000 (10:02 -0000)]
Remove uses of all QUEUEDEBUG_* macros.
Mike Frysinger [Tue, 30 May 2006 09:36:10 +0000 (09:36 -0000)]
Qunying Pan writes: Make strncmp weak hidden to fix link failures in building gdb and binutils statically
Mike Frysinger [Tue, 30 May 2006 09:13:53 +0000 (09:13 -0000)]
import some optimized functions from blackfin cvs
Peter Kjellerstedt [Tue, 30 May 2006 08:15:30 +0000 (08:15 -0000)]
Sync with glibc.
Peter Kjellerstedt [Tue, 30 May 2006 08:14:43 +0000 (08:14 -0000)]
Make execle() and chown() available again (corrects commit 15179).
Mike Frysinger [Fri, 26 May 2006 02:51:23 +0000 (02:51 -0000)]
Amir Shalem writes:
there is a missing include for <bits/uClibc_uintmaxtostr.h> in
libc/string/_syserrmsg.h, where _syserrmsg.h uses __UIM_BUFLEN_INT
Mike Frysinger [Fri, 26 May 2006 02:01:29 +0000 (02:01 -0000)]
Amir Shalem writes:
there are missing prototypes for chown() and execle() in uClibc-snapshot.
I'm attaching a patch to add the missing prototypes.
the error I'm getting without the patch:
AR cr libc/libc_so.a
LD libuClibc-0.9.28.so
libc/libc_so.a(grantpt.os): In function `__unix_grantpt':
grantpt.c:(.text+0x108): undefined reference to `__GI_chown'
grantpt.c:(.text+0x1ae): undefined reference to `__GI_execle'
Mike Frysinger [Fri, 26 May 2006 01:34:08 +0000 (01:34 -0000)]
the 16/32 swap funcs were swapped #875
Mike Frysinger [Wed, 17 May 2006 05:40:29 +0000 (05:40 -0000)]
previous commit ifdef-ed out too much code
Mike Frysinger [Wed, 17 May 2006 04:58:47 +0000 (04:58 -0000)]
sync with glibc
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
Mike Frysinger [Wed, 17 May 2006 04:51:14 +0000 (04:51 -0000)]
fix damaged whitespace/style
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
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
Mike Frysinger [Wed, 17 May 2006 04:43:14 +0000 (04:43 -0000)]
fix by Peter S. Mazinger: use c99-compliant asm keyword
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
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
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
Mike Frysinger [Mon, 15 May 2006 22:50:51 +0000 (22:50 -0000)]
re-enable global constructors and destructors for bfin
Mike Frysinger [Mon, 15 May 2006 22:49:35 +0000 (22:49 -0000)]
updates from Bernd Schmidt to sync with blackfin cvs
Mike Frysinger [Mon, 15 May 2006 22:40:15 +0000 (22:40 -0000)]
fix signed warnings
Mike Frysinger [Fri, 12 May 2006 03:28:13 +0000 (03:28 -0000)]
cut out _FORTIFY_SOURCE
Mike Frysinger [Sat, 6 May 2006 06:34:45 +0000 (06:34 -0000)]
sync with glibc
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
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
Mike Frysinger [Thu, 4 May 2006 15:09:52 +0000 (15:09 -0000)]
merge some more minor changes from glibc
Mike Frysinger [Thu, 4 May 2006 14:50:17 +0000 (14:50 -0000)]
sync minor changes with glibc
Mike Frysinger [Thu, 4 May 2006 14:44:13 +0000 (14:44 -0000)]
use weak_alias() for data symbols, not strong_alias()
Mike Frysinger [Wed, 3 May 2006 23:00:51 +0000 (23:00 -0000)]
steal bfin maintainership from erik
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_*
Mike Frysinger [Fri, 21 Apr 2006 01:33:25 +0000 (01:33 -0000)]
sync with glibc
Mike Frysinger [Thu, 20 Apr 2006 01:02:37 +0000 (01:02 -0000)]
add a note as to why mips is special
Eric Andersen [Thu, 13 Apr 2006 20:00:30 +0000 (20:00 -0000)]
prune trailing whitespace
Eric Andersen [Wed, 12 Apr 2006 22:49:36 +0000 (22:49 -0000)]
doh, forgot to copy the final \0
Eric Andersen [Wed, 12 Apr 2006 22:48:24 +0000 (22:48 -0000)]
micro-optimization -- we already know how long the source is
Eric Andersen [Wed, 12 Apr 2006 22:41:58 +0000 (22:41 -0000)]
cleanup whitespace
Eric Andersen [Wed, 12 Apr 2006 22:36:16 +0000 (22:36 -0000)]
fixup a big 'ol memory leak in search_for_named_library()
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
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
Mike Frysinger [Wed, 29 Mar 2006 05:46:47 +0000 (05:46 -0000)]
sync with glibc
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
"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.
Peter S. Mazinger [Fri, 24 Mar 2006 23:07:07 +0000 (23:07 -0000)]
typo stderrr
Peter S. Mazinger [Fri, 24 Mar 2006 16:59:45 +0000 (16:59 -0000)]
Correct build failure introduced by SUSV3_LEGACY option
Peter S. Mazinger [Fri, 24 Mar 2006 13:45:02 +0000 (13:45 -0000)]
Now new linuxthreads builds w/ SHARED
Peter S. Mazinger [Fri, 24 Mar 2006 13:43:37 +0000 (13:43 -0000)]
Remove redundant redefine of __clone
Peter S. Mazinger [Fri, 24 Mar 2006 13:00:29 +0000 (13:00 -0000)]
s/staticly/statically/, thx Bernhard Fischer
Peter S. Mazinger [Fri, 24 Mar 2006 12:34:00 +0000 (12:34 -0000)]
Guard GL(name) and it's users w/ SHARED
Peter S. Mazinger [Fri, 24 Mar 2006 12:32:38 +0000 (12:32 -0000)]
Move hidden xdr_rmtcall_args prototype before first use
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.
Peter S. Mazinger [Thu, 23 Mar 2006 19:43:20 +0000 (19:43 -0000)]
Correct typo
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
Peter S. Mazinger [Thu, 23 Mar 2006 11:40:05 +0000 (11:40 -0000)]
forgotten to update gettimeofday here as well
Peter S. Mazinger [Thu, 23 Mar 2006 11:33:52 +0000 (11:33 -0000)]
Sync w/ string.h, glibc version is out of date
Peter S. Mazinger [Thu, 23 Mar 2006 11:17:41 +0000 (11:17 -0000)]
Mark some functions as BSD only
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
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.
Peter S. Mazinger [Wed, 22 Mar 2006 20:43:35 +0000 (20:43 -0000)]
Mark SVID functions
Peter S. Mazinger [Wed, 22 Mar 2006 20:39:23 +0000 (20:39 -0000)]
Enable EXTRA_WARNINGS on DODEBUG
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
Peter S. Mazinger [Wed, 22 Mar 2006 17:28:37 +0000 (17:28 -0000)]
Correct build if UCLIBC_HAS_CTYPE_TABLES is not defined
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
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
Peter S. Mazinger [Wed, 22 Mar 2006 15:41:52 +0000 (15:41 -0000)]
Comment __mbrlen
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 ...
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
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
Peter S. Mazinger [Mon, 20 Mar 2006 09:41:37 +0000 (09:41 -0000)]
Replace __THROW w/ __NTH pointed out by Amir Shalem
Peter S. Mazinger [Sun, 19 Mar 2006 18:15:11 +0000 (18:15 -0000)]
Guard the reentrant prototypes w/ appropiate config option
Mike Frysinger [Sat, 18 Mar 2006 04:08:39 +0000 (04:08 -0000)]
keep uclibc features in the source