summaryrefslogtreecommitdiff
path: root/include/elf.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-07-15 07:05:07 +0000
committerEric Andersen <andersen@codepoet.org>2004-07-15 07:05:07 +0000
commit255fbb6abcef56c5f8c36383d49a902686f258f5 (patch)
treeb87c8ad28cbd3dde0965633c3a91677198a990df /include/elf.h
parent6c2efd66d94ce13ac5b70aefd71cf2e66f4acbdf (diff)
Patch from Yoshinori Sato to add H8/300 relocation types.
Diffstat (limited to 'include/elf.h')
-rw-r--r--include/elf.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/include/elf.h b/include/elf.h
index 841360fd6..7ce1b398e 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -2510,6 +2510,50 @@ typedef Elf32_Addr Elf32_Conflict;
#define R_V850_NUM 25
+#define R_H8_NONE 0
+#define R_H8_DIR32 1
+#define R_H8_DIR32_28 2
+#define R_H8_DIR32_24 3
+#define R_H8_DIR32_16 4
+#define R_H8_DIR32U 6
+#define R_H8_DIR32U_28 7
+#define R_H8_DIR32U_24 8
+#define R_H8_DIR32U_20 9
+#define R_H8_DIR32U_16 10
+#define R_H8_DIR24 11
+#define R_H8_DIR24_20 12
+#define R_H8_DIR24_16 13
+#define R_H8_DIR24U 14
+#define R_H8_DIR24U_20 15
+#define R_H8_DIR24U_16 16
+#define R_H8_DIR16 17
+#define R_H8_DIR16U 18
+#define R_H8_DIR16S_32 19
+#define R_H8_DIR16S_28 20
+#define R_H8_DIR16S_24 21
+#define R_H8_DIR16S_20 22
+#define R_H8_DIR16S 23
+#define R_H8_DIR8 24
+#define R_H8_DIR8U 25
+#define R_H8_DIR8Z_32 26
+#define R_H8_DIR8Z_28 27
+#define R_H8_DIR8Z_24 28
+#define R_H8_DIR8Z_20 29
+#define R_H8_DIR8Z_16 30
+#define R_H8_PCREL16 31
+#define R_H8_PCREL8 32
+#define R_H8_BPOS 33
+#define R_H8_PCREL32 34
+#define R_H8_GOT32O 35
+#define R_H8_GOT16O 36
+#define R_H8_DIR16A8 59
+#define R_H8_DIR16R8 60
+#define R_H8_DIR24A8 61
+#define R_H8_DIR24R8 62
+#define R_H8_DIR32A16 63
+#define R_H8_ABS32 65
+#define R_H8_ABS32A16 127
+
__END_DECLS
#endif /* elf.h */