You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(17) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(9) |
Feb
(17) |
Mar
(13) |
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
(2) |
Oct
(7) |
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
(6) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <ai...@us...> - 2004-01-16 13:55:48
|
Update of /cvsroot/linux-vax/glibc/linuxthreads/sysdeps/vax In directory sc8-pr-cvs1:/tmp/cvs-serv7268 Added Files: pspinlock.c Log Message: steal pspinlock.c from CRIS --- NEW FILE: pspinlock.c --- /* POSIX spinlock implementation. VAX version. Copyright (C) 2000, 2001 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <errno.h> #include <pthread.h> #include "internals.h" /* FIXME: These are just dummies. I don't know why or if they're needed; configury should default to these definitions. We just follow the crowd here. */ int __pthread_spin_lock (pthread_spinlock_t *lock) { while (testandset (lock) != 0) ; return 0; } weak_alias (__pthread_spin_lock, pthread_spin_lock) int __pthread_spin_trylock (pthread_spinlock_t *lock) { return testandset (lock) != 0 ? EBUSY : 0; } weak_alias (__pthread_spin_trylock, pthread_spin_trylock) int __pthread_spin_unlock (pthread_spinlock_t *lock) { return *lock = 0; } weak_alias (__pthread_spin_unlock, pthread_spin_unlock) int __pthread_spin_init (pthread_spinlock_t *lock, int pshared) { /* We can ignore the `pshared' parameter. Since we are busy-waiting all processes which can access the memory location `lock' points to can use the spinlock. */ return *lock = 0; } weak_alias (__pthread_spin_init, pthread_spin_init) int __pthread_spin_destroy (pthread_spinlock_t *lock) { /* Nothing to do. */ return 0; } weak_alias (__pthread_spin_destroy, pthread_spin_destroy) |
From: <ai...@us...> - 2004-01-16 13:54:08
|
Update of /cvsroot/linux-vax/glibc/linuxthreads/sysdeps/vax In directory sc8-pr-cvs1:/tmp/cvs-serv6852 Modified Files: pt-machine.h Log Message: DA: fix machine Index: pt-machine.h =================================================================== RCS file: /cvsroot/linux-vax/glibc/linuxthreads/sysdeps/vax/pt-machine.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- pt-machine.h 16 Jan 2004 13:36:09 -0000 1.1 +++ pt-machine.h 16 Jan 2004 13:54:01 -0000 1.2 @@ -25,7 +25,7 @@ /* Spinlock implementation; required. */ -PT_EI int +PT_EI long int testandset (int *spinlock) { char ret; |
From: <ai...@us...> - 2004-01-16 13:36:12
|
Update of /cvsroot/linux-vax/glibc/linuxthreads/sysdeps/vax In directory sc8-pr-cvs1:/tmp/cvs-serv2890 Added Files: pt-machine.h Log Message: DA: pt-machine.h lifted from my uclibc port --- NEW FILE: pt-machine.h --- /* Machine-dependent pthreads configuration and inline functions. VAX version. Copyright (C) 1996, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David Airlie (airlied at linux.ie) The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifndef PT_EI # define PT_EI extern inline #endif /* Spinlock implementation; required. */ PT_EI int testandset (int *spinlock) { char ret; __asm__ __volatile__( "movl $1, %%r0\n\t" "bbssi $0, (%1), 1f\n\t" "clrl %%r0\n\t" "1: movl %%r0, %0" : "=r"(ret) : "r"(spinlock) : "r0"); return ret; } /* Get some notion of the current stack. Need not be exactly the top of the stack, just something somewhere in the current frame. */ #define CURRENT_STACK_FRAME stack_pointer register char * stack_pointer __asm__ ("sp"); |
From: <ai...@us...> - 2004-01-16 13:33:57
|
Update of /cvsroot/linux-vax/glibc/linuxthreads/sysdeps/vax In directory sc8-pr-cvs1:/tmp/cvs-serv2480/vax Log Message: Directory /cvsroot/linux-vax/glibc/linuxthreads/sysdeps/vax added to the repository |
From: <ai...@us...> - 2004-01-16 13:31:40
|
Update of /cvsroot/linux-vax/glibc/sysdeps/vax In directory sc8-pr-cvs1:/tmp/cvs-serv539/vax Added Files: memusage.h Log Message: DA: add memusage.h file --- NEW FILE: memusage.h --- /* Copyright (C) 2000 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #define GETSP() ({ register uintptr_t stack_ptr asm ("%%sp"); stack_ptr; }) #include <sysdeps/generic/memusage.h> |
From: <ai...@us...> - 2004-01-16 13:28:24
|
Update of /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax In directory sc8-pr-cvs1:/tmp/cvs-serv32294 Modified Files: clone.S socket.S syscall.S sysdep.S sysdep.h Log Message: DA: new ENTRY/END macros Index: clone.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax/clone.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- clone.S 27 Aug 2003 12:03:57 -0000 1.3 +++ clone.S 16 Jan 2004 13:28:21 -0000 1.4 @@ -24,10 +24,9 @@ /* int clone(int (*fn)(void *arg), void *child_stack, int flags, void *arg); */ .text -ENTRY (__clone) +ENTRY (__clone, 0x3e) /* Sanity check arguments: No NULL function pointers. no NULL stack either.. cris allow NULL stack .. look into later */ - .word 0x3e movl 4(%ap), %r2 cmpl $0, %r2 beql 1f Index: socket.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax/socket.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- socket.S 28 Aug 2003 12:28:12 -0000 1.3 +++ socket.S 16 Jan 2004 13:28:21 -0000 1.4 @@ -40,8 +40,7 @@ #endif .globl __socket -ENTRY (__socket) - .word 0xfc +ENTRY (__socket, 0xfc) /* Save registers. */ movl $SYS_ify(socketcall), %r0 /* System call number in %eax. */ Index: syscall.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax/syscall.S,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- syscall.S 9 Nov 2003 19:45:52 -0000 1.1 +++ syscall.S 16 Jan 2004 13:28:21 -0000 1.2 @@ -23,8 +23,7 @@ /* This implements syscall(2). The first argument is the syscall number, the remaining args should be passed to the syscall */ -ENTRY(syscall) - .word 0x0 /* no registers to preserve */ +ENTRY(syscall, 0) /* syscall number to R0 */ movl 4(%ap), %r0 Index: sysdep.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax/sysdep.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- sysdep.S 28 Sep 2003 06:31:52 -0000 1.3 +++ sysdep.S 16 Jan 2004 13:28:21 -0000 1.4 @@ -31,8 +31,7 @@ #undef syscall_error .globl __syscall_error -ENTRY(__syscall_error) - .word 0x0101 +ENTRY(__syscall_error, 0x0101) #if defined(EWOULDBLOCK_sys) && EWOULDBLOCK_sys != EAGAIN cmpl $EWOULDBLOCK_sys, %r0 @@ -56,4 +55,4 @@ ret #endif -END(__syscall_error) \ No newline at end of file +END(__syscall_error) Index: sysdep.h =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax/sysdep.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- sysdep.h 9 Nov 2003 19:45:12 -0000 1.10 +++ sysdep.h 16 Jan 2004 13:28:21 -0000 1.11 @@ -45,8 +45,7 @@ #undef PSEUDO #define PSEUDO(name, syscall_name, args) \ - ENTRY(name) \ - .word 0x0ffc ; \ + ENTRY(name, 0x0ffc) \ DO_CALL(args, syscall_name) \ cmpl $-4095, %r0 ; \ bgtru no_error ; \ |
Update of /cvsroot/linux-vax/glibc/sysdeps/vax In directory sc8-pr-cvs1:/tmp/cvs-serv30301 Modified Files: DEFS.h bcopy.S bsd-_setjmp.S bsd-setjmp.S bzero.S ffs.S htonl.S htons.S memchr.S memcmp.S memmove.S memset.S strcat.S strchr.S strcmp.S strcpy.S strcspn.S strlen.S strncat.S strncmp.S strncpy.S strpbrk.S strrchr.S strsep.S strspn.S strstr.S sysdep.h Log Message: DA: add size and type to assembler files by modifiying entry and end parameters (needed for linker to stop warnings and crashage) Index: DEFS.h =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/DEFS.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- DEFS.h 15 Aug 2003 13:07:30 -0000 1.3 +++ DEFS.h 16 Jan 2004 13:26:29 -0000 1.4 @@ -42,6 +42,7 @@ #define R10 0x400 #define R11 0x800 +#if 0 #ifdef PROF #define ENTRY(x, regs) \ .globl /**/x; .align 2; /**/x: .word regs; \ @@ -55,3 +56,6 @@ #define ASENTRY(x, regs) \ .globl x; .align 2; x: .word regs #endif +#endif + +#include <sysdep.h> Index: bcopy.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/bcopy.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- bcopy.S 15 Aug 2003 13:25:42 -0000 1.4 +++ bcopy.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -72,3 +72,4 @@ subl2 %r6,%r3 movc3 %r6,(%r1),(%r3) ret +END(bcopy) Index: bsd-_setjmp.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/bsd-_setjmp.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- bsd-_setjmp.S 15 Aug 2003 13:07:31 -0000 1.4 +++ bsd-_setjmp.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -23,10 +23,11 @@ #include <sysdep.h> -ENTRY (_setjmp) +ENTRY (_setjmp, 0) movl (%sp)+,%r0 /* Pop return PC. */ movl (%sp)+,%r1 /* Pop jmp_buf argument. */ pushl $0 /* Push second argument of zero. */ pushl %r1 /* Push back first argument. */ pushl %r0 /* Push back return PC. */ jmp C_SYMBOL_NAME (__sigsetjmp) +END(_setjmp) Index: bsd-setjmp.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/bsd-setjmp.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- bsd-setjmp.S 15 Aug 2003 13:07:31 -0000 1.3 +++ bsd-setjmp.S 16 Jan 2004 13:26:29 -0000 1.4 @@ -23,10 +23,11 @@ #include <sysdep.h> -ENTRY (setjmp) +ENTRY (setjmp, 0) movl (%sp)+,%r0 /* Pop return PC. */ movl (%sp)+,%r1 /* Pop jmp_buf argument. */ pushl $1 /* Push second argument of one. */ pushl %r1 /* Push back first argument. */ pushl %r0 /* Push back return PC. */ jmp C_SYMBOL_NAME (__sigsetjmp) +END(setjmp) Index: bzero.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/bzero.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- bzero.S 15 Aug 2003 13:07:31 -0000 1.4 +++ bzero.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -47,4 +47,5 @@ jgtr 1b movc5 $0,(%r3),$0,8(%ap),(%r3) ret +END(__bzero) weak_alias (__bzero, bzero) Index: ffs.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/ffs.S,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ffs.S 15 Aug 2003 13:25:42 -0000 1.2 +++ ffs.S 16 Jan 2004 13:26:29 -0000 1.3 @@ -42,4 +42,5 @@ 1: incl %r0 ret +END(__ffs) weak_alias (__ffs, ffs) Index: htonl.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/htonl.S,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- htonl.S 27 Aug 2003 12:02:58 -0000 1.2 +++ htonl.S 16 Jan 2004 13:26:29 -0000 1.3 @@ -28,4 +28,5 @@ insv %r0,$16,$8,%r0 movb 7(%ap),%r0 ret +END(htonl) weak_alias (htonl, ntohl) Index: htons.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/htons.S,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- htons.S 27 Aug 2003 12:02:59 -0000 1.2 +++ htons.S 16 Jan 2004 13:26:29 -0000 1.3 @@ -28,4 +28,5 @@ movb 5(%ap),%r0 movzwl %r0,%r0 ret +END(htons) weak_alias (htons, ntohs) Index: memchr.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/memchr.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- memchr.S 15 Aug 2003 13:07:31 -0000 1.3 +++ memchr.S 16 Jan 2004 13:26:29 -0000 1.4 @@ -67,7 +67,7 @@ decw %r0 # from 0 to 65535 subl2 %r0,%r4 # adjust n brb 0b # and loop - +END(__memchr) weak_alias (__memchr, memchr) #if !__BOUNDED_POINTERS__ weak_alias (__memchr, __ubp_memchr) Index: memcmp.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/memcmp.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- memcmp.S 15 Aug 2003 13:07:31 -0000 1.3 +++ memcmp.S 16 Jan 2004 13:26:29 -0000 1.4 @@ -55,5 +55,5 @@ cmpc3 %r5,(%r1),(%r3) jeql 0b /* loop if same */ jbr 1b - +END(memcmp) weak_alias (memcmp, bcmp) Index: memmove.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/memmove.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- memmove.S 15 Aug 2003 13:25:42 -0000 1.4 +++ memmove.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -87,3 +87,4 @@ subl2 %r0,%r1 subl2 %r0,%r3 brb 5b +END(memmove) Index: memset.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/memset.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- memset.S 15 Aug 2003 13:25:42 -0000 1.4 +++ memset.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -49,3 +49,4 @@ subl2 %r0,12(%ap) movc5 $0,(%r3),%r1,%r0,(%r3) jbr 1b +END(memset) Index: strcat.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strcat.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- strcat.S 15 Aug 2003 13:25:42 -0000 1.3 +++ strcat.S 16 Jan 2004 13:26:29 -0000 1.4 @@ -60,3 +60,4 @@ movc3 %r1,(%r7),(%r3) # copy remainder movl %r6,%r0 ret +END(strcat) Index: strchr.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strchr.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- strchr.S 15 Aug 2003 13:25:42 -0000 1.3 +++ strchr.S 16 Jan 2004 13:26:29 -0000 1.4 @@ -99,5 +99,6 @@ beql 2f /* not found: return NULL */ movl %r1,%r0 2: ret - +END(strchr) + weak_alias (strchr, index) Index: strcmp.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strcmp.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- strcmp.S 15 Aug 2003 13:25:42 -0000 1.3 +++ strcmp.S 16 Jan 2004 13:26:29 -0000 1.4 @@ -79,3 +79,4 @@ 4: clrl %r0 # both the same to null ret +END(strcmp) Index: strcpy.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strcpy.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- strcpy.S 15 Aug 2003 13:25:42 -0000 1.4 +++ strcpy.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -56,3 +56,4 @@ movc3 %r1,(%r6),(%r3) # copy remainder movl 4(%ap),%r0 # return base of s1 ret +END(strcpy) Index: strcspn.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strcspn.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- strcspn.S 15 Aug 2003 13:25:42 -0000 1.4 +++ strcspn.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -60,3 +60,4 @@ decl %r0 /* s-- */ subl2 %r1,%r0 /* r0 = s - s1 = count */ ret +END(strcspn) Index: strlen.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strlen.S,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- strlen.S 15 Aug 2003 13:25:42 -0000 1.2 +++ strlen.S 16 Jan 2004 13:26:29 -0000 1.3 @@ -46,3 +46,4 @@ beql 1b subl3 4(%ap),%r1,%r0 # len = cp - base ret +END(strlen) Index: strncat.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strncat.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- strncat.S 15 Aug 2003 13:25:42 -0000 1.4 +++ strncat.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -77,3 +77,4 @@ done: movl 4(%ap),%r0 # return s1 ret +END(strncat) Index: strncmp.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strncmp.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- strncmp.S 15 Aug 2003 13:25:42 -0000 1.3 +++ strncmp.S 16 Jan 2004 13:26:29 -0000 1.4 @@ -83,3 +83,4 @@ 5: clrl %r0 # both the same to null ret +END(strncmp) Index: strncpy.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strncpy.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- strncpy.S 15 Aug 2003 13:25:42 -0000 1.4 +++ strncpy.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -78,3 +78,4 @@ done: movl 4(%ap),%r0 # return s1 ret +END(strncpy) Index: strpbrk.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strpbrk.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- strpbrk.S 15 Aug 2003 13:25:42 -0000 1.4 +++ strpbrk.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -62,3 +62,4 @@ 3: clrl %r0 ret +END(strpbrk) Index: strrchr.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strrchr.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- strrchr.S 15 Aug 2003 13:25:42 -0000 1.3 +++ strrchr.S 16 Jan 2004 13:26:29 -0000 1.4 @@ -108,5 +108,5 @@ 3: movl %r5,%r0 /* return stashed pointer */ ret - +END(strrchr) weak_alias (strrchr, rindex) Index: strsep.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strsep.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- strsep.S 15 Aug 2003 13:25:42 -0000 1.4 +++ strsep.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -79,3 +79,4 @@ 3: clrl (%r1) /* else *stringp = NULL */ ret +END(strsep) Index: strspn.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strspn.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- strspn.S 15 Aug 2003 13:25:42 -0000 1.4 +++ strspn.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -64,3 +64,4 @@ decl %r0 /* s-- */ subl2 %r1,%r0 /* r0 = s - s1 = count */ ret +END(strspn) Index: strstr.S =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/strstr.S,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- strstr.S 15 Aug 2003 13:25:42 -0000 1.4 +++ strstr.S 16 Jan 2004 13:26:29 -0000 1.5 @@ -107,3 +107,4 @@ bneq 5b /* loop until strncmp says rest same too */ subl3 $1,%r3,%r0 /* return previous s1 */ ret +END(strstr) Index: sysdep.h =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/sysdep.h,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- sysdep.h 12 Sep 2001 23:14:41 -0000 1.1 +++ sysdep.h 16 Jan 2004 13:26:29 -0000 1.2 @@ -49,11 +49,12 @@ #endif /* Define an entry point visible from C. */ -#define ENTRY(name) \ - ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name); \ +#define ENTRY(name,regs) \ + ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name); \ ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),function) \ .align ALIGNARG(4); \ C_LABEL(name) \ + .word regs; \ CALL_MCOUNT #undef END @@ -62,7 +63,8 @@ /* If compiled for profiling, call `mcount' at the start of each function. */ #ifdef PROF -#define CALL_MCOUNT /* FIXME */ +/* FIXME -maybe*/ +#define CALL_MCOUNT .data; 1:; .long 0; .text; moval 1b,%r0; jsb mcount; #else #define CALL_MCOUNT /* Do nothing. */ #endif |
From: <ai...@us...> - 2004-01-16 12:42:40
|
Update of /cvsroot/linux-vax/glibc/sysdeps/vax In directory sc8-pr-cvs1:/tmp/cvs-serv17437 Modified Files: dl-machine.h Log Message: DA: quick compile fix Index: dl-machine.h =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/dl-machine.h,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- dl-machine.h 28 Sep 2003 06:31:13 -0000 1.5 +++ dl-machine.h 16 Jan 2004 12:42:37 -0000 1.6 @@ -170,8 +170,8 @@ TRAMPOLINE_TEMPLATE (_dl_runtime_profile, profile_fixup); #else #define ELF_MACHINE_RUNTIME_TRAMPOLINE \ -asm (TRAMPOLINE_TEMPLATE (_dl_runtime_resolve, fixup) \ - ".globl _dl_runtime_profile\n" \ + TRAMPOLINE_TEMPLATE (_dl_runtime_resolve, fixup) \ + asm( ".globl _dl_runtime_profile\n" \ ".set _dl_runtime_profile, _dl_runtime_resolve"); #endif #endif |
From: <ai...@us...> - 2003-11-30 22:53:35
|
Update of /cvsroot/linux-vax/uClibc/libc/sysdeps/linux/vax In directory sc8-pr-cvs1:/tmp/cvs-serv23877 Modified Files: Makefile crt0.S Added Files: crti.S crtn.S Log Message: DA: move to crti/crtn separate files and change Makefile accordingly --- NEW FILE: crti.S --- .file "initfini.c" .version "01.01" gcc2_compiled.: __gnu_compiled_c: #APP .section .init #NO_APP .align 1 .globl _init .type _init,@function _init: .word 0x0 #APP .align 1 .section .fini #NO_APP .align 1 .globl _fini .type _fini,@function _fini: .word 0x0 #APP .align 1 .ident "GCC: (GNU) 2.95.2 19991024 (release) (Linux/VAX CVS)" --- NEW FILE: crtn.S --- .file "initfini.c" .version "01.01" gcc2_compiled.: __gnu_compiled_c: #APP .section .init #NO_APP .align 1 .globl _init .type _init,@function #NO_APP ret .Lfe2: .size _init,.Lfe2-_init #APP .section .fini #NO_APP .align 1 .globl _fini .type _fini,@function #NO_APP ret .Lfe3: .size _fini,.Lfe3-_fini #APP .ident "GCC: (GNU) 2.95.2 19991024 (release) (Linux/VAX CVS)" Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/uClibc/libc/sysdeps/linux/vax/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- Makefile 9 Sep 2003 11:46:03 -0000 1.7 +++ Makefile 30 Nov 2003 22:53:31 -0000 1.8 @@ -26,6 +26,9 @@ CRT0_SRC=crt0.S CRT0_OBJ=crt0.o crt1.o +CRT0_DEPS= +#gmon-start.S +CTOR_TARGETS=$(TOPDIR)lib/crti.o $(TOPDIR)lib/crtn.o #SSRC=longjmp.S setjmp.S vfork.S SSRC=__longjmp.S setjmp.S _setjmp.S clone.S @@ -43,7 +46,7 @@ $(LIBC): ar-target -ar-target: $(OBJS) $(CRT0_OBJ) +ar-target: $(OBJS) $(CRT0_OBJ) $(CTOR_TARGETS) $(AR) $(ARFLAGS) $(LIBC) $(OBJS) cp $(CRT0_OBJ) $(TOPDIR)lib @@ -58,6 +61,29 @@ $(COBJS): %.o : %.c $(CC) $(CFLAGS) -c $< -o $@ $(STRIPTOOL) -x -R .note -R .comment $*.o + +ifeq ($(strip $(UCLIBC_CTOR_DTOR)),y) +crti.o: crti.S + $(CC) $(SAFECFLAGS) -c crti.S -o crti.o + +$(TOPDIR)lib/crti.o: crti.o + $(INSTALL) -d $(TOPDIR)lib/ + cp crti.o $(TOPDIR)lib/ + +crtn.o: crtn.S + $(CC) $(SAFECFLAGS) -c crtn.S -o crtn.o + +$(TOPDIR)lib/crtn.o: crtn.o + $(INSTALL) -d $(TOPDIR)lib/ + cp crtn.o $(TOPDIR)lib/ +else +$(TOPDIR)lib/crti.o: + $(INSTALL) -d $(TOPDIR)lib/ + $(AR) $(ARFLAGS) $(TOPDIR)lib/crti.o +$(TOPDIR)lib/crtn.o: + $(INSTALL) -d $(TOPDIR)lib/ + $(AR) $(ARFLAGS) $(TOPDIR)lib/crtn.o +endif headers: Index: crt0.S =================================================================== RCS file: /cvsroot/linux-vax/uClibc/libc/sysdeps/linux/vax/crt0.S,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- crt0.S 17 Feb 2003 22:54:40 -0000 1.3 +++ crt0.S 30 Nov 2003 22:53:31 -0000 1.4 @@ -33,7 +33,7 @@ addl3 %r3, %r0, %r2 /* */ -#if defined L_crt1 && defined __UCLIBC_CTOR_DTOR__ +#if (defined L_crt1 || defined L_gcrt1) && defined __UCLIBC_CTOR_DTOR__ /* Push .init and .fini arguments to __uClibc_start_main() on the stack */ pushl $_fini pushl $_init |
From: <ai...@us...> - 2003-11-28 06:49:22
|
Update of /cvsroot/linux-vax/uClibc/extra/Configs In directory sc8-pr-cvs1:/tmp/cvs-serv8286/extra/Configs Modified Files: Config.in Config.vax Log Message: DA: fix up config for vax Index: Config.in =================================================================== RCS file: /cvsroot/linux-vax/uClibc/extra/Configs/Config.in,v retrieving revision 1.1.1.4 retrieving revision 1.3 diff -u -d -r1.1.1.4 -r1.3 --- Config.in 26 Nov 2003 11:16:08 -0000 1.1.1.4 +++ Config.in 28 Nov 2003 06:49:19 -0000 1.3 @@ -53,6 +53,8 @@ config TARGET_v850 bool "v850" +config TARGET_vax + bool "vax" endchoice @@ -114,7 +116,9 @@ source "extra/Configs/Config.v850" endif - +if TARGET_vax +source "extra/Configs/Config.vax" +endif source "extra/Configs/Config.in.arch" Index: Config.vax =================================================================== RCS file: /cvsroot/linux-vax/uClibc/extra/Configs/Config.vax,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Config.vax 17 Feb 2003 22:46:02 -0000 1.1 +++ Config.vax 28 Nov 2003 06:49:19 -0000 1.2 @@ -3,14 +3,16 @@ # see extra/config/Kconfig-language.txt # -mainmenu "uClibc C Library Configuration" - -menu "Target Architecture Features and Options" - config HAVE_ELF bool + select UCLIBC_HAS_MMU + select ARCH_LITTLE_ENDIAN default y +config TARGET_ARCH + string + default "vax" + config ARCH_CFLAGS string @@ -19,14 +21,5 @@ config LIBGCC_CFLAGS string - -config ARCH_HAS_NO_MMU - bool - -source "extra/Configs/Config.in.arch" - -endmenu - -source "extra/Configs/Config.in" |
From: <ai...@us...> - 2003-11-26 11:36:38
|
Update of /cvsroot/linux-vax/uClibc/libc/unistd In directory sc8-pr-cvs1:/tmp/cvs-serv11242/libc/unistd Removed Files: .cvsignore Log Message: DA: merge up 0.9.23 --- .cvsignore DELETED --- |
Update of /cvsroot/linux-vax/uClibc/ldso/util In directory sc8-pr-cvs1:/tmp/cvs-serv11242/ldso/util Removed Files: .cvsignore Makefile bswap.h ldconfig.c ldd.c readelf.c readsoname.c readsoname.h readsoname2.c Log Message: DA: merge up 0.9.23 --- .cvsignore DELETED --- --- Makefile DELETED --- --- bswap.h DELETED --- --- ldconfig.c DELETED --- --- ldd.c DELETED --- --- readelf.c DELETED --- --- readsoname.c DELETED --- --- readsoname.h DELETED --- --- readsoname2.c DELETED --- |
From: <ai...@us...> - 2003-11-26 11:36:38
|
Update of /cvsroot/linux-vax/uClibc/include In directory sc8-pr-cvs1:/tmp/cvs-serv11242/include Modified Files: elf.h Removed Files: ansidecl.h fpu_control.h symcat.h Log Message: DA: merge up 0.9.23 Index: elf.h =================================================================== RCS file: /cvsroot/linux-vax/uClibc/include/elf.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- elf.h 27 Sep 2003 14:46:21 -0000 1.3 +++ elf.h 26 Nov 2003 11:36:34 -0000 1.4 @@ -1879,80 +1879,39 @@ #define R_PPC_SECTOFF_LO 34 #define R_PPC_SECTOFF_HI 35 #define R_PPC_SECTOFF_HA 36 -/* Keep this the last entry. */ -#define R_PPC_NUM 37 - -/* PowerPC64 relocations defined by the ABIs */ -#define R_PPC64_NONE R_PPC_NONE -#define R_PPC64_ADDR32 R_PPC_ADDR32 /* 32bit absolute address. */ -#define R_PPC64_ADDR24 R_PPC_ADDR24 /* 26bit address, word aligned. */ -#define R_PPC64_ADDR16 R_PPC_ADDR16 /* 16bit absolute address. */ -#define R_PPC64_ADDR16_LO R_PPC_ADDR16_LO /* lower 16bits of abs. address. */ -#define R_PPC64_ADDR16_HI R_PPC_ADDR16_HI /* high 16bits of abs. address. */ -#define R_PPC64_ADDR16_HA R_PPC_ADDR16_HA /* adjusted high 16bits. */ -#define R_PPC64_ADDR14 R_PPC_ADDR14 /* 16bit address, word aligned. */ -#define R_PPC64_ADDR14_BRTAKEN R_PPC_ADDR14_BRTAKEN -#define R_PPC64_ADDR14_BRNTAKEN R_PPC_ADDR14_BRNTAKEN -#define R_PPC64_REL24 R_PPC_REL24 /* PC relative 26 bit, word aligned. */ -#define R_PPC64_REL14 R_PPC_REL14 /* PC relative 16 bit. */ -#define R_PPC64_REL14_BRTAKEN R_PPC_REL14_BRTAKEN -#define R_PPC64_REL14_BRNTAKEN R_PPC_REL14_BRNTAKEN -#define R_PPC64_GOT16 R_PPC_GOT16 -#define R_PPC64_GOT16_LO R_PPC_GOT16_LO -#define R_PPC64_GOT16_HI R_PPC_GOT16_HI -#define R_PPC64_GOT16_HA R_PPC_GOT16_HA - -#define R_PPC64_COPY R_PPC_COPY -#define R_PPC64_GLOB_DAT R_PPC_GLOB_DAT -#define R_PPC64_JMP_SLOT R_PPC_JMP_SLOT -#define R_PPC64_RELATIVE R_PPC_RELATIVE -#define R_PPC64_UADDR32 R_PPC_UADDR32 -#define R_PPC64_UADDR16 R_PPC_UADDR16 -#define R_PPC64_REL32 R_PPC_REL32 -#define R_PPC64_PLT32 R_PPC_PLT32 -#define R_PPC64_PLTREL32 R_PPC_PLTREL32 -#define R_PPC64_PLT16_LO R_PPC_PLT16_LO -#define R_PPC64_PLT16_HI R_PPC_PLT16_HI -#define R_PPC64_PLT16_HA R_PPC_PLT16_HA - -#define R_PPC64_SECTOFF R_PPC_SECTOFF -#define R_PPC64_SECTOFF_LO R_PPC_SECTOFF_LO -#define R_PPC64_SECTOFF_HI R_PPC_SECTOFF_HI -#define R_PPC64_SECTOFF_HA R_PPC_SECTOFF_HA -#define R_PPC64_ADDR30 37 /* word30 (S + A - P) >> 2. */ -#define R_PPC64_ADDR64 38 /* doubleword64 S + A. */ -#define R_PPC64_ADDR16_HIGHER 39 /* half16 #higher(S + A). */ -#define R_PPC64_ADDR16_HIGHERA 40 /* half16 #highera(S + A). */ -#define R_PPC64_ADDR16_HIGHEST 41 /* half16 #highest(S + A). */ -#define R_PPC64_ADDR16_HIGHESTA 42 /* half16 #highesta(S + A). */ -#define R_PPC64_UADDR64 43 /* doubleword64 S + A. */ -#define R_PPC64_REL64 44 /* doubleword64 S + A - P. */ -#define R_PPC64_PLT64 45 /* doubleword64 L + A. */ -#define R_PPC64_PLTREL64 46 /* doubleword64 L + A - P. */ -#define R_PPC64_TOC16 47 /* half16* S + A - .TOC. */ -#define R_PPC64_TOC16_LO 48 /* half16 #lo(S + A - .TOC.). */ -#define R_PPC64_TOC16_HI 49 /* half16 #hi(S + A - .TOC.). */ -#define R_PPC64_TOC16_HA 50 /* half16 #ha(S + A - .TOC.). */ -#define R_PPC64_TOC 51 /* doubleword64 .TOC. */ -#define R_PPC64_PLTGOT16 52 /* half16* M + A. */ -#define R_PPC64_PLTGOT16_LO 53 /* half16 #lo(M + A). */ -#define R_PPC64_PLTGOT16_HI 54 /* half16 #hi(M + A). */ -#define R_PPC64_PLTGOT16_HA 55 /* half16 #ha(M + A). */ +/* PowerPC relocations defined for the TLS access ABI. */ +#define R_PPC_TLS 67 /* none (sym+add)@tls */ +#define R_PPC_DTPMOD32 68 /* word32 (sym+add)@dtpmod */ +#define R_PPC_TPREL16 69 /* half16* (sym+add)@tprel */ +#define R_PPC_TPREL16_LO 70 /* half16 (sym+add)@tprel@l */ +#define R_PPC_TPREL16_HI 71 /* half16 (sym+add)@tprel@h */ +#define R_PPC_TPREL16_HA 72 /* half16 (sym+add)@tprel@ha */ +#define R_PPC_TPREL32 73 /* word32 (sym+add)@tprel */ +#define R_PPC_DTPREL16 74 /* half16* (sym+add)@dtprel */ +#define R_PPC_DTPREL16_LO 75 /* half16 (sym+add)@dtprel@l */ +#define R_PPC_DTPREL16_HI 76 /* half16 (sym+add)@dtprel@h */ +#define R_PPC_DTPREL16_HA 77 /* half16 (sym+add)@dtprel@ha */ +#define R_PPC_DTPREL32 78 /* word32 (sym+add)@dtprel */ +#define R_PPC_GOT_TLSGD16 79 /* half16* (sym+add)@got@tlsgd */ +#define R_PPC_GOT_TLSGD16_LO 80 /* half16 (sym+add)@got@tlsgd@l */ +#define R_PPC_GOT_TLSGD16_HI 81 /* half16 (sym+add)@got@tlsgd@h */ +#define R_PPC_GOT_TLSGD16_HA 82 /* half16 (sym+add)@got@tlsgd@ha */ +#define R_PPC_GOT_TLSLD16 83 /* half16* (sym+add)@got@tlsld */ +#define R_PPC_GOT_TLSLD16_LO 84 /* half16 (sym+add)@got@tlsld@l */ +#define R_PPC_GOT_TLSLD16_HI 85 /* half16 (sym+add)@got@tlsld@h */ +#define R_PPC_GOT_TLSLD16_HA 86 /* half16 (sym+add)@got@tlsld@ha */ +#define R_PPC_GOT_TPREL16 87 /* half16* (sym+add)@got@tprel */ +#define R_PPC_GOT_TPREL16_LO 88 /* half16 (sym+add)@got@tprel@l */ +#define R_PPC_GOT_TPREL16_HI 89 /* half16 (sym+add)@got@tprel@h */ +#define R_PPC_GOT_TPREL16_HA 90 /* half16 (sym+add)@got@tprel@ha */ +#define R_PPC_GOT_DTPREL16 91 /* half16* (sym+add)@got@dtprel */ +#define R_PPC_GOT_DTPREL16_LO 92 /* half16* (sym+add)@got@dtprel@l */ +#define R_PPC_GOT_DTPREL16_HI 93 /* half16* (sym+add)@got@dtprel@h */ +#define R_PPC_GOT_DTPREL16_HA 94 /* half16* (sym+add)@got@dtprel@ha */ -#define R_PPC64_ADDR16_DS 56 /* half16ds* (S + A) >> 2. */ -#define R_PPC64_ADDR16_LO_DS 57 /* half16ds #lo(S + A) >> 2. */ -#define R_PPC64_GOT16_DS 58 /* half16ds* (G + A) >> 2. */ -#define R_PPC64_GOT16_LO_DS 59 /* half16ds #lo(G + A) >> 2. */ -#define R_PPC64_PLT16_LO_DS 60 /* half16ds #lo(L + A) >> 2. */ -#define R_PPC64_SECTOFF_DS 61 /* half16ds* (R + A) >> 2. */ -#define R_PPC64_SECTOFF_LO_DS 62 /* half16ds #lo(R + A) >> 2. */ -#define R_PPC64_TOC16_DS 63 /* half16ds* (S + A - .TOC.) >> 2. */ -#define R_PPC64_TOC16_LO_DS 64 /* half16ds #lo(S + A - .TOC.) >> 2. */ -#define R_PPC64_PLTGOT16_DS 65 /* half16ds* (M + A) >> 2. */ -#define R_PPC64_PLTGOT16_LO_DS 66 /* half16ds #lo(M + A) >> 2. */ /* Keep this the last entry. */ -#define R_PPC64_NUM 67 +#define R_PPC_NUM 95 /* The remaining relocs are from the Embedded ELF ABI, and are not in the SVR4 ELF ABI. */ @@ -1985,6 +1944,122 @@ that may still be in object files. */ #define R_PPC_TOC16 255 + +/* PowerPC64 relocations defined by the ABIs */ +#define R_PPC64_NONE R_PPC_NONE +#define R_PPC64_ADDR32 R_PPC_ADDR32 /* 32bit absolute address */ +#define R_PPC64_ADDR24 R_PPC_ADDR24 /* 26bit address, word aligned */ +#define R_PPC64_ADDR16 R_PPC_ADDR16 /* 16bit absolute address */ +#define R_PPC64_ADDR16_LO R_PPC_ADDR16_LO /* lower 16bits of address */ +#define R_PPC64_ADDR16_HI R_PPC_ADDR16_HI /* high 16bits of address. */ +#define R_PPC64_ADDR16_HA R_PPC_ADDR16_HA /* adjusted high 16bits. */ +#define R_PPC64_ADDR14 R_PPC_ADDR14 /* 16bit address, word aligned */ +#define R_PPC64_ADDR14_BRTAKEN R_PPC_ADDR14_BRTAKEN +#define R_PPC64_ADDR14_BRNTAKEN R_PPC_ADDR14_BRNTAKEN +#define R_PPC64_REL24 R_PPC_REL24 /* PC-rel. 26 bit, word aligned */ +#define R_PPC64_REL14 R_PPC_REL14 /* PC relative 16 bit */ +#define R_PPC64_REL14_BRTAKEN R_PPC_REL14_BRTAKEN +#define R_PPC64_REL14_BRNTAKEN R_PPC_REL14_BRNTAKEN +#define R_PPC64_GOT16 R_PPC_GOT16 +#define R_PPC64_GOT16_LO R_PPC_GOT16_LO +#define R_PPC64_GOT16_HI R_PPC_GOT16_HI +#define R_PPC64_GOT16_HA R_PPC_GOT16_HA + +#define R_PPC64_COPY R_PPC_COPY +#define R_PPC64_GLOB_DAT R_PPC_GLOB_DAT +#define R_PPC64_JMP_SLOT R_PPC_JMP_SLOT +#define R_PPC64_RELATIVE R_PPC_RELATIVE + +#define R_PPC64_UADDR32 R_PPC_UADDR32 +#define R_PPC64_UADDR16 R_PPC_UADDR16 +#define R_PPC64_REL32 R_PPC_REL32 +#define R_PPC64_PLT32 R_PPC_PLT32 +#define R_PPC64_PLTREL32 R_PPC_PLTREL32 +#define R_PPC64_PLT16_LO R_PPC_PLT16_LO +#define R_PPC64_PLT16_HI R_PPC_PLT16_HI +#define R_PPC64_PLT16_HA R_PPC_PLT16_HA + +#define R_PPC64_SECTOFF R_PPC_SECTOFF +#define R_PPC64_SECTOFF_LO R_PPC_SECTOFF_LO +#define R_PPC64_SECTOFF_HI R_PPC_SECTOFF_HI +#define R_PPC64_SECTOFF_HA R_PPC_SECTOFF_HA +#define R_PPC64_ADDR30 37 /* word30 (S + A - P) >> 2 */ +#define R_PPC64_ADDR64 38 /* doubleword64 S + A */ +#define R_PPC64_ADDR16_HIGHER 39 /* half16 #higher(S + A) */ +#define R_PPC64_ADDR16_HIGHERA 40 /* half16 #highera(S + A) */ +#define R_PPC64_ADDR16_HIGHEST 41 /* half16 #highest(S + A) */ +#define R_PPC64_ADDR16_HIGHESTA 42 /* half16 #highesta(S + A) */ +#define R_PPC64_UADDR64 43 /* doubleword64 S + A */ +#define R_PPC64_REL64 44 /* doubleword64 S + A - P */ +#define R_PPC64_PLT64 45 /* doubleword64 L + A */ +#define R_PPC64_PLTREL64 46 /* doubleword64 L + A - P */ +#define R_PPC64_TOC16 47 /* half16* S + A - .TOC */ +#define R_PPC64_TOC16_LO 48 /* half16 #lo(S + A - .TOC.) */ +#define R_PPC64_TOC16_HI 49 /* half16 #hi(S + A - .TOC.) */ +#define R_PPC64_TOC16_HA 50 /* half16 #ha(S + A - .TOC.) */ +#define R_PPC64_TOC 51 /* doubleword64 .TOC */ +#define R_PPC64_PLTGOT16 52 /* half16* M + A */ +#define R_PPC64_PLTGOT16_LO 53 /* half16 #lo(M + A) */ +#define R_PPC64_PLTGOT16_HI 54 /* half16 #hi(M + A) */ +#define R_PPC64_PLTGOT16_HA 55 /* half16 #ha(M + A) */ + +#define R_PPC64_ADDR16_DS 56 /* half16ds* (S + A) >> 2 */ +#define R_PPC64_ADDR16_LO_DS 57 /* half16ds #lo(S + A) >> 2 */ +#define R_PPC64_GOT16_DS 58 /* half16ds* (G + A) >> 2 */ +#define R_PPC64_GOT16_LO_DS 59 /* half16ds #lo(G + A) >> 2 */ +#define R_PPC64_PLT16_LO_DS 60 /* half16ds #lo(L + A) >> 2 */ +#define R_PPC64_SECTOFF_DS 61 /* half16ds* (R + A) >> 2 */ +#define R_PPC64_SECTOFF_LO_DS 62 /* half16ds #lo(R + A) >> 2 */ +#define R_PPC64_TOC16_DS 63 /* half16ds* (S + A - .TOC.) >> 2 */ +#define R_PPC64_TOC16_LO_DS 64 /* half16ds #lo(S + A - .TOC.) >> 2 */ +#define R_PPC64_PLTGOT16_DS 65 /* half16ds* (M + A) >> 2 */ +#define R_PPC64_PLTGOT16_LO_DS 66 /* half16ds #lo(M + A) >> 2 */ + +/* PowerPC64 relocations defined for the TLS access ABI. */ +#define R_PPC64_TLS 67 /* none (sym+add)@tls */ +#define R_PPC64_DTPMOD64 68 /* doubleword64 (sym+add)@dtpmod */ +#define R_PPC64_TPREL16 69 /* half16* (sym+add)@tprel */ +#define R_PPC64_TPREL16_LO 70 /* half16 (sym+add)@tprel@l */ +#define R_PPC64_TPREL16_HI 71 /* half16 (sym+add)@tprel@h */ +#define R_PPC64_TPREL16_HA 72 /* half16 (sym+add)@tprel@ha */ +#define R_PPC64_TPREL64 73 /* doubleword64 (sym+add)@tprel */ +#define R_PPC64_DTPREL16 74 /* half16* (sym+add)@dtprel */ +#define R_PPC64_DTPREL16_LO 75 /* half16 (sym+add)@dtprel@l */ +#define R_PPC64_DTPREL16_HI 76 /* half16 (sym+add)@dtprel@h */ +#define R_PPC64_DTPREL16_HA 77 /* half16 (sym+add)@dtprel@ha */ +#define R_PPC64_DTPREL64 78 /* doubleword64 (sym+add)@dtprel */ +#define R_PPC64_GOT_TLSGD16 79 /* half16* (sym+add)@got@tlsgd */ +#define R_PPC64_GOT_TLSGD16_LO 80 /* half16 (sym+add)@got@tlsgd@l */ +#define R_PPC64_GOT_TLSGD16_HI 81 /* half16 (sym+add)@got@tlsgd@h */ +#define R_PPC64_GOT_TLSGD16_HA 82 /* half16 (sym+add)@got@tlsgd@ha */ +#define R_PPC64_GOT_TLSLD16 83 /* half16* (sym+add)@got@tlsld */ +#define R_PPC64_GOT_TLSLD16_LO 84 /* half16 (sym+add)@got@tlsld@l */ +#define R_PPC64_GOT_TLSLD16_HI 85 /* half16 (sym+add)@got@tlsld@h */ +#define R_PPC64_GOT_TLSLD16_HA 86 /* half16 (sym+add)@got@tlsld@ha */ +#define R_PPC64_GOT_TPREL16_DS 87 /* half16ds* (sym+add)@got@tprel */ +#define R_PPC64_GOT_TPREL16_LO_DS 88 /* half16ds (sym+add)@got@tprel@l */ +#define R_PPC64_GOT_TPREL16_HI 89 /* half16 (sym+add)@got@tprel@h */ +#define R_PPC64_GOT_TPREL16_HA 90 /* half16 (sym+add)@got@tprel@ha */ +#define R_PPC64_GOT_DTPREL16_DS 91 /* half16ds* (sym+add)@got@dtprel */ +#define R_PPC64_GOT_DTPREL16_LO_DS 92 /* half16ds (sym+add)@got@dtprel@l */ +#define R_PPC64_GOT_DTPREL16_HI 93 /* half16 (sym+add)@got@dtprel@h */ +#define R_PPC64_GOT_DTPREL16_HA 94 /* half16 (sym+add)@got@dtprel@ha */ +#define R_PPC64_TPREL16_DS 95 /* half16ds* (sym+add)@tprel */ +#define R_PPC64_TPREL16_LO_DS 96 /* half16ds (sym+add)@tprel@l */ +#define R_PPC64_TPREL16_HIGHER 97 /* half16 (sym+add)@tprel@higher */ +#define R_PPC64_TPREL16_HIGHERA 98 /* half16 (sym+add)@tprel@highera */ +#define R_PPC64_TPREL16_HIGHEST 99 /* half16 (sym+add)@tprel@highest */ +#define R_PPC64_TPREL16_HIGHESTA 100 /* half16 (sym+add)@tprel@highesta */ +#define R_PPC64_DTPREL16_DS 101 /* half16ds* (sym+add)@dtprel */ +#define R_PPC64_DTPREL16_LO_DS 102 /* half16ds (sym+add)@dtprel@l */ +#define R_PPC64_DTPREL16_HIGHER 103 /* half16 (sym+add)@dtprel@higher */ +#define R_PPC64_DTPREL16_HIGHERA 104 /* half16 (sym+add)@dtprel@highera */ +#define R_PPC64_DTPREL16_HIGHEST 105 /* half16 (sym+add)@dtprel@highest */ +#define R_PPC64_DTPREL16_HIGHESTA 106 /* half16 (sym+add)@dtprel@highesta */ + +/* Keep this the last entry. */ +#define R_PPC64_NUM 107 + /* PowerPC64 specific values for the Dyn d_tag field. */ #define DT_PPC64_GLINK (DT_LOPROC + 0) #define DT_PPC64_NUM 1 @@ -2099,6 +2174,7 @@ #define DT_IA_64_NUM 1 /* IA-64 relocations. */ +/* IA-64 relocations. */ #define R_IA64_NONE 0x00 /* none */ #define R_IA64_IMM14 0x21 /* symbol + addend, add imm14 */ #define R_IA64_IMM22 0x22 /* symbol + addend, add imm22 */ @@ -2213,11 +2289,6 @@ #define R_SH_TLS_DTPMOD32 149 #define R_SH_TLS_DTPOFF32 150 #define R_SH_TLS_TPOFF32 151 -#define R_SH_TLS_GD_MOV 152 -#define R_SH_TLS_LDM_MOV 153 -#define R_SH_TLS_LDO_MOV 154 -#define R_SH_TLS_IE_MOV 155 -#define R_SH_TLS_LE_MOV 156 #define R_SH_GOT32 160 #define R_SH_PLT32 161 #define R_SH_COPY 162 @@ -2231,36 +2302,88 @@ /* Additional s390 relocs */ -#define R_390_NONE 0 /* No reloc. */ -#define R_390_8 1 /* Direct 8 bit. */ -#define R_390_12 2 /* Direct 12 bit. */ -#define R_390_16 3 /* Direct 16 bit. */ -#define R_390_32 4 /* Direct 32 bit. */ -#define R_390_PC32 5 /* PC relative 32 bit. */ -#define R_390_GOT12 6 /* 12 bit GOT offset. */ -#define R_390_GOT32 7 /* 32 bit GOT offset. */ -#define R_390_PLT32 8 /* 32 bit PC relative PLT address. */ -#define R_390_COPY 9 /* Copy symbol at runtime. */ -#define R_390_GLOB_DAT 10 /* Create GOT entry. */ -#define R_390_JMP_SLOT 11 /* Create PLT entry. */ -#define R_390_RELATIVE 12 /* Adjust by program base. */ -#define R_390_GOTOFF 13 /* 32 bit offset to GOT. */ -#define R_390_GOTPC 14 /* 32 bit PC relative offset to GOT. */ -#define R_390_GOT16 15 /* 16 bit GOT offset. */ -#define R_390_PC16 16 /* PC relative 16 bit. */ -#define R_390_PC16DBL 17 /* PC relative 16 bit shifted by 1. */ -#define R_390_PLT16DBL 18 /* 16 bit PC rel. PLT shifted by 1. */ -#define R_390_PC32DBL 19 /* PC relative 32 bit shifted by 1. */ -#define R_390_PLT32DBL 20 /* 32 bit PC rel. PLT shifted by 1. */ -#define R_390_GOTPCDBL 21 /* 32 bit PC rel. GOT shifted by 1. */ -#define R_390_64 22 /* Direct 64 bit. */ -#define R_390_PC64 23 /* PC relative 64 bit. */ -#define R_390_GOT64 24 /* 64 bit GOT offset. */ -#define R_390_PLT64 25 /* 64 bit PC relative PLT address. */ -#define R_390_GOTENT 26 /* 32 bit PC rel. to GOT entry >> 1. */ +#define R_390_NONE 0 /* No reloc. */ +#define R_390_8 1 /* Direct 8 bit. */ +#define R_390_12 2 /* Direct 12 bit. */ +#define R_390_16 3 /* Direct 16 bit. */ +#define R_390_32 4 /* Direct 32 bit. */ +#define R_390_PC32 5 /* PC relative 32 bit. */ +#define R_390_GOT12 6 /* 12 bit GOT offset. */ +#define R_390_GOT32 7 /* 32 bit GOT offset. */ +#define R_390_PLT32 8 /* 32 bit PC relative PLT address. */ +#define R_390_COPY 9 /* Copy symbol at runtime. */ +#define R_390_GLOB_DAT 10 /* Create GOT entry. */ +#define R_390_JMP_SLOT 11 /* Create PLT entry. */ +#define R_390_RELATIVE 12 /* Adjust by program base. */ +#define R_390_GOTOFF32 13 /* 32 bit offset to GOT. */ + +/* Those crazy binutils folks changed their + * abi. Add this so older apps can cope. */ +#define R_390_GOTOFF R_390_GOTOFF32 + +#define R_390_GOTPC 14 /* 32 bit PC relative offset to GOT. */ +#define R_390_GOT16 15 /* 16 bit GOT offset. */ +#define R_390_PC16 16 /* PC relative 16 bit. */ +#define R_390_PC16DBL 17 /* PC relative 16 bit shifted by 1. */ +#define R_390_PLT16DBL 18 /* 16 bit PC rel. PLT shifted by 1. */ +#define R_390_PC32DBL 19 /* PC relative 32 bit shifted by 1. */ +#define R_390_PLT32DBL 20 /* 32 bit PC rel. PLT shifted by 1. */ +#define R_390_GOTPCDBL 21 /* 32 bit PC rel. GOT shifted by 1. */ +#define R_390_64 22 /* Direct 64 bit. */ +#define R_390_PC64 23 /* PC relative 64 bit. */ +#define R_390_GOT64 24 /* 64 bit GOT offset. */ +#define R_390_PLT64 25 /* 64 bit PC relative PLT address. */ +#define R_390_GOTENT 26 /* 32 bit PC rel. to GOT entry >> 1. */ +#define R_390_GOTOFF16 27 /* 16 bit offset to GOT. */ +#define R_390_GOTOFF64 28 /* 64 bit offset to GOT. */ +#define R_390_GOTPLT12 29 /* 12 bit offset to jump slot. */ +#define R_390_GOTPLT16 30 /* 16 bit offset to jump slot. */ +#define R_390_GOTPLT32 31 /* 32 bit offset to jump slot. */ +#define R_390_GOTPLT64 32 /* 64 bit offset to jump slot. */ +#define R_390_GOTPLTENT 33 /* 32 bit rel. offset to jump slot. */ +#define R_390_PLTOFF16 34 /* 16 bit offset from GOT to PLT. */ +#define R_390_PLTOFF32 35 /* 32 bit offset from GOT to PLT. */ +#define R_390_PLTOFF64 36 /* 16 bit offset from GOT to PLT. */ +#define R_390_TLS_LOAD 37 /* Tag for load insn in TLS code. */ +#define R_390_TLS_GDCALL 38 /* Tag for function call in general + dynamic TLS code. */ +#define R_390_TLS_LDCALL 39 /* Tag for function call in local + dynamic TLS code. */ +#define R_390_TLS_GD32 40 /* Direct 32 bit for general dynamic + thread local data. */ +#define R_390_TLS_GD64 41 /* Direct 64 bit for general dynamic + thread local data. */ +#define R_390_TLS_GOTIE12 42 /* 12 bit GOT offset for static TLS + block offset. */ +#define R_390_TLS_GOTIE32 43 /* 32 bit GOT offset for static TLS + block offset. */ +#define R_390_TLS_GOTIE64 44 /* 64 bit GOT offset for static TLS + block offset. */ +#define R_390_TLS_LDM32 45 /* Direct 32 bit for local dynamic + thread local data in LE code. */ +#define R_390_TLS_LDM64 46 /* Direct 64 bit for local dynamic + thread local data in LE code. */ +#define R_390_TLS_IE32 47 /* 32 bit address of GOT entry for + negated static TLS block offset. */ +#define R_390_TLS_IE64 48 /* 64 bit address of GOT entry for + negated static TLS block offset. */ +#define R_390_TLS_IEENT 49 /* 32 bit rel. offset to GOT entry for + negated static TLS block offset. */ +#define R_390_TLS_LE32 50 /* 32 bit negated offset relative to + static TLS block. */ +#define R_390_TLS_LE64 51 /* 64 bit negated offset relative to + static TLS block. */ +#define R_390_TLS_LDO32 52 /* 32 bit offset relative to TLS + block. */ +#define R_390_TLS_LDO64 53 /* 64 bit offset relative to TLS + block. */ +#define R_390_TLS_DTPMOD 54 /* ID of module containing symbol. */ +#define R_390_TLS_DTPOFF 55 /* Offset in TLS block. */ +#define R_390_TLS_TPOFF 56 /* Negated offset in static TLS + block. */ /* Keep this the last entry. */ -#define R_390_NUM 27 +#define R_390_NUM 57 /* VAX relocations. */ #define R_VAX_NONE 0 @@ -2332,9 +2455,11 @@ #define R_X86_64_TLSLD 20 /* 32 bit signed PC relative offset to two GOT entries for LD symbol */ #define R_X86_64_DTPOFF32 21 /* Offset in TLS block */ -#define r_x86_64_GOTTPOFF 22 /* 32 bit signed PC relative offset +#define R_X86_64_GOTTPOFF 22 /* 32 bit signed PC relative offset to GOT entry for IE symbol */ #define R_X86_64_TPOFF32 23 /* Offset in initial TLS block */ + +#define R_X86_64_NUM 24 /* Keep this the last entry. */ #define R_X86_64_NUM 24 --- ansidecl.h DELETED --- --- fpu_control.h DELETED --- --- symcat.h DELETED --- |
From: <ai...@us...> - 2003-11-26 11:36:38
|
Update of /cvsroot/linux-vax/uClibc/extra/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv11242/extra/scripts Removed Files: get-needed-libgcc-objects.sh initfini.awk Log Message: DA: merge up 0.9.23 --- get-needed-libgcc-objects.sh DELETED --- --- initfini.awk DELETED --- |
Update of /cvsroot/linux-vax/uClibc/libc/pwd_grp In directory sc8-pr-cvs1:/tmp/cvs-serv11242/libc/pwd_grp Removed Files: __getgrent.c __getpwent_r.c __getspent_r.c __sgetspent_r.c config.h fgetgrent.c fgetpwent.c fgetspent.c getgrgid.c getgrnam.c getpw.c getpwnam.c getpwuid.c getspnam.c getspuid.c grent.c initgroups.c putpwent.c putspent.c pwent.c sgetspent.c spent.c Log Message: DA: merge up 0.9.23 --- __getgrent.c DELETED --- --- __getpwent_r.c DELETED --- --- __getspent_r.c DELETED --- --- __sgetspent_r.c DELETED --- --- config.h DELETED --- --- fgetgrent.c DELETED --- --- fgetpwent.c DELETED --- --- fgetspent.c DELETED --- --- getgrgid.c DELETED --- --- getgrnam.c DELETED --- --- getpw.c DELETED --- --- getpwnam.c DELETED --- --- getpwuid.c DELETED --- --- getspnam.c DELETED --- --- getspuid.c DELETED --- --- grent.c DELETED --- --- initgroups.c DELETED --- --- putpwent.c DELETED --- --- putspent.c DELETED --- --- pwent.c DELETED --- --- sgetspent.c DELETED --- --- spent.c DELETED --- |
From: <ai...@us...> - 2003-11-26 11:36:38
|
Update of /cvsroot/linux-vax/uClibc/libc/stdio In directory sc8-pr-cvs1:/tmp/cvs-serv11242/libc/stdio Modified Files: printf.c Log Message: DA: merge up 0.9.23 Index: printf.c =================================================================== RCS file: /cvsroot/linux-vax/uClibc/libc/stdio/printf.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- printf.c 27 Sep 2003 14:46:21 -0000 1.4 +++ printf.c 26 Nov 2003 11:36:35 -0000 1.5 @@ -75,6 +75,9 @@ * * Sep 5, 2003 * Implement *s*scanf for the non-buffered stdio case with old_vfprintf. + * + * Sep 23, 2003 + * vfprintf was not always checking for narrow stream orientation. */ /* TODO: @@ -3204,6 +3207,18 @@ count = 0; s = format; +#if defined(L_vfprintf) && defined(__UCLIBC_HAS_WCHAR__) + /* Sigh... I forgot that by calling _stdio_fwrite, vfprintf doesn't + * always check the stream's orientation. This is just a temporary + * fix until I rewrite the stdio core work routines. */ + if (stream->modeflags & __FLAG_WIDE) { + stream->modeflags |= __FLAG_ERROR; + count = -1; + goto DONE; + } + stream->modeflags |= __FLAG_NARROW; +#endif + if (_PPFS_init(&ppfs, format) < 0) { /* Bad format string. */ OUTNSTR(stream, (const FMT_TYPE *) ppfs.fmtpos, STRLEN((const FMT_TYPE *)(ppfs.fmtpos))); @@ -3248,6 +3263,10 @@ va_end(ppfs.arg); /* Need to clean up after va_copy! */ } + +#if defined(L_vfprintf) && defined(__UCLIBC_HAS_WCHAR__) + DONE: +#endif __STDIO_THREADUNLOCK(stream); |
From: <ai...@us...> - 2003-11-26 11:36:38
|
Update of /cvsroot/linux-vax/uClibc/libc/sysdeps/linux/common In directory sc8-pr-cvs1:/tmp/cvs-serv11242/libc/sysdeps/linux/common Removed Files: initfini.c Log Message: DA: merge up 0.9.23 --- initfini.c DELETED --- |
From: <ai...@us...> - 2003-11-26 11:36:38
|
Update of /cvsroot/linux-vax/uClibc/ldso/ldso In directory sc8-pr-cvs1:/tmp/cvs-serv11242/ldso/ldso Modified Files: Makefile ldso.c Log Message: DA: merge up 0.9.23 Index: Makefile =================================================================== RCS file: /cvsroot/linux-vax/uClibc/ldso/ldso/Makefile,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Makefile 27 Sep 2003 14:46:21 -0000 1.3 +++ Makefile 26 Nov 2003 11:36:34 -0000 1.4 @@ -28,13 +28,25 @@ XXFLAGS=$(XWARNINGS) $(OPTIMIZATION) $(XARCH_CFLAGS) $(CPU_CFLAGS) $(PICFLAG) \ - -DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \ - -DUCLIBC_DEVEL_PREFIX=\"$(DEVEL_PREFIX)\" \ - -DUCLIBC_BUILD_DIR=\"$(shell cd $(TOPDIR) && pwd)\" \ + -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \ -fno-builtin -nostdinc -I$(TOPDIR)ldso/include -I. -I$(TOPDIR)include + +ifeq ($(DODEBUG),y) +XXFLAGS=$(XWARNINGS) $(XARCH_CFLAGS) $(CPU_CFLAGS) $(PICFLAG) \ + -DUCLIBC_RUNTIME_PREFIX=\"$(RUNTIME_PREFIX)\" \ + -fno-builtin -nostdinc -I$(TOPDIR)ldso/include -I. -I$(TOPDIR)include +endif + +ifeq ($(TARGET_ARCH),powerpc) +XXFLAGS+=-Os -g3 +else +XXFLAGS+=-O0 -g3 +endif + XXFLAGS+=$(shell $(CC) -print-search-dirs | sed -ne "s/install: *\(.*\)/-I\1include/gp") LDFLAGS=$(CPU_LDFLAGS-y) -Bsymbolic -Bshareable -shared --warn-common --export-dynamic --sort-common \ -z combreloc --discard-locals --discard-all + CSRC= ldso.c #hash.c readelflib1.c $(TARGET_ARCH)/elfinterp.c COBJS=$(patsubst %.c,%.o, $(CSRC)) ASRC=$(shell ls $(TARGET_ARCH)/*.S) @@ -62,9 +74,9 @@ lib:: _dl_progname.h $(OBJS) $(DLINK_OBJS) $(LD) $(LDFLAGS) -e _dl_boot -soname=$(UCLIBC_LDSO) \ -o $(LDSO_FULLNAME) $(OBJS) $(LIBGCC); - install -d $(TOPDIR)lib - install -m 755 $(LDSO_FULLNAME) $(TOPDIR)lib - (cd $(TOPDIR)lib && ln -sf $(LDSO_FULLNAME) $(UCLIBC_LDSO)) + $(INSTALL) -d $(TOPDIR)lib + $(INSTALL) -m 755 $(LDSO_FULLNAME) $(TOPDIR)lib + $(LN) -sf $(LDSO_FULLNAME) $(TOPDIR)lib/$(UCLIBC_LDSO) _dl_progname.h: Makefile echo "const char *_dl_progname=\""$(UCLIBC_LDSO)"\";" > _dl_progname.h @@ -81,6 +93,5 @@ ldso.o: ldso.c hash.c readelflib1.c $(TARGET_ARCH)/elfinterp.c _dl_progname.h -clean:: - $(RM) -f $(UCLIBC_LDSO)* $(OBJS) $(LDSO_FULLNAME)* core *.o *.a *.s *.i _dl_progname.h ldso.h *~ - +clean: + $(RM) $(UCLIBC_LDSO)* $(OBJS) $(LDSO_FULLNAME)* core *.o *.a *.s *.i _dl_progname.h ldso.h *~ Index: ldso.c =================================================================== RCS file: /cvsroot/linux-vax/uClibc/ldso/ldso/ldso.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ldso.c 27 Sep 2003 14:46:21 -0000 1.6 +++ ldso.c 26 Nov 2003 11:36:34 -0000 1.7 @@ -217,7 +217,7 @@ /* First obtain the information on the stack that tells us more about what binary is loaded, where it is loaded, etc, etc */ GET_ARGV(aux_dat, args); -#if defined (__arm__) || defined (__mips__) +#if defined (__arm__) || defined (__mips__) || defined (__cris__) aux_dat += 1; #endif argc = *(aux_dat - 1); @@ -1067,8 +1067,7 @@ #endif #ifdef __LDSO_LDD_SUPPORT__ if (_dl_trace_loaded_objects && tpnt1->usage_count==1) { - name = _dl_get_last_path_component(tpnt1->libname); - _dl_dprintf(1, "\t%s => %s (%x)\n", lpntstr, --name, + _dl_dprintf(1, "\t%s => %s (%x)\n", lpntstr, tpnt1->libname, (unsigned) tpnt1->loadaddr); } #endif |
Update of /cvsroot/linux-vax/uClibc/debian In directory sc8-pr-cvs1:/tmp/cvs-serv11242/debian Removed Files: README.Debian control.in fixlinks libuclibc-dev.files libuclibc0.files libuclibc0.postinst libuclibc0.shlibs mksnapshot uclibc-gcc.1 uclibc-gcc.dirs uclibc-ldconfig.1 uclibc-ldd.1 uclibc-readelf.1 uclibc-toolchain.files Log Message: DA: merge up 0.9.23 --- README.Debian DELETED --- --- control.in DELETED --- --- fixlinks DELETED --- --- libuclibc-dev.files DELETED --- --- libuclibc0.files DELETED --- --- libuclibc0.postinst DELETED --- --- libuclibc0.shlibs DELETED --- --- mksnapshot DELETED --- --- uclibc-gcc.1 DELETED --- --- uclibc-gcc.dirs DELETED --- --- uclibc-ldconfig.1 DELETED --- --- uclibc-ldd.1 DELETED --- --- uclibc-readelf.1 DELETED --- --- uclibc-toolchain.files DELETED --- |
From: <ai...@us...> - 2003-11-26 11:36:37
|
Update of /cvsroot/linux-vax/uClibc/extra/gcc-uClibc In directory sc8-pr-cvs1:/tmp/cvs-serv11242/extra/gcc-uClibc Removed Files: .cvsignore Makefile gcc-uClibc.c Log Message: DA: merge up 0.9.23 --- .cvsignore DELETED --- --- Makefile DELETED --- --- gcc-uClibc.c DELETED --- |
Update of /cvsroot/linux-vax/uClibc/extra/Configs In directory sc8-pr-cvs1:/tmp/cvs-serv11242/extra/Configs Removed Files: Config.arm.default Config.cris.default Config.h8300.default Config.i386.default Config.m68k.default Config.mips.default Config.mipsel Config.mipsel.default Config.powerpc.default Config.sh.default Config.sh64 Config.sh64.default Config.v850.default Log Message: DA: merge up 0.9.23 --- Config.arm.default DELETED --- --- Config.cris.default DELETED --- --- Config.h8300.default DELETED --- --- Config.i386.default DELETED --- --- Config.m68k.default DELETED --- --- Config.mips.default DELETED --- --- Config.mipsel DELETED --- --- Config.mipsel.default DELETED --- --- Config.powerpc.default DELETED --- --- Config.sh.default DELETED --- --- Config.sh64 DELETED --- --- Config.sh64.default DELETED --- --- Config.v850.default DELETED --- |
From: <ai...@us...> - 2003-11-26 11:36:36
|
Update of /cvsroot/linux-vax/uClibc In directory sc8-pr-cvs1:/tmp/cvs-serv11242 Modified Files: Rules.mak Log Message: DA: merge up 0.9.23 Index: Rules.mak =================================================================== RCS file: /cvsroot/linux-vax/uClibc/Rules.mak,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Rules.mak 27 Sep 2003 15:25:39 -0000 1.3 +++ Rules.mak 26 Nov 2003 11:36:33 -0000 1.4 @@ -31,8 +31,8 @@ # your compiler is broken, you should not need to specify TARGET_ARCH # # Most people will set this stuff on the command line, i.e. -# make CROSS=mipsel-linux- -# will build uClibc for 'mipsel'. +# make CROSS=arm-linux- +# will build uClibc for 'arm'. ifndef CROSS CROSS=vax-dec-linux- @@ -43,6 +43,10 @@ NM= $(CROSS)nm STRIPTOOL= $(CROSS)strip +INSTALL= install +LN= ln +RM= rm -f + # Select the compiler needed to build binaries for your development system HOSTCC=gcc HOSTCFLAGS=-O2 -Wall @@ -54,7 +58,7 @@ # this stuff alone. MAJOR_VERSION:=0 MINOR_VERSION:=9 -SUBLEVEL:=21 +SUBLEVEL:=23 VERSION:=$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL) # Ensure consistent sort order, 'gcc -print-search-dirs' behavior, etc. LC_ALL:= C @@ -75,35 +79,11 @@ check_gcc=$(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1; \ then echo "$(1)"; else echo "$(2)"; fi) -# check if we have nawk, otherwise user awk -AWK:=$(shell if [ -x /usr/bin/nawk ]; then echo "/usr/bin/nawk"; \ - else echo "/usr/bin/awk"; fi) - -HOST_ARCH= $(shell uname -m | sed \ - -e 's/i.86/i386/' \ - -e 's/sparc.*/sparc/' \ - -e 's/arm.*/arm/g' \ - -e 's/m68k.*/m68k/' \ - -e 's/ppc/powerpc/g' \ - -e 's/v850.*/v850/g' \ - -e 's/sh[234].*/sh/' \ - -e 's/mips.*/mips/' \ - ) -ifeq ($(strip $(TARGET_ARCH)),) -TARGET_ARCH=$(shell $(CC) -dumpmachine | sed -e s'/-.*//' \ - -e 's/i.86/i386/' \ - -e 's/sparc.*/sparc/' \ - -e 's/arm.*/arm/g' \ - -e 's/m68k.*/m68k/' \ - -e 's/ppc/powerpc/g' \ - -e 's/v850.*/v850/g' \ - -e 's/sh[234]/sh/' \ - -e 's/mips-.*/mips/' \ - -e 's/mipsel-.*/mipsel/' \ - -e 's/cris.*/cris/' \ - ) -endif -export TARGET_ARCH +# Make certain these contain a final "/", but no "//"s. +TARGET_ARCH:=$(strip $(subst ",, $(strip $(TARGET_ARCH)))) +RUNTIME_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(RUNTIME_PREFIX)))))) +DEVEL_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(DEVEL_PREFIX)))))) +export RUNTIME_PREFIX DEVEL_PREFIX ARFLAGS:=r @@ -143,8 +123,8 @@ CPU_CFLAGS-$(CONFIG_ARM926T)+=-mtune=arm9tdmi -march=armv4 CPU_CFLAGS-$(CONFIG_ARM_SA110)+=-mtune=strongarm110 -march=armv4 CPU_CFLAGS-$(CONFIG_ARM_SA1100)+=-mtune=strongarm1100 -march=armv4 - CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=$(call check_gcc,-mtune=xscale,-mtune=strongarm110) \ - $(call check_gcc,-march=armv5te,-march=armv4 -Wa$(comma)-mxscale) + CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=$(call check_gcc,-mtune=xscale,-mtune=strongarm110) + CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=-march=armv4 -Wa,-mcpu=xscale endif ifeq ($(strip $(TARGET_ARCH)),sh) @@ -178,7 +158,7 @@ ifeq ($(strip $(TARGET_ARCH)),cris) CPU_LDFLAGS-$(CONFIG_CRIS)+=-mcrislinux CPU_CFLAGS-$(CONFIG_CRIS)+=-mlinux - PICFLAG+=-fpic + PICFLAG=-fpic endif # use '-Os' optimization if available, else use -O2, allow Config to override @@ -194,8 +174,8 @@ -fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)include -I. ifeq ($(DODEBUG),y) - CFLAGS += -g - #CFLAGS = $(XWARNINGS) -O0 -g $(CPU_CFLAGS) -fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)include -I. + #CFLAGS += -g3 + CFLAGS = $(XWARNINGS) -O0 -g3 $(CPU_CFLAGS) -fno-builtin -nostdinc -D_LIBC -I$(TOPDIR)include -I. LDFLAGS:= $(CPU_LDFLAGS-y) -shared --warn-common --warn-once -z combreloc STRIPTOOL:= true -Since_we_are_debugging else @@ -214,17 +194,20 @@ LIBRARY_CACHE:=#-DUSE_CACHE ifeq ($(BUILD_UCLIBC_LDSO),y) LDSO:=$(TOPDIR)lib/$(UCLIBC_LDSO) - DYNAMIC_LINKER:=$(SHARED_LIB_LOADER_PATH)/$(UCLIBC_LDSO) - BUILD_DYNAMIC_LINKER:=$(shell cd $(TOPDIR) && pwd)/lib/$(UCLIBC_LDSO) + DYNAMIC_LINKER:=$(SHARED_LIB_LOADER_PREFIX)/$(UCLIBC_LDSO) else LDSO:=$(SYSTEM_LDSO) DYNAMIC_LINKER:=/lib/$(strip $(subst ",, $(notdir $(SYSTEM_LDSO)))) - BUILD_DYNAMIC_LINKER:=/lib/$(strip $(subst ",, $(notdir $(SYSTEM_LDSO)))) endif endif -ifeq ($(UCLIBC_HAS_SOFT_FLOAT),y) + +LDADD_LIBFLOAT= +ifeq ($(strip $(UCLIBC_HAS_SOFT_FLOAT)),y) CFLAGS += $(call check_gcc,-msoft-float,) #LDFLAGS+= -Wa,-mno-fpu +ifeq ($(strip $(TARGET_ARCH)),arm) + LDADD_LIBFLOAT=-lfloat +endif endif CFLAGS_NOPIC:=$(CFLAGS) @@ -236,17 +219,6 @@ LIBGCC:=$(shell $(CC) $(LIBGCC_CFLAGS) -print-libgcc-file-name) LIBGCC_DIR:=$(dir $(LIBGCC)) -# TARGET_PREFIX is the directory under which which the uClibc runtime -# environment will be installed and used on the target system. The -# result will look something like the following: -# TARGET_PREFIX/ -# lib/ <contains all runtime and static libs> -# usr/lib/ <this directory is searched for runtime libs> -# etc/ <weher the shared library cache and configuration -# information go if you enabled LIBRARY_CACHE above> -# Very few people will need to change this value from the default... -TARGET_PREFIX = / - ######################################## # # uClinux shared lib support @@ -259,4 +231,6 @@ export LIBID FLTFLAGS SHARED_TARGET = lib/libc endif + +TARGET_ARCH:=$(strip $(subst ",, $(strip $(TARGET_ARCH)))) |
From: <ke...@us...> - 2003-11-09 19:45:55
|
Update of /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax In directory sc8-pr-cvs1:/tmp/cvs-serv13329 Added Files: syscall.S Log Message: VAX implementation of syscall(2) --- NEW FILE: syscall.S --- /* Copyright (C) 1996 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by David Mosberger <da...@az...>, 1996. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details. You should have received a copy of the GNU Library General Public License along with the GNU C Library; see the file COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include <sysdep.h> /* This implements syscall(2). The first argument is the syscall number, the remaining args should be passed to the syscall */ ENTRY(syscall) .word 0x0 /* no registers to preserve */ /* syscall number to R0 */ movl 4(%ap), %r0 /* replace syscall number with argcount-1 */ subl3 $1, (%ap), 4(%ap) /* Points AP to the modified arg list, with the first argument removed.*/ moval 4(%ap), %ap chmk %r0 cmpl $-4095, %r0 bgtru no_error jmp SYSCALL_ERROR_LABEL no_error: ret END(syscall) |
From: <ke...@us...> - 2003-11-09 19:45:16
|
Update of /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax In directory sc8-pr-cvs1:/tmp/cvs-serv12990 Modified Files: sysdep.h Log Message: Remove #ifdef PIC guards to allow glibc to compile with current toolchain Index: sysdep.h =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/unix/sysv/linux/vax/sysdep.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- sysdep.h 15 Aug 2003 13:05:14 -0000 1.9 +++ sysdep.h 9 Nov 2003 19:45:12 -0000 1.10 @@ -41,11 +41,7 @@ #define MOVE(x,y) movl x , y -#ifdef PIC -# define SYSCALL_ERROR_LABEL 0f -#else # define SYSCALL_ERROR_LABEL syscall_error -#endif #undef PSEUDO #define PSEUDO(name, syscall_name, args) \ @@ -63,15 +59,7 @@ SYSCALL_ERROR_HANDLER \ END(name) -#ifndef PIC - /* code in sysdep.S */ -#define SYSCALL_ERROR_HANDLER -#else -#ifdef _LIBC_REENTRANT #define SYSCALL_ERROR_HANDLER -#error "reentrant pic" -#endif -#endif #define DOARGS_0 pushl $0 ; #define DOARGS_1 pushl $1 ; |
From: <ke...@us...> - 2003-11-09 19:43:14
|
Update of /cvsroot/linux-vax/glibc/sysdeps/vax In directory sc8-pr-cvs1:/tmp/cvs-serv12544 Modified Files: __longjmp.c Log Message: Remove calls to _libc_fatal, since these lead to undesired object modules being pulled into the ld.so link. Also fixup inline assembler code. Using asm() on a declaration doesn't work and need to use movab to get address of loop: label. Index: __longjmp.c =================================================================== RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/__longjmp.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- __longjmp.c 15 Aug 2003 13:07:30 -0000 1.3 +++ __longjmp.c 9 Nov 2003 19:43:10 -0000 1.4 @@ -32,12 +32,22 @@ void __longjmp (__jmp_buf env, int val) { - register long int *fp asm("%%fp"); + register long int *fp; long int *regsave; unsigned long int flags; - if (env[0].__fp == NULL) - __libc_fatal("longjmp: Invalid ENV argument.\n"); + asm("movl %%fp, %0" : "=g"(fp) ); + + if (env[0].__fp == NULL) { + /* __libc_fatal calls abort, which eventually leads to I/O stuff being + pulled in during the link of elf/librtld.so, which then dies with + multiply-defined symbols. Instead let's just do a user-mode HALT which + will kill the process */ + + /* __libc_fatal("longjmp: Invalid ENV argument.\n"); */ + asm volatile ("halt"); + for (;;); + } if (val == 0) val = 1; @@ -53,7 +63,7 @@ if (flags & 2) /* R1 was saved by the caller. Store ENV where it will be restored from. */ - *regsave = env; + *regsave = (unsigned int) env; /* Was the FP saved in the last call the same one in ENV? */ asm volatile("cmpl %0, 12(%%fp);" @@ -66,12 +76,15 @@ /* We are more than one level below the state in ENV. Return to where we will pop another stack frame. */ - asm volatile("movl $loop, 16(%fp);\n" + asm volatile("movab loop, 16(%fp)\n" "ret"); asm volatile("done:"); { - char return_insn asm("*16(%%fp)"); + char return_insn; + + asm("movb *16(%%fp), %0" : "=g"(return_insn) ); + if (return_insn == REI) /* We're returning with an `rei' instruction. Do a return with PSL-PC pop. */ @@ -95,5 +108,10 @@ /* Jump here when the FP saved in ENV points to a function that has already returned. */ asm volatile("latejump:"); - __libc_fatal("longjmp: Attempt to jump to a function that has returned.\n"); + + /* see comment above about __libc_fatal */ + + /* __libc_fatal("longjmp: Attempt to jump to a function that has returned.\n"); */ + asm volatile("halt"); + for (;;); } |