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.

66 lines
2.4 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/glibc23/tls-prelink-defines-ppc.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- glibc-2.3.2/elf/elf.h.orig 2003-07-09 02:27:23.000000000 +0200
  23. +++ glibc-2.3.2/elf/elf.h 2003-07-09 02:28:36.000000000 +0200
  24. @@ -1881,8 +1881,40 @@
  25. #define R_PPC_SECTOFF_LO 34
  26. #define R_PPC_SECTOFF_HI 35
  27. #define R_PPC_SECTOFF_HA 36
  28. +
  29. +
  30. +/* Relocations for TLS support */
  31. +#define R_PPC_TLS 67
  32. +#define R_PPC_DTPMOD32 68
  33. +#define R_PPC_TPREL16 69
  34. +#define R_PPC_TPREL16_LO 70
  35. +#define R_PPC_TPREL16_HI 71
  36. +#define R_PPC_TPREL16_HA 72
  37. +#define R_PPC_TPREL32 73
  38. +#define R_PPC_DTPREL16 74
  39. +#define R_PPC_DTPREL16_LO 75
  40. +#define R_PPC_DTPREL16_HI 76
  41. +#define R_PPC_DTPREL16_HA 77
  42. +#define R_PPC_DTPREL32 78
  43. +#define R_PPC_GOT_TLSGD16 79
  44. +#define R_PPC_GOT_TLSGD16_LO 80
  45. +#define R_PPC_GOT_TLSGD16_HI 81
  46. +#define R_PPC_GOT_TLSGD16_HA 82
  47. +#define R_PPC_GOT_TLSLD16 83
  48. +#define R_PPC_GOT_TLSLD16_LO 84
  49. +#define R_PPC_GOT_TLSLD16_HI 85
  50. +#define R_PPC_GOT_TLSLD16_HA 86
  51. +#define R_PPC_GOT_TPREL16 87
  52. +#define R_PPC_GOT_TPREL16_LO 88
  53. +#define R_PPC_GOT_TPREL16_HI 89
  54. +#define R_PPC_GOT_TPREL16_HA 90
  55. +#define R_PPC_GOT_DTPREL16 91
  56. +#define R_PPC_GOT_DTPREL16_LO 92
  57. +#define R_PPC_GOT_DTPREL16_HI 93
  58. +#define R_PPC_GOT_DTPREL16_HA 94
  59. +
  60. /* Keep this the last entry. */
  61. -#define R_PPC_NUM 37
  62. +#define R_PPC_NUM 95
  63. /* PowerPC64 relocations defined by the ABIs */
  64. #define R_PPC64_NONE R_PPC_NONE