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.

59 lines
2.2 KiB

  1. --- libc/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h 2003/08/31 17:23:00 1.13
  2. +++ libc/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h 2004/05/17 18:42:44 1.14
  3. @@ -1,4 +1,4 @@
  4. -/* Copyright (C) 1997, 2002, 2003 Free Software Foundation, Inc.
  5. +/* Copyright (C) 1997, 2002, 2003, 2004 Free Software Foundation, Inc.
  6. This file is part of the GNU C Library.
  7. Contributed by Miguel de Icaza <miguel@gnu.ai.mit.edu>, January 1997.
  8. @@ -70,18 +70,18 @@
  9. #if RTLD_PRIVATE_ERRNO
  10. # define SYSCALL_ERROR_HANDLER \
  11. - .section .gnu.linkonce.t.__sparc.get_pic.l7,"ax",@progbits; \
  12. - .globl __sparc.get_pic.l7; \
  13. - .hidden __sparc.get_pic.l7; \
  14. - .type __sparc.get_pic.l7,@function; \
  15. -__sparc.get_pic.l7: \
  16. + .section .gnu.linkonce.t.__sparc_get_pic_l7,"ax",@progbits; \
  17. + .globl __sparc_get_pic_l7; \
  18. + .hidden __sparc_get_pic_l7; \
  19. + .type __sparc_get_pic_l7,@function; \
  20. +__sparc_get_pic_l7: \
  21. retl; \
  22. add %o7, %l7, %l7; \
  23. .previous; \
  24. SYSCALL_ERROR_HANDLER_ENTRY(__syscall_error_handler) \
  25. save %sp,-96,%sp; \
  26. sethi %hi(_GLOBAL_OFFSET_TABLE_-4), %l7; \
  27. - call __sparc.get_pic.l7; \
  28. + call __sparc_get_pic_l7; \
  29. add %l7, %lo(_GLOBAL_OFFSET_TABLE_+4), %l7; \
  30. ld [%l7 + errno], %l0; \
  31. st %i0, [%l0]; \
  32. @@ -96,11 +96,11 @@
  33. # endif
  34. # ifdef SHARED
  35. # define SYSCALL_ERROR_HANDLER \
  36. - .section .gnu.linkonce.t.__sparc.get_pic.l7,"ax",@progbits; \
  37. - .globl __sparc.get_pic.l7; \
  38. - .hidden __sparc.get_pic.l7; \
  39. - .type __sparc.get_pic.l7,@function; \
  40. -__sparc.get_pic.l7: \
  41. + .section .gnu.linkonce.t.__sparc_get_pic_l7,"ax",@progbits; \
  42. + .globl __sparc_get_pic_l7; \
  43. + .hidden __sparc_get_pic_l7; \
  44. + .type __sparc_get_pic_l7,@function; \
  45. +__sparc_get_pic_l7: \
  46. retl; \
  47. add %o7, %l7, %l7; \
  48. .previous; \
  49. @@ -108,7 +108,7 @@
  50. save %sp,-96,%sp; \
  51. sethi %tie_hi22(SYSCALL_ERROR_ERRNO), %l1; \
  52. sethi %hi(_GLOBAL_OFFSET_TABLE_-4), %l7; \
  53. - call __sparc.get_pic.l7; \
  54. + call __sparc_get_pic_l7; \
  55. add %l7, %lo(_GLOBAL_OFFSET_TABLE_+4), %l7; \
  56. add %l1, %tie_lo10(SYSCALL_ERROR_ERRNO), %l1; \
  57. ld [%l7 + %l1], %l1, %tie_ld(SYSCALL_ERROR_ERRNO); \