diff options
Diffstat (limited to 'prelink/prelink-20031029/prelink.h.patch')
-rw-r--r-- | prelink/prelink-20031029/prelink.h.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/prelink/prelink-20031029/prelink.h.patch b/prelink/prelink-20031029/prelink.h.patch index e69de29bb2..3ca2930d3a 100644 --- a/prelink/prelink-20031029/prelink.h.patch +++ b/prelink/prelink-20031029/prelink.h.patch @@ -0,0 +1,48 @@ +--- prelink-0.0.20030902.orig/src/prelink.h 2003-08-11 11:54:01.000000000 +0000 ++++ prelink-0.0.20030902/src/prelink.h 2003-09-16 23:26:16.000000000 +0000 +@@ -26,6 +26,45 @@ + #include <stdio.h> + #include <sys/stat.h> + ++/* http://gcc.gnu.org/ml/gcc/2003-01/msg00922.html */ ++#ifndef R_390_TLS_DTPMOD ++#define R_390_TLS_DTPMOD 54 ++#define R_390_TLS_DTPOFF 55 ++#define R_390_TLS_TPOFF 56 ++#endif ++ ++/* from http://www.cygwin.com/ml/libc-alpha/2003-02/msg00241.html */ ++#ifndef R_PPC_TLS ++#define R_PPC_TLS 67 ++#define R_PPC_DTPMOD32 68 ++#define R_PPC_TPREL16 69 ++#define R_PPC_TPREL16_LO 70 ++#define R_PPC_TPREL16_HI 71 ++#define R_PPC_TPREL16_HA 72 ++#define R_PPC_TPREL32 73 ++#define R_PPC_DTPREL16 74 ++#define R_PPC_DTPREL16_LO 75 ++#define R_PPC_DTPREL16_HI 76 ++#define R_PPC_DTPREL16_HA 77 ++#define R_PPC_DTPREL32 78 ++#define R_PPC_GOT_TLSGD16 79 ++#define R_PPC_GOT_TLSGD16_LO 80 ++#define R_PPC_GOT_TLSGD16_HI 81 ++#define R_PPC_GOT_TLSGD16_HA 82 ++#define R_PPC_GOT_TLSLD16 83 ++#define R_PPC_GOT_TLSLD16_LO 84 ++#define R_PPC_GOT_TLSLD16_HI 85 ++#define R_PPC_GOT_TLSLD16_HA 86 ++#define R_PPC_GOT_TPREL16 87 ++#define R_PPC_GOT_TPREL16_LO 88 ++#define R_PPC_GOT_TPREL16_HI 89 ++#define R_PPC_GOT_TPREL16_HA 90 ++#define R_PPC_GOT_DTPREL16 91 ++#define R_PPC_GOT_DTPREL16_LO 92 ++#define R_PPC_GOT_DTPREL16_HI 93 ++#define R_PPC_GOT_DTPREL16_HA 94 ++#endif ++ + #ifndef DT_GNU_LIBLIST + #define DT_GNU_LIBLIST 0x6ffffef9 + #define DT_GNU_LIBLISTSZ 0x6ffffdf7 |