From edcddab08acaaffaa687f3a8af7d13e978e5e258 Mon Sep 17 00:00:00 2001 From: fake Date: Tue, 24 Aug 2004 13:37:52 +0000 Subject: [PATCH] fake: fix glibc on sparc32 by merging a change from cvs (2004-05-15). [2004081717500714089] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@3952 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- .../glibc23/sparc32-sysdeps-2004-05-15.patch | 59 +++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 package/base/glibc/glibc23/sparc32-sysdeps-2004-05-15.patch diff --git a/package/base/glibc/glibc23/sparc32-sysdeps-2004-05-15.patch b/package/base/glibc/glibc23/sparc32-sysdeps-2004-05-15.patch new file mode 100644 index 000000000..c4dd045cb --- /dev/null +++ b/package/base/glibc/glibc23/sparc32-sysdeps-2004-05-15.patch @@ -0,0 +1,59 @@ +--- libc/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h 2003/08/31 17:23:00 1.13 ++++ libc/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h 2004/05/17 18:42:44 1.14 +@@ -1,4 +1,4 @@ +-/* Copyright (C) 1997, 2002, 2003 Free Software Foundation, Inc. ++/* Copyright (C) 1997, 2002, 2003, 2004 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Miguel de Icaza , January 1997. + +@@ -70,18 +70,18 @@ + + #if RTLD_PRIVATE_ERRNO + # define SYSCALL_ERROR_HANDLER \ +- .section .gnu.linkonce.t.__sparc.get_pic.l7,"ax",@progbits; \ +- .globl __sparc.get_pic.l7; \ +- .hidden __sparc.get_pic.l7; \ +- .type __sparc.get_pic.l7,@function; \ +-__sparc.get_pic.l7: \ ++ .section .gnu.linkonce.t.__sparc_get_pic_l7,"ax",@progbits; \ ++ .globl __sparc_get_pic_l7; \ ++ .hidden __sparc_get_pic_l7; \ ++ .type __sparc_get_pic_l7,@function; \ ++__sparc_get_pic_l7: \ + retl; \ + add %o7, %l7, %l7; \ + .previous; \ + SYSCALL_ERROR_HANDLER_ENTRY(__syscall_error_handler) \ + save %sp,-96,%sp; \ + sethi %hi(_GLOBAL_OFFSET_TABLE_-4), %l7; \ +- call __sparc.get_pic.l7; \ ++ call __sparc_get_pic_l7; \ + add %l7, %lo(_GLOBAL_OFFSET_TABLE_+4), %l7; \ + ld [%l7 + errno], %l0; \ + st %i0, [%l0]; \ +@@ -96,11 +96,11 @@ + # endif + # ifdef SHARED + # define SYSCALL_ERROR_HANDLER \ +- .section .gnu.linkonce.t.__sparc.get_pic.l7,"ax",@progbits; \ +- .globl __sparc.get_pic.l7; \ +- .hidden __sparc.get_pic.l7; \ +- .type __sparc.get_pic.l7,@function; \ +-__sparc.get_pic.l7: \ ++ .section .gnu.linkonce.t.__sparc_get_pic_l7,"ax",@progbits; \ ++ .globl __sparc_get_pic_l7; \ ++ .hidden __sparc_get_pic_l7; \ ++ .type __sparc_get_pic_l7,@function; \ ++__sparc_get_pic_l7: \ + retl; \ + add %o7, %l7, %l7; \ + .previous; \ +@@ -108,7 +108,7 @@ + save %sp,-96,%sp; \ + sethi %tie_hi22(SYSCALL_ERROR_ERRNO), %l1; \ + sethi %hi(_GLOBAL_OFFSET_TABLE_-4), %l7; \ +- call __sparc.get_pic.l7; \ ++ call __sparc_get_pic_l7; \ + add %l7, %lo(_GLOBAL_OFFSET_TABLE_+4), %l7; \ + add %l1, %tie_lo10(SYSCALL_ERROR_ERRNO), %l1; \ + ld [%l7 + %l1], %l1, %tie_ld(SYSCALL_ERROR_ERRNO); \