This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH v3 11/13] Add Andes nds32 dynamic relocation type to elf/elf.h.
- From: Vincent Chen <vincentc at andestech dot com>
- To: <libc-alpha at sourceware dot org>, <joseph at codesourcery dot com>
- Cc: <deanbo422 at gmail dot com>, <cnoize at andestech dot com>, Vincent Chen <vincentc at andestech dot com>
- Date: Thu, 14 Jun 2018 15:22:54 +0800
- Subject: [PATCH v3 11/13] Add Andes nds32 dynamic relocation type to elf/elf.h.
- References: <1528960976-10934-1-git-send-email-vincentc@andestech.com>
2018-05-30 Vincent Chen <vincentc@andestech.com>
* elf/elf.h (R_NDS32_NONE): New define.
(R_NDS32_32_RELA): Likewise.
(R_NDS32_COPY): Likewise.
(R_NDS32_GLOB_DAT): Likewise.
(R_NDS32_JUMP_SLOT): Likewise.
(R_NDS32_RELATIVE): Likewise.
(R_NDS32_TLS_TPOFF): Likewise.
(R_NDS32_TLS_DESC): Likewise.
---
elf/elf.h | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/elf/elf.h b/elf/elf.h
index a5b2811..f4485d9 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -3914,6 +3914,16 @@ enum
#define R_METAG_TLS_LE_HI16 60
#define R_METAG_TLS_LE_LO16 61
+/* NDS32 relocations. */
+#define R_NDS32_NONE 0
+#define R_NDS32_32_RELA 20
+#define R_NDS32_COPY 39
+#define R_NDS32_GLOB_DAT 40
+#define R_NDS32_JMP_SLOT 41
+#define R_NDS32_RELATIVE 42
+#define R_NDS32_TLS_TPOFF 102
+#define R_NDS32_TLS_DESC 119
+
__END_DECLS
#endif /* elf.h */
--
2.7.4