CRIS port 4/8: Relocs for elf/elf.h.
Hans-Peter Nilsson
hans-peter.nilsson@axis.com
Sun Apr 8 18:52:00 GMT 2001
Changes for elf/elf.h for CRIS relocs, fresh from binutils,
include/elf/cris.h.
2001-04-08 Hans-Peter Nilsson <hp@axis.com>
* elf/elf.h: Add new relocations for CRIS.
Index: elf.h
===================================================================
RCS file: /cvs/glibc/libc/elf/elf.h,v
retrieving revision 1.92
diff -p -c -r1.92 elf.h
*** elf.h 2001/04/05 20:44:30 1.92
--- elf.h 2001/04/08 23:36:41
*************** typedef Elf32_Addr Elf32_Conflict;
*** 2042,2047 ****
--- 2042,2072 ----
/* Keep this the last entry. */
#define R_390_NUM 19
+ /* CRIS relocations. For descriptions, see binutils or gdb:
+ include/elf/cris.h */
+ #define R_CRIS_NONE 0
+ #define R_CRIS_8 1
+ #define R_CRIS_16 2
+ #define R_CRIS_32 3
+ #define R_CRIS_8_PCREL 4
+ #define R_CRIS_16_PCREL 5
+ #define R_CRIS_32_PCREL 6
+ #define R_CRIS_GNU_VTINHERIT 7
+ #define R_CRIS_GNU_VTENTRY 8
+ #define R_CRIS_COPY 9
+ #define R_CRIS_GLOB_DAT 10
+ #define R_CRIS_JUMP_SLOT 11
+ #define R_CRIS_RELATIVE 12
+ #define R_CRIS_16_GOT 13
+ #define R_CRIS_32_GOT 14
+ #define R_CRIS_16_GOTPLT 15
+ #define R_CRIS_32_GOTPLT 16
+ #define R_CRIS_32_GOTREL 17
+ #define R_CRIS_32_PLT_GOTREL 18
+ #define R_CRIS_32_PLT_PCREL 19
+
+ #define R_CRIS_NUM 20
+
__END_DECLS
#endif /* elf.h */
brgds, H-P
More information about the Libc-alpha
mailing list