diff options
author | Vincent Chen <vincentc@andestech.com> | 2018-06-21 20:44:43 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2018-06-21 20:44:43 +0000 |
commit | f6299d2a103efc46d8f75834f1e38f3eda9f4fcb (patch) | |
tree | 148c7b4982a4534a1fd2793b57717319de63507f | |
parent | 61ab61c2fdf23875a473281d9711ae35473d93f7 (diff) | |
download | glibc-f6299d2a103efc46d8f75834f1e38f3eda9f4fcb.tar.gz glibc-f6299d2a103efc46d8f75834f1e38f3eda9f4fcb.tar.xz glibc-f6299d2a103efc46d8f75834f1e38f3eda9f4fcb.zip |
Add Andes nds32 dynamic relocations to elf.h
* 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.
-rw-r--r-- | ChangeLog | 11 | ||||
-rw-r--r-- | elf/elf.h | 10 |
2 files changed, 21 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 0353030656..e54d7549ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2018-06-21 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. + 2018-06-21 Mark Wielaard <mark@klomp.org> * elf/elf.h (R_BPF_MAP_FD): Removed. diff --git a/elf/elf.h b/elf/elf.h index 75043bcbf9..7e2b072a7f 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -3915,6 +3915,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 */ |