[PATCH 2.6.10-rc3-mm1] m32r: Add new relocation types to elf.h

From: Hirokazu Takata
Date: Wed Dec 15 2004 - 05:56:24 EST


Hello,

This patch adds some new relocation types to include/asm-m32r/elf.h.
Please apply.

* include/asm-m32r/elf.h:
Add relocations R_M32R_GOTOFF_HI_ULO, R_M32R_GOTOFF_HI_SLO, and
R_M32R_GOTOFF_LO. These relocations are required to implement
GOTOFF support for m32r.

Regards,

Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
---

include/asm-m32r/elf.h | 3 +++
1 files changed, 3 insertions(+)


diff -ruNp a/include/asm-m32r/elf.h b/include/asm-m32r/elf.h
--- a/include/asm-m32r/elf.h 2004-12-06 09:41:31.000000000 +0900
+++ b/include/asm-m32r/elf.h 2004-12-15 17:54:15.000000000 +0900
@@ -54,6 +54,9 @@
#define R_M32R_GOTPC_HI_ULO 59
#define R_M32R_GOTPC_HI_SLO 60
#define R_M32R_GOTPC_LO 61
+#define R_M32R_GOTOFF_HI_ULO 62
+#define R_M32R_GOTOFF_HI_SLO 63
+#define R_M32R_GOTOFF_LO 64

#define R_M32R_NUM 256


--
Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Linux/M32R Project: http://www.linux-m32r.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/