initial TMS320C67xx support (TK)
This commit is contained in:
18
elf.h
18
elf.h
@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user