diff options
| author | bellard <bellard> | 2004-10-04 21:57:35 +0000 |
|---|---|---|
| committer | bellard <bellard> | 2004-10-04 21:57:35 +0000 |
| commit | 79c72b241998ee9ae533ae31a78913c4c50ca43e (patch) | |
| tree | f2c8a602821cf2883886718b345c96374d72c374 /elf.h | |
| parent | df36de6507e735faee3448687263a5c877d5f074 (diff) | |
| download | tinycc-79c72b241998ee9ae533ae31a78913c4c50ca43e.tar.gz tinycc-79c72b241998ee9ae533ae31a78913c4c50ca43e.tar.bz2 | |
initial TMS320C67xx support (TK)
Diffstat (limited to 'elf.h')
| -rw-r--r-- | elf.h | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -217,6 +217,7 @@ typedef struct chances of collision with official or non-GNU unofficial values. */ #define EM_ALPHA 0x9026 +#define EM_C60 0x9c60 /* Legal values for e_version (version). */ @@ -1592,4 +1593,21 @@ typedef Elf32_Addr Elf32_Conflict; /* Keep this the last entry. */ #define R_ARM_NUM 256 +/* TMS320C67xx specific declarations */ +/* XXX: no ELF standard yet */ + +/* TMS320C67xx relocs. */ +#define R_C60_32 1 +#define R_C60_GOT32 3 /* 32 bit GOT entry */ +#define R_C60_PLT32 4 /* 32 bit PLT address */ +#define R_C60_COPY 5 /* Copy symbol at runtime */ +#define R_C60_GLOB_DAT 6 /* Create GOT entry */ +#define R_C60_JMP_SLOT 7 /* Create PLT entry */ +#define R_C60_RELATIVE 8 /* Adjust by program base */ +#define R_C60_GOTOFF 9 /* 32 bit offset to GOT */ +#define R_C60_GOTPC 10 /* 32 bit PC relative offset to GOT */ + +#define R_C60HI16 0x55 // high 16 bit MVKH embedded +#define R_C60LO16 0x54 // low 16 bit MVKL embedded + #endif /* elf.h */ |
