mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
3.1 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/glibc/glibc23/sparc32-sysdeps-2004-05-15.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. --- libc/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h 2003/08/31 17:23:00 1.13
  20. +++ libc/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h 2004/05/17 18:42:44 1.14
  21. @@ -1,4 +1,4 @@
  22. -/* Copyright (C) 1997, 2002, 2003 Free Software Foundation, Inc.
  23. +/* Copyright (C) 1997, 2002, 2003, 2004 Free Software Foundation, Inc.
  24. This file is part of the GNU C Library.
  25. Contributed by Miguel de Icaza <miguel@gnu.ai.mit.edu>, January 1997.
  26. @@ -70,18 +70,18 @@
  27. #if RTLD_PRIVATE_ERRNO
  28. # define SYSCALL_ERROR_HANDLER \
  29. - .section .gnu.linkonce.t.__sparc.get_pic.l7,"ax",@progbits; \
  30. - .globl __sparc.get_pic.l7; \
  31. - .hidden __sparc.get_pic.l7; \
  32. - .type __sparc.get_pic.l7,@function; \
  33. -__sparc.get_pic.l7: \
  34. + .section .gnu.linkonce.t.__sparc_get_pic_l7,"ax",@progbits; \
  35. + .globl __sparc_get_pic_l7; \
  36. + .hidden __sparc_get_pic_l7; \
  37. + .type __sparc_get_pic_l7,@function; \
  38. +__sparc_get_pic_l7: \
  39. retl; \
  40. add %o7, %l7, %l7; \
  41. .previous; \
  42. SYSCALL_ERROR_HANDLER_ENTRY(__syscall_error_handler) \
  43. save %sp,-96,%sp; \
  44. sethi %hi(_GLOBAL_OFFSET_TABLE_-4), %l7; \
  45. - call __sparc.get_pic.l7; \
  46. + call __sparc_get_pic_l7; \
  47. add %l7, %lo(_GLOBAL_OFFSET_TABLE_+4), %l7; \
  48. ld [%l7 + errno], %l0; \
  49. st %i0, [%l0]; \
  50. @@ -96,11 +96,11 @@
  51. # endif
  52. # ifdef SHARED
  53. # define SYSCALL_ERROR_HANDLER \
  54. - .section .gnu.linkonce.t.__sparc.get_pic.l7,"ax",@progbits; \
  55. - .globl __sparc.get_pic.l7; \
  56. - .hidden __sparc.get_pic.l7; \
  57. - .type __sparc.get_pic.l7,@function; \
  58. -__sparc.get_pic.l7: \
  59. + .section .gnu.linkonce.t.__sparc_get_pic_l7,"ax",@progbits; \
  60. + .globl __sparc_get_pic_l7; \
  61. + .hidden __sparc_get_pic_l7; \
  62. + .type __sparc_get_pic_l7,@function; \
  63. +__sparc_get_pic_l7: \
  64. retl; \
  65. add %o7, %l7, %l7; \
  66. .previous; \
  67. @@ -108,7 +108,7 @@
  68. save %sp,-96,%sp; \
  69. sethi %tie_hi22(SYSCALL_ERROR_ERRNO), %l1; \
  70. sethi %hi(_GLOBAL_OFFSET_TABLE_-4), %l7; \
  71. - call __sparc.get_pic.l7; \
  72. + call __sparc_get_pic_l7; \
  73. add %l7, %lo(_GLOBAL_OFFSET_TABLE_+4), %l7; \
  74. add %l1, %tie_lo10(SYSCALL_ERROR_ERRNO), %l1; \
  75. ld [%l7 + %l1], %l1, %tie_ld(SYSCALL_ERROR_ERRNO); \