Update of /cvsroot/linux-vax/toolchain/patches In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11872 Added Files: uclibc-000048-some-libpthread-bits.patch Removed Files: uclibc-000002-add-SHMLBA.patch uclibc-000003-crt0-part1.patch uclibc-000005-crt0-part3.patch uclibc-000006-update_brk_function.patch uclibc-000010-temporary_rtld_fini_fixup.patch uclibc-000011-new_Makefile.in-infrastructure.patch uclibc-000012-buildfix_20051102-1.patch uclibc-000024-fix_syscalls.patch uclibc-000026-fix-mmap.patch uclibc-000027-MREMAP_FIXED.patch uclibc-000028-hide-brk.patch uclibc-000030-disable_linktime_warning.patch uclibc-000031-hide-vfork.patch uclibc-000032-call__exit_internal_from_clone.patch uclibc-000038-_STACK_GROWS_DOWN.patch uclibc-000039-properly_guard_bits_posix_types_h.patch uclibc-000043-define_abort_instruction.patch Log Message: - Most of our lovely VAX stuff just went upstream into the uClibc repository. The remainder (some linuxthreads bits as well as my libm desast^Wimplementation) is still kept in patch for inside our own CVS repo. --- uclibc-000038-_STACK_GROWS_DOWN.patch DELETED --- --- uclibc-000032-call__exit_internal_from_clone.patch DELETED --- --- NEW FILE: uclibc-000048-some-libpthread-bits.patch --- --- /dev/null 2005-11-08 11:37:11.004284232 +0100 +++ uClibc/libpthread/linuxthreads/sysdeps/vax/pt-machine.h 2006-01-27 21:23:06.000000000 +0100 @@ -0,0 +1,50 @@ +/* Machine-dependent pthreads configuration and inline functions. + m68k version. + Copyright (C) 1996, 1998 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Richard Henderson <rt...@ta...>. + + 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" + " bbssi $0, (%1), 1f \n" + " clrl %%r0 \n" + "1: movl %%r0, %0 \n" + : "=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"); + --- /dev/null 2005-11-08 11:37:11.004284232 +0100 +++ uClibc/libpthread/linuxthreads/sysdeps/vax/sigcontextinfo.h 2006-01-27 21:23:07.000000000 +0100 @@ -0,0 +1,26 @@ +/* Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Andreas Schwab <sc...@is...>, 1998. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#define SIGCONTEXT int _code, struct sigcontext * +#define SIGCONTEXT_EXTRA_ARGS _code, +#define GET_PC(ctx) ((void *) (ctx)->pc) +#define GET_FRAME(ctx) ((void *) __builtin_frame_address (1)) +#define GET_STACK(ctx) ((void *) (ctx)->usp) +#define CALL_SIGHANDLER(handler, signo, ctx) \ + (handler)((signo), SIGCONTEXT_EXTRA_ARGS (ctx)) --- uclibc-000012-buildfix_20051102-1.patch DELETED --- --- uclibc-000028-hide-brk.patch DELETED --- --- uclibc-000027-MREMAP_FIXED.patch DELETED --- --- uclibc-000031-hide-vfork.patch DELETED --- --- uclibc-000024-fix_syscalls.patch DELETED --- --- uclibc-000030-disable_linktime_warning.patch DELETED --- --- uclibc-000026-fix-mmap.patch DELETED --- --- uclibc-000011-new_Makefile.in-infrastructure.patch DELETED --- --- uclibc-000006-update_brk_function.patch DELETED --- --- uclibc-000010-temporary_rtld_fini_fixup.patch DELETED --- --- uclibc-000039-properly_guard_bits_posix_types_h.patch DELETED --- --- uclibc-000002-add-SHMLBA.patch DELETED --- --- uclibc-000003-crt0-part1.patch DELETED --- --- uclibc-000043-define_abort_instruction.patch DELETED --- --- uclibc-000005-crt0-part3.patch DELETED --- |