diff options
author | Guo Ren <ren_guo@c-sky.com> | 2018-12-26 17:54:55 +0800 |
---|---|---|
committer | Waldemar Brodkorb <wbrodkorb@conet.de> | 2018-12-31 11:12:44 +0100 |
commit | ac48ce2b5c4f62ffc7d4986c1c7df17beaa18d64 (patch) | |
tree | 352aa9c1f44c50aec72239d79bb5d19b6b48d182 /include/elf.h | |
parent | 365d19dfec4437b7a8227f594953a54c76863278 (diff) |
csky: Add EM_CSKY for ldso
Support EM_CSKY 252 elf format.
Changelog:
Increase EM_NUM to 253
Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Signed-off-by: Mao Han <han_mao@c-sky.com>
Diffstat (limited to 'include/elf.h')
-rw-r--r-- | include/elf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/elf.h b/include/elf.h index a9957fc31..9aae04cef 100644 --- a/include/elf.h +++ b/include/elf.h @@ -271,9 +271,10 @@ typedef struct #define EM_AARCH64 183 /* ARM AARCH64 */ #define EM_MICROBLAZE 189 /* Xilinx Microblaze */ #define EM_ARCV2 195 /* ARCv2 Cores */ +#define EM_CSKY 252 /* C-SKY Cores */ /* NEXT FREE NUMBER: Increment this after adding your official arch number */ -#define EM_NUM 196 +#define EM_NUM 253 /* If it is necessary to assign new unofficial EM_* values, please pick large random numbers (0x8523, 0xa7f2, etc.) to minimize the chances of collision |