From ec503662b458b9b5e9df63e3eb7ef69fa0d74b5c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 21 Feb 2003 07:07:52 +0000 Subject: Update. 2003-02-20 Ulrich Drepper * version.h (VERSION): Bump to 2.3.2. * elf/Makefile (distribute): Add reldep9.c, tst-array1.exp, tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c, and dl-sysdep.h. * sysdeps/generic/Dist: Add sysdep-cancel.h. * sysdeps/powerpc/nofpu/Dist: Add soft-supp.h. * sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S. * sysdeps/unix/sysv/linux/Dist: Add pathconf.h. * sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h. * sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and ucontext_i.h. * Makefile (distribute): Add include/stubs-prologue.h, include/gnu/stubs.h, scripts/merge-abilist.awk, and scripts/extract-abilist.awk. 2002-02-20 Paolo Bonzini --- sysdeps/generic/Dist | 1 + sysdeps/mach/hurd/errno-loc.c | 29 ++++++++++++++++++++++++++ sysdeps/powerpc/nofpu/Dist | 1 + sysdeps/s390/s390-32/elf/configure | 4 ++-- sysdeps/s390/s390-64/elf/configure | 4 ++-- sysdeps/sparc/sparc32/elf/configure | 2 +- sysdeps/unix/Dist | 2 ++ sysdeps/unix/sysv/linux/Dist | 1 + sysdeps/unix/sysv/linux/i386/Dist | 1 + sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist | 2 ++ 10 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 sysdeps/mach/hurd/errno-loc.c (limited to 'sysdeps') diff --git a/sysdeps/generic/Dist b/sysdeps/generic/Dist index 1837474..549b616 100644 --- a/sysdeps/generic/Dist +++ b/sysdeps/generic/Dist @@ -23,3 +23,4 @@ bp-thunks.h bp-sym.h bp-start.h bits/link.h +sysdep-cancel.h diff --git a/sysdeps/mach/hurd/errno-loc.c b/sysdeps/mach/hurd/errno-loc.c new file mode 100644 index 0000000..9ff09eb --- /dev/null +++ b/sysdeps/mach/hurd/errno-loc.c @@ -0,0 +1,29 @@ +/* __errno_location -- helper function for locating per-thread errno value + Copyright (C) 2002 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 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. */ + +#include +#include + +int * +__errno_location (void) +{ + return (int *) __hurd_threadvar_location (_HURD_THREADVAR_ERRNO); +} +strong_alias (__errno_location, __hurd_errno_location) +libc_hidden_def (__errno_location) diff --git a/sysdeps/powerpc/nofpu/Dist b/sysdeps/powerpc/nofpu/Dist index cd155fd..35a33ab 100644 --- a/sysdeps/powerpc/nofpu/Dist +++ b/sysdeps/powerpc/nofpu/Dist @@ -1,2 +1,3 @@ sim-full.c fenv_const.c +soft-supp.h diff --git a/sysdeps/s390/s390-32/elf/configure b/sysdeps/s390/s390-32/elf/configure index 64eff1f..6845730 100644 --- a/sysdeps/s390/s390-32/elf/configure +++ b/sysdeps/s390/s390-32/elf/configure @@ -9,7 +9,7 @@ echo $ECHO_N "checking for s390 TLS support... $ECHO_C" >&6 if test "${libc_cv_390_tls+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.s <<\EOF + cat > conftest.S <<\EOF .section ".tdata", "awT", @progbits foo: .long 25 .text @@ -24,7 +24,7 @@ foo: .long 25 bas %r14,0(%r1,%r13):tls_gdcall:foo bas %r14,0(%r1,%r13):tls_ldcall:foo EOF -if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5' +if { ac_try='${CC-cc} -S $CFLAGS conftest.S 1>&5' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? diff --git a/sysdeps/s390/s390-64/elf/configure b/sysdeps/s390/s390-64/elf/configure index 42fc6e6..adf5174 100644 --- a/sysdeps/s390/s390-64/elf/configure +++ b/sysdeps/s390/s390-64/elf/configure @@ -9,7 +9,7 @@ echo $ECHO_N "checking for s390 TLS support... $ECHO_C" >&6 if test "${libc_cv_390_tls+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else - cat > conftest.s <<\EOF + cat > conftest.S <<\EOF .section ".tdata", "awT", @progbits foo: .long 25 .text @@ -24,7 +24,7 @@ foo: .long 25 brasl %r14,__tls_get_offset@plt:tls_gdcall:foo brasl %r14,__tls_get_offset@plt:tls_ldcall:foo EOF -if { ac_try='${CC-cc} -c $CFLAGS conftest.s 1>&5' +if { ac_try='${CC-cc} -S $CFLAGS conftest.S 1>&5' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? diff --git a/sysdeps/sparc/sparc32/elf/configure b/sysdeps/sparc/sparc32/elf/configure index d4f9517..e5ff89c 100644 --- a/sysdeps/sparc/sparc32/elf/configure +++ b/sysdeps/sparc/sparc32/elf/configure @@ -29,7 +29,7 @@ baz: sethi %tgd_hi22(foo), %l1 add %o0, %l1, %l1, %tldo_add(bar) sethi %tie_hi22(foo), %l1 add %l1, %tie_lo10(foo), %l1 - ld [%l7 + %l1], %l1, %tie_ld(foo) + ld %l7 + %l1, %l1, %tie_ld(foo) add %g7, %l1, %l1, %tie_add(foo) sethi %tle_hix22(foo), %l1 xor %l1, %tle_lox10(foo), %l1 diff --git a/sysdeps/unix/Dist b/sysdeps/unix/Dist index 8aec698..b3c3880 100644 --- a/sysdeps/unix/Dist +++ b/sysdeps/unix/Dist @@ -10,3 +10,5 @@ make-syscalls.sh i386/dl-brk.S mips/dl-brk.S sparc/dl-brk.S +s-proto-bp.S +s-proto-cancel.S diff --git a/sysdeps/unix/sysv/linux/Dist b/sysdeps/unix/sysv/linux/Dist index ed8836d..b5b91c2 100644 --- a/sysdeps/unix/sysv/linux/Dist +++ b/sysdeps/unix/sysv/linux/Dist @@ -45,6 +45,7 @@ netipx/ipx.h netrom/netrom.h netrose/rose.h nfs/nfs.h +pathconf.h rt_sigaction.c rt_sigpending.c rt_sigprocmask.c diff --git a/sysdeps/unix/sysv/linux/i386/Dist b/sysdeps/unix/sysv/linux/i386/Dist index 3c8ba2d..70253ac 100644 --- a/sysdeps/unix/sysv/linux/i386/Dist +++ b/sysdeps/unix/sysv/linux/i386/Dist @@ -1,3 +1,4 @@ +bp-thunks.h clone.S olddirent.h oldgetrlimit64.c diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist index 381f878..6085928 100644 --- a/sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist +++ b/sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist @@ -1,2 +1,4 @@ clone.S +fe_nomask.c kernel_stat.h +ucontext_i.h -- cgit v1.1