Index: ChangeLog 2004-11-10 Alexandre Oliva * elf/elf.h (R_FRV_TLSDESC_VALUE, R_FRV_TLSOFF): New. 2004-02-27 Alexandre Oliva * elf/elf.h (EM_CYGNUS_FRV, R_FRV_NONE, R_FRV_32, R_FRV_FUNCDESC, R_FRV_FUNCDESC_VALUE, EF_FRV_PIC, EF_FRV_FDPIC): New. Index: elf/elf.h --- elf/elf.h 2004-12-05 00:18:32.000000000 -0200 +++ elf/elf.h 2005-01-31 04:07:08.000000000 -0200 @@ -254,6 +254,9 @@ pick large random numbers (0x8523, 0xa7f2, etc.) to minimize the chances of collision with official or non-GNU unofficial values. */ +/* Fujitsu FR-V. */ +#define EM_CYGNUS_FRV 0x5441 + #define EM_ALPHA 0x9026 /* Legal values for e_version (version). */ @@ -1137,6 +1140,24 @@ /* Keep this the last entry. */ #define R_386_NUM 38 +/* FR-V specific definitions. */ +#define R_FRV_NONE 0 /* No reloc. */ +#define R_FRV_32 1 /* Direct 32 bit. */ +/* Canonical function descriptor address. */ +#define R_FRV_FUNCDESC 14 +/* Private function descriptor initialization. */ +#define R_FRV_FUNCDESC_VALUE 18 +/* TLS descriptor initialization. First word points to an entry + point; second words holds an argument that can either be a + Thread-Pointer offset, for Static TLS, or a full TLS descriptor, + for Dynamic TLS. */ +#define R_FRV_TLSDESC_VALUE 26 +/* Biased Thread-Pointer offset. */ +#define R_FRV_TLSOFF 36 + +#define EF_FRV_PIC 0x00000100 +#define EF_FRV_FDPIC 0x00008000 + /* SUN SPARC specific definitions. */ /* Legal values for ST_TYPE subfield of st_info (symbol type). */