OSDN Git Service
Mike Frysinger [Thu, 26 Jan 2006 23:50:49 +0000 (23:50 -0000)]
make sure we include the local sysdep.h header
Mike Frysinger [Thu, 26 Jan 2006 23:50:01 +0000 (23:50 -0000)]
remove things that libc-symbols.h already defines for us
Mike Frysinger [Thu, 26 Jan 2006 23:49:27 +0000 (23:49 -0000)]
cris uses @ for asm line separations
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.
Peter S. Mazinger [Thu, 26 Jan 2006 22:30:50 +0000 (22:30 -0000)]
prototypes for threads too
Peter S. Mazinger [Thu, 26 Jan 2006 22:19:01 +0000 (22:19 -0000)]
Some more prototypes, enable missing-prototypes/declarations warnings for now
Peter S. Mazinger [Thu, 26 Jan 2006 22:04:19 +0000 (22:04 -0000)]
Get rid of missing prototype warnings
"Jan-Benedict Glaw" [Thu, 26 Jan 2006 21:44:45 +0000 (21:44 -0000)]
Really define, not undefine the crash statement...
"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.
Peter S. Mazinger [Thu, 26 Jan 2006 18:44:37 +0000 (18:44 -0000)]
Enable gcvt in header, we build it
Peter S. Mazinger [Thu, 26 Jan 2006 10:54:11 +0000 (10:54 -0000)]
Correct mips, does mips ever be similar to others ;-(
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
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
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
Peter S. Mazinger [Wed, 25 Jan 2006 19:41:22 +0000 (19:41 -0000)]
Use #define __NR_vfork __NR_fork consistently
Peter S. Mazinger [Wed, 25 Jan 2006 15:31:44 +0000 (15:31 -0000)]
error_message_count got lost
Peter S. Mazinger [Wed, 25 Jan 2006 14:59:17 +0000 (14:59 -0000)]
make use of the internals provided earlier
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
Peter S. Mazinger [Wed, 25 Jan 2006 14:56:13 +0000 (14:56 -0000)]
Remove unused prototype
Peter S. Mazinger [Wed, 25 Jan 2006 14:53:46 +0000 (14:53 -0000)]
user internal versions of waitpid/raise/nanosleep
Peter S. Mazinger [Wed, 25 Jan 2006 14:50:38 +0000 (14:50 -0000)]
provide internal nanosleep/waitpid/sigaction/raise
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
Peter S. Mazinger [Wed, 25 Jan 2006 14:48:02 +0000 (14:48 -0000)]
s/IS_IN_linuxthreads/IS_IN_libpthread/
Mike Frysinger [Tue, 24 Jan 2006 23:49:03 +0000 (23:49 -0000)]
first (broken) pass at updating to new crt style
Mike Frysinger [Tue, 24 Jan 2006 23:48:27 +0000 (23:48 -0000)]
touchup page a bit to try and be clearer about which list we are talking about
Peter S. Mazinger [Tue, 24 Jan 2006 21:44:00 +0000 (21:44 -0000)]
Get rid of a shadow warning
Peter S. Mazinger [Tue, 24 Jan 2006 21:42:40 +0000 (21:42 -0000)]
add noreturn for *longjmp
Peter S. Mazinger [Tue, 24 Jan 2006 19:36:42 +0000 (19:36 -0000)]
__longjmp/__libc_longjmp as noreturn
Bernhard Reutner-Fischer [Tue, 24 Jan 2006 18:57:50 +0000 (18:57 -0000)]
- make sure that icc generates bits/sysnum.h
pgcc would need a completely different treatment here.
Peter S. Mazinger [Tue, 24 Jan 2006 18:52:37 +0000 (18:52 -0000)]
waitpid undefined
Peter S. Mazinger [Tue, 24 Jan 2006 18:35:37 +0000 (18:35 -0000)]
Hope to mips build
Peter S. Mazinger [Tue, 24 Jan 2006 17:42:25 +0000 (17:42 -0000)]
use __typeof for all __libc_x prototypes, do not need __sigaction/__vfork
Peter S. Mazinger [Tue, 24 Jan 2006 17:41:01 +0000 (17:41 -0000)]
Don't use __getpid/__getpagesize
Peter S. Mazinger [Tue, 24 Jan 2006 17:18:19 +0000 (17:18 -0000)]
fork/vfork weak in libc, strong in libpthread
Bernhard Reutner-Fischer [Tue, 24 Jan 2006 16:59:55 +0000 (16:59 -0000)]
- use keywords __asm__ and __inline__ c99.
Peter S. Mazinger [Tue, 24 Jan 2006 15:46:20 +0000 (15:46 -0000)]
Move threads header to proper location
Peter S. Mazinger [Tue, 24 Jan 2006 15:40:32 +0000 (15:40 -0000)]
Convert all the strong_aliases to weak that are cancelable in libpthread
Peter S. Mazinger [Tue, 24 Jan 2006 14:52:47 +0000 (14:52 -0000)]
Use __typeof for __libc*longjmp
Peter S. Mazinger [Tue, 24 Jan 2006 14:40:45 +0000 (14:40 -0000)]
Use __typeof for __longjmp, remove alias to longjmp for cris, should be covered by common/longjmp.c
Peter S. Mazinger [Tue, 24 Jan 2006 10:38:51 +0000 (10:38 -0000)]
Use wildcard *.c for full rpc, update copyright
Peter S. Mazinger [Tue, 24 Jan 2006 10:01:57 +0000 (10:01 -0000)]
s/svc_auth_unix.c/svc_authux.c/
Peter S. Mazinger [Tue, 24 Jan 2006 09:56:50 +0000 (09:56 -0000)]
s/rpc_callmsg.c/rpc_cmsg.c/ for non-full rpc as well
Peter S. Mazinger [Mon, 23 Jan 2006 23:42:02 +0000 (23:42 -0000)]
Remove unneeded _GNU_SOURCE
Mike Frysinger [Mon, 23 Jan 2006 23:22:10 +0000 (23:22 -0000)]
sync with glibc
Mike Frysinger [Mon, 23 Jan 2006 23:00:19 +0000 (23:00 -0000)]
cleanup and use the style of other *64 funcs
Mike Frysinger [Mon, 23 Jan 2006 22:53:39 +0000 (22:53 -0000)]
depend on ldso
Mike Frysinger [Mon, 23 Jan 2006 22:52:27 +0000 (22:52 -0000)]
kill off redefined warnings
Peter S. Mazinger [Mon, 23 Jan 2006 22:49:39 +0000 (22:49 -0000)]
Add more warnings, for release we should guard later w/ DODEBUG
Mike Frysinger [Mon, 23 Jan 2006 22:46:26 +0000 (22:46 -0000)]
add support for arch_prctl() (only used on x86_64 atm)
Mike Frysinger [Mon, 23 Jan 2006 22:42:17 +0000 (22:42 -0000)]
fix building with gcc4
Peter S. Mazinger [Mon, 23 Jan 2006 21:34:39 +0000 (21:34 -0000)]
longjmp missed, remove sh version, it's the same as the generic one
Peter S. Mazinger [Mon, 23 Jan 2006 21:25:45 +0000 (21:25 -0000)]
make sigaction/raise/sigwait/siglongjmp/longjmp weak_alias, these are in libpthread as well
Peter S. Mazinger [Mon, 23 Jan 2006 21:15:14 +0000 (21:15 -0000)]
typo
Peter S. Mazinger [Mon, 23 Jan 2006 20:30:22 +0000 (20:30 -0000)]
Try to correct stat64/stat issue, vapier please check on 64bit arch
Peter S. Mazinger [Mon, 23 Jan 2006 19:25:12 +0000 (19:25 -0000)]
Make i386 build w/ -std=c99 (almost)
Peter S. Mazinger [Mon, 23 Jan 2006 19:23:23 +0000 (19:23 -0000)]
Change to build w/ -std=c99
Peter S. Mazinger [Mon, 23 Jan 2006 19:14:49 +0000 (19:14 -0000)]
s/_GNU_SOURCE/__USE_GNU/
Peter S. Mazinger [Mon, 23 Jan 2006 19:12:45 +0000 (19:12 -0000)]
Reorganize a bit and mark tdestroy as GNU extension
Peter S. Mazinger [Mon, 23 Jan 2006 16:10:08 +0000 (16:10 -0000)]
Mark __assert as noreturn
Peter S. Mazinger [Mon, 23 Jan 2006 16:06:34 +0000 (16:06 -0000)]
Guard hidden prototypes accordingly
Peter S. Mazinger [Mon, 23 Jan 2006 14:57:49 +0000 (14:57 -0000)]
Add some attribute_noreturn, replace __attribute__ ((noreturn)) as well
Peter S. Mazinger [Mon, 23 Jan 2006 14:42:02 +0000 (14:42 -0000)]
Get rid of nested warnings
Peter S. Mazinger [Mon, 23 Jan 2006 13:45:00 +0000 (13:45 -0000)]
Correct memcpy use
Peter S. Mazinger [Mon, 23 Jan 2006 13:43:26 +0000 (13:43 -0000)]
Add __longjmp prototype
Peter S. Mazinger [Mon, 23 Jan 2006 12:54:14 +0000 (12:54 -0000)]
Sync w/ glibc
Bernhard Reutner-Fischer [Mon, 23 Jan 2006 08:51:48 +0000 (08:51 -0000)]
- __td_debug is only needed if NDEBUG is not defined.
Peter S. Mazinger [Mon, 23 Jan 2006 06:00:53 +0000 (06:00 -0000)]
Remove redundancy and move hidden prototypes around
Peter S. Mazinger [Sun, 22 Jan 2006 19:35:08 +0000 (19:35 -0000)]
Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a useless attempt
Peter S. Mazinger [Sun, 22 Jan 2006 19:31:09 +0000 (19:31 -0000)]
Allow to be used in bits/syscalls.h even if _GNU_SOURCE is defined
Mike Frysinger [Sun, 22 Jan 2006 04:54:56 +0000 (04:54 -0000)]
grab alpha version of mman.h from glibc
Mike Frysinger [Sat, 21 Jan 2006 21:56:06 +0000 (21:56 -0000)]
import syscall from glibc
Mike Frysinger [Sat, 21 Jan 2006 21:55:44 +0000 (21:55 -0000)]
fix building on 64bit hosts
Mike Frysinger [Sat, 21 Jan 2006 21:55:20 +0000 (21:55 -0000)]
fix building on 64bit hosts
Mike Frysinger [Sat, 21 Jan 2006 21:54:58 +0000 (21:54 -0000)]
fix unused warnings
Mike Frysinger [Sat, 21 Jan 2006 21:54:47 +0000 (21:54 -0000)]
dont force linuxthreads db if debugging is enabled
Bernhard Reutner-Fischer [Sat, 21 Jan 2006 18:13:49 +0000 (18:13 -0000)]
- fix typo in comment.
Peter S. Mazinger [Sat, 21 Jan 2006 16:54:48 +0000 (16:54 -0000)]
Remove old comment
Peter S. Mazinger [Sat, 21 Jan 2006 16:14:22 +0000 (16:14 -0000)]
Another __sigprocmask
Peter S. Mazinger [Sat, 21 Jan 2006 16:13:48 +0000 (16:13 -0000)]
Remove other __sigprocmask occurences, even if unused, remove unsed file
Peter S. Mazinger [Sat, 21 Jan 2006 14:48:30 +0000 (14:48 -0000)]
Correct sigprocmask undefined for sh and remove the useless __sigprocmask weak
Peter S. Mazinger [Sat, 21 Jan 2006 00:21:15 +0000 (00:21 -0000)]
Convert l*seek too to use __typeof
Peter S. Mazinger [Sat, 21 Jan 2006 00:18:02 +0000 (00:18 -0000)]
Use __typeof instead of adding full prototypes
Mike Frysinger [Fri, 20 Jan 2006 23:45:10 +0000 (23:45 -0000)]
need prototype to fix sigaction warnings
Mike Frysinger [Fri, 20 Jan 2006 23:43:39 +0000 (23:43 -0000)]
grab syscall macros from the kernel
Mike Frysinger [Fri, 20 Jan 2006 23:38:52 +0000 (23:38 -0000)]
.set doesnt work on alpha
Mike Frysinger [Fri, 20 Jan 2006 23:35:34 +0000 (23:35 -0000)]
fix building on alpha
Mike Frysinger [Fri, 20 Jan 2006 23:30:01 +0000 (23:30 -0000)]
need sys/syscall.h for __NR_fork define
Mike Frysinger [Fri, 20 Jan 2006 23:27:30 +0000 (23:27 -0000)]
fix building on alpha
Mike Frysinger [Fri, 20 Jan 2006 23:20:36 +0000 (23:20 -0000)]
need unistd.h for brk prototype
Mike Frysinger [Fri, 20 Jan 2006 23:14:07 +0000 (23:14 -0000)]
fix building/warnings on 64bit arches
Mike Frysinger [Fri, 20 Jan 2006 23:07:42 +0000 (23:07 -0000)]
fix warning when sizeof uchar_t is 8 bits
Mike Frysinger [Fri, 20 Jan 2006 23:00:55 +0000 (23:00 -0000)]
disable deprecated warnings for some files
Mike Frysinger [Fri, 20 Jan 2006 22:46:29 +0000 (22:46 -0000)]
grab some macros for internal ldso usage and fix strong_alias/hidden_strong_alias when .set support is disabled
Peter S. Mazinger [Fri, 20 Jan 2006 19:22:13 +0000 (19:22 -0000)]
Correct comments, thx vapier
Peter S. Mazinger [Fri, 20 Jan 2006 18:01:06 +0000 (18:01 -0000)]
Split out libc-symbols.h from libc-internal.h, use it directly in CFLAGS. Moved weak[_const]_function into proper place (if we have weak support), else noop. Modified comment about changes to glibc. Moved -D_LIBC from CFLAGS to libc-symbols.h. I am not sure about unlikely/likely/__cast
Mike Frysinger [Fri, 20 Jan 2006 12:13:26 +0000 (12:13 -0000)]
didnt mean to commit the FENV option just yet
Peter S. Mazinger [Fri, 20 Jan 2006 11:59:06 +0000 (11:59 -0000)]
Add -D_GNU_SOURCE to CFLAGS, else openpty picks the XOPEN variant of fd_set
Peter S. Mazinger [Fri, 20 Jan 2006 11:43:18 +0000 (11:43 -0000)]
Correct wordexp, I have hidden for now __libc_arg[c,v], there is no other use within uClibc, depends on fnmatch as well
Peter S. Mazinger [Fri, 20 Jan 2006 11:38:31 +0000 (11:38 -0000)]
Correction if UNIX98PTY_ONLY is not enabled
Peter S. Mazinger [Fri, 20 Jan 2006 05:21:11 +0000 (05:21 -0000)]
Use libm_ARCH_DIR and cleanup all possible archs