OSDN Git Service
Peter S. Mazinger [Fri, 6 Jan 2006 08:25:08 +0000 (08:25 -0000)]
Allow compiling newly added if_index.c (at least on 2.4), missing __u32/__u16/__s32
Mike Frysinger [Fri, 6 Jan 2006 07:12:29 +0000 (07:12 -0000)]
psm says: fix your linuxthreads / linuxthreads.old typo stupid!
Mike Frysinger [Fri, 6 Jan 2006 05:56:26 +0000 (05:56 -0000)]
simple test for the if_nameindex() related functions
Mike Frysinger [Fri, 6 Jan 2006 04:57:40 +0000 (04:57 -0000)]
as weber notes in Bug 99:
if_nameindex doesnt list all of my interfaces!
this is because we are still using the old style ioctl(SIOCGIFINDEX) for
gathering interface names/indexes. while this code is pretty small, the
kernel does not return all interfaces via this method. so we import the
new style netlink code from glibc and make it optional so those people
who need the full functionality can get it.
Mike Frysinger [Fri, 6 Jan 2006 04:52:34 +0000 (04:52 -0000)]
create __if_nametoindex hidden alias and use it
Mike Frysinger [Fri, 6 Jan 2006 04:51:55 +0000 (04:51 -0000)]
use hidden strcmp
Mike Frysinger [Fri, 6 Jan 2006 04:51:46 +0000 (04:51 -0000)]
used hidden close
Mike Frysinger [Fri, 6 Jan 2006 04:47:31 +0000 (04:47 -0000)]
use hidden read/write symbols
Mike Frysinger [Fri, 6 Jan 2006 04:08:00 +0000 (04:08 -0000)]
rework the alloca() loop slightly to save some space
Mike Frysinger [Fri, 6 Jan 2006 03:24:31 +0000 (03:24 -0000)]
sync with glibc
"Steven J. Hill" [Fri, 6 Jan 2006 03:22:19 +0000 (03:22 -0000)]
Merge from NPTL branch.
"Steven J. Hill" [Fri, 6 Jan 2006 02:53:47 +0000 (02:53 -0000)]
Merge from NPTL branch.
"Steven J. Hill" [Fri, 6 Jan 2006 02:41:40 +0000 (02:41 -0000)]
Merge from NPTL branch.
Mike Frysinger [Fri, 6 Jan 2006 01:02:02 +0000 (01:02 -0000)]
Jan-Benedict Glaw: run shell scripts through $(SHELL) so people
can force it to something other than /bin/sh
Mike Frysinger [Fri, 6 Jan 2006 00:59:37 +0000 (00:59 -0000)]
Jan-Benedict Glaw: allow people to override the default `tar`
binary via TAR make variable for non-GNU systems
Mike Frysinger [Fri, 6 Jan 2006 00:58:04 +0000 (00:58 -0000)]
Jan-Benedict Glaw writes:
The "test" program (aka '[') doesn't know about the operator "==", but
"=" is correct (cf. http://www.opengroup.org/onlinepubs/
000095399/utilities/test.html).
Mike Frysinger [Fri, 6 Jan 2006 00:57:01 +0000 (00:57 -0000)]
add note about HPPA
Mike Frysinger [Fri, 6 Jan 2006 00:56:35 +0000 (00:56 -0000)]
update libc lock functions to new pthread forwarding
Mike Frysinger [Thu, 5 Jan 2006 23:48:49 +0000 (23:48 -0000)]
import the extend_alloca() macro from glibc
Mike Frysinger [Thu, 5 Jan 2006 23:47:53 +0000 (23:47 -0000)]
grab syscall macros from linux headers
Mike Frysinger [Thu, 5 Jan 2006 03:53:44 +0000 (03:53 -0000)]
fPIC doesnt work on bfin
Mike Frysinger [Thu, 5 Jan 2006 03:53:27 +0000 (03:53 -0000)]
grammar fix
Mike Frysinger [Thu, 5 Jan 2006 03:30:27 +0000 (03:30 -0000)]
use tabs for whitespace
Mike Frysinger [Thu, 5 Jan 2006 03:28:31 +0000 (03:28 -0000)]
sync Joseph S. Myers fixes from glibc for proper clobbers
Mike Frysinger [Thu, 5 Jan 2006 03:24:47 +0000 (03:24 -0000)]
sync Joseph S. Myers fixes from glibc for a better NAN define
Mike Frysinger [Thu, 5 Jan 2006 02:47:00 +0000 (02:47 -0000)]
sync __SYSCALL_CLOBBERS macro from glibc
"Steven J. Hill" [Thu, 5 Jan 2006 01:39:16 +0000 (01:39 -0000)]
Merge from branch and add removal of 'tls.h' when using NPTL threads.
"Steven J. Hill" [Thu, 5 Jan 2006 01:37:44 +0000 (01:37 -0000)]
Merge from branch.
Mike Frysinger [Thu, 5 Jan 2006 00:51:47 +0000 (00:51 -0000)]
implement syscall6
Mike Frysinger [Thu, 5 Jan 2006 00:51:36 +0000 (00:51 -0000)]
remove duplicate ;
Peter S. Mazinger [Thu, 5 Jan 2006 00:06:11 +0000 (00:06 -0000)]
forgot again about iconv
Peter S. Mazinger [Wed, 4 Jan 2006 23:46:30 +0000 (23:46 -0000)]
one reloc less, uninline, should save some space
Peter S. Mazinger [Wed, 4 Jan 2006 23:44:59 +0000 (23:44 -0000)]
__uselocale is hidden
Peter S. Mazinger [Wed, 4 Jan 2006 23:24:02 +0000 (23:24 -0000)]
Build also if XLOCALE is enabled
Peter S. Mazinger [Wed, 4 Jan 2006 20:55:48 +0000 (20:55 -0000)]
use internal versions of exit/memcpy
Peter S. Mazinger [Wed, 4 Jan 2006 10:57:25 +0000 (10:57 -0000)]
Sync w/ glibc, mostly REDIRECT_NTH,__wur
Mike Frysinger [Wed, 4 Jan 2006 07:39:17 +0000 (07:39 -0000)]
need our own version to prevent warnings
Mike Frysinger [Wed, 4 Jan 2006 07:27:46 +0000 (07:27 -0000)]
update build files
Mike Frysinger [Wed, 4 Jan 2006 07:07:57 +0000 (07:07 -0000)]
update buildsystem to new style
Mike Frysinger [Wed, 4 Jan 2006 07:06:49 +0000 (07:06 -0000)]
Bug 618, Thomas Chou: update build flags for nios target
Mike Frysinger [Wed, 4 Jan 2006 07:03:57 +0000 (07:03 -0000)]
Bug 618, Thomas Chou: update crt to new 0.9.28 uClibc style
Mike Frysinger [Wed, 4 Jan 2006 06:57:46 +0000 (06:57 -0000)]
unused
Mike Frysinger [Wed, 4 Jan 2006 03:48:09 +0000 (03:48 -0000)]
now we can safely declare these hidden
Mike Frysinger [Wed, 4 Jan 2006 03:45:56 +0000 (03:45 -0000)]
update pthread weak handling to the style glibc uses
Mike Frysinger [Wed, 4 Jan 2006 00:46:31 +0000 (00:46 -0000)]
tweak __progname handling some more since some [bad] apps actually try and use it
Mike Frysinger [Wed, 4 Jan 2006 00:44:42 +0000 (00:44 -0000)]
use weak handling instead of .set
Mike Frysinger [Wed, 4 Jan 2006 00:43:37 +0000 (00:43 -0000)]
kill off some unused warnings
Mike Frysinger [Wed, 4 Jan 2006 00:43:25 +0000 (00:43 -0000)]
if arch doesnt provide _syscall6(), we need to alias the 64bit version
Peter S. Mazinger [Tue, 3 Jan 2006 19:17:17 +0000 (19:17 -0000)]
Lost wcschr()
Peter S. Mazinger [Tue, 3 Jan 2006 19:04:37 +0000 (19:04 -0000)]
keep __USE_GNU for program_invocation_*_name
Peter S. Mazinger [Tue, 3 Jan 2006 17:17:14 +0000 (17:17 -0000)]
Get rid of tolower/toupper jump reloc, correct tow* for XLOCALE
Peter S. Mazinger [Tue, 3 Jan 2006 17:15:15 +0000 (17:15 -0000)]
Add __toupper, remove unneeded undefs for tolower
Peter S. Mazinger [Tue, 3 Jan 2006 15:48:34 +0000 (15:48 -0000)]
Provide __tolower and use it
Peter S. Mazinger [Tue, 3 Jan 2006 15:47:13 +0000 (15:47 -0000)]
Remove textrel
Peter S. Mazinger [Tue, 3 Jan 2006 15:25:34 +0000 (15:25 -0000)]
Revert a change until I find the textrel cause
Peter S. Mazinger [Tue, 3 Jan 2006 14:50:18 +0000 (14:50 -0000)]
Complete split of all the string functions. Hope haven't broken too much. wcscoll/strcoll needs some love ...
Peter S. Mazinger [Tue, 3 Jan 2006 14:46:56 +0000 (14:46 -0000)]
Use strong_alias everywhere instead of .global/.set. Correct some cases where the non-hidden version was used.
Peter S. Mazinger [Tue, 3 Jan 2006 14:44:12 +0000 (14:44 -0000)]
Add more hidden prototypes
Peter S. Mazinger [Tue, 3 Jan 2006 10:37:10 +0000 (10:37 -0000)]
Add proper guard, so that we don't see the internal header in userspace
Mike Frysinger [Tue, 3 Jan 2006 06:59:24 +0000 (06:59 -0000)]
tweak what is likely() in the argv[0] parsing
Mike Frysinger [Tue, 3 Jan 2006 06:55:52 +0000 (06:55 -0000)]
add optional support for program_invocation_name/program_invocation_short_name
Mike Frysinger [Tue, 3 Jan 2006 06:24:22 +0000 (06:24 -0000)]
we dont need to loop calling abort() because abort() already loops for us
Mike Frysinger [Tue, 3 Jan 2006 05:13:16 +0000 (05:13 -0000)]
Joseph S. Myers writes:
This patch fixes the build of libpthread for MIPS. The definition of
_test_and_set uses __THROW after the prototype: but attributes are only
accepted after the prototype in function declarations which aren't
definitions, not between the prototype and the function body in a
definition. The proper macro to use here is __NTH (placing the attribute
before the prototype).
glibc does the same thing, so this is also a sync up with glibc
Mike Frysinger [Tue, 3 Jan 2006 05:05:03 +0000 (05:05 -0000)]
Joseph S. Myers writes:
I needed this patch setting CPU_LDFLAGS to build uClibc for little-endian
MIPS (with a compiler with both little-endian and big-endian multilibs);
otherwise it used ld (in default big-endian mode) to link little-endian
objects.
Mike Frysinger [Tue, 3 Jan 2006 04:31:16 +0000 (04:31 -0000)]
import a bunch of defines from gnu binutils including blackfin for Lie Zhang
Mike Frysinger [Tue, 3 Jan 2006 04:30:41 +0000 (04:30 -0000)]
import a bunch of EM defines from gnu binutils
Mike Frysinger [Tue, 3 Jan 2006 03:52:32 +0000 (03:52 -0000)]
touchup comments and define Blackfin for Jie Zhang
Mike Frysinger [Tue, 3 Jan 2006 01:00:00 +0000 (01:00 -0000)]
fix previous commit so that __uClibc_init() is run for non-mmu cases again as report by Thomas in Bug 618
Peter S. Mazinger [Mon, 2 Jan 2006 21:27:33 +0000 (21:27 -0000)]
Use attribute_noreturn
Peter S. Mazinger [Mon, 2 Jan 2006 21:26:52 +0000 (21:26 -0000)]
Remove -unhonoured- comment
Peter S. Mazinger [Mon, 2 Jan 2006 20:44:18 +0000 (20:44 -0000)]
Remove fpu_control.h handling as well
Peter S. Mazinger [Mon, 2 Jan 2006 15:57:11 +0000 (15:57 -0000)]
TARGET_ARCH is already stripped, do not do it again for nios2
Peter S. Mazinger [Mon, 2 Jan 2006 15:08:09 +0000 (15:08 -0000)]
fpu_control.h is handled generally in topdir/Makefile.in, remove rule for it
Mike Frysinger [Mon, 2 Jan 2006 00:31:27 +0000 (00:31 -0000)]
quote arg to shell-ed grep as pointed out by Jan-Benedict Glaw
Mike Frysinger [Mon, 2 Jan 2006 00:30:00 +0000 (00:30 -0000)]
for /bin/sh, use `` instead of $() as pointed out by Jan-Benedict Glaw on the mailing list
Mike Frysinger [Sun, 1 Jan 2006 23:49:48 +0000 (23:49 -0000)]
previous st_dev change from unsigned long (4bytes) to __dev_t (8bytes) needed to shrink the pads as well to maintain ABI compat
Mike Frysinger [Fri, 30 Dec 2005 23:13:53 +0000 (23:13 -0000)]
fix path to heap.h as point out by thomas_chou in Bug 617
Mike Frysinger [Fri, 30 Dec 2005 06:58:39 +0000 (06:58 -0000)]
Bug 616, Thomas Chou: dont use -msoft-float on nios2 ports
Mike Frysinger [Fri, 30 Dec 2005 06:56:33 +0000 (06:56 -0000)]
update to new build system
Mike Frysinger [Fri, 30 Dec 2005 06:54:32 +0000 (06:54 -0000)]
Bug 616, Thomas Chou: update crt to new 0.9.28 uClibc style
Mike Frysinger [Fri, 30 Dec 2005 06:27:33 +0000 (06:27 -0000)]
tell people to ignore these two warnings unless someone can figure out how to make them go away ... the vfork() is safe due to the logic following it
Mike Frysinger [Fri, 30 Dec 2005 06:26:55 +0000 (06:26 -0000)]
use ElfW(Addr) instead of ElfW(Word) since elf word types are always 32bits in size, even on 64bit hosts, while Addr is the proper native size ... also get creative with our signed/unsigned usage to get rid of warnings
Mike Frysinger [Fri, 30 Dec 2005 06:10:22 +0000 (06:10 -0000)]
need to make sure elf_find_dynamic(key) is big enough to handle 64bit hosts
Mike Frysinger [Fri, 30 Dec 2005 06:06:19 +0000 (06:06 -0000)]
beautify utility building
Mike Frysinger [Fri, 30 Dec 2005 02:00:15 +0000 (02:00 -0000)]
use errno.h not sys/errno.h as pointed out by sjhill
Peter S. Mazinger [Fri, 30 Dec 2005 00:59:58 +0000 (00:59 -0000)]
Sync ftw w/ glibc, splitting ftw and ftw64
Mike Frysinger [Thu, 29 Dec 2005 14:59:15 +0000 (14:59 -0000)]
fix signed/unsigned warnings
Mike Frysinger [Thu, 29 Dec 2005 08:15:24 +0000 (08:15 -0000)]
kill off some signedness/unused warnings
Mike Frysinger [Thu, 29 Dec 2005 08:13:32 +0000 (08:13 -0000)]
sync whitespace with glibc
Mike Frysinger [Thu, 29 Dec 2005 07:15:39 +0000 (07:15 -0000)]
touchup code a bit to prep for new weak system
Mike Frysinger [Thu, 29 Dec 2005 07:07:29 +0000 (07:07 -0000)]
beautify
Mike Frysinger [Thu, 29 Dec 2005 07:06:08 +0000 (07:06 -0000)]
hide the internal libc pthread_mutex funcs
Mike Frysinger [Thu, 29 Dec 2005 07:05:08 +0000 (07:05 -0000)]
pointless whitespace touchups
Mike Frysinger [Thu, 29 Dec 2005 04:39:12 +0000 (04:39 -0000)]
hide some functions to cut down on relocations
Mike Frysinger [Thu, 29 Dec 2005 04:37:40 +0000 (04:37 -0000)]
make sure mq_timedsend() and mq_send() is always defined
Mike Frysinger [Thu, 29 Dec 2005 04:35:52 +0000 (04:35 -0000)]
make sure mq_timedreceive() and mq_receive() is always defined
Mike Frysinger [Thu, 29 Dec 2005 04:29:12 +0000 (04:29 -0000)]
hide __kernel functions
Mike Frysinger [Wed, 28 Dec 2005 21:20:42 +0000 (21:20 -0000)]
make sure we handle the (malloc(0)==NULL) case as Aubrey points out via the e-mail list
Mike Frysinger [Wed, 28 Dec 2005 21:19:58 +0000 (21:19 -0000)]
make sure we handle the (malloc(0)==NULL) case as Aubrey points out via the e-mail list
Mike Frysinger [Wed, 28 Dec 2005 21:16:11 +0000 (21:16 -0000)]
include grp.h just for fun