1 /* Relocation types for a.out files using reloc_info_extended
2 (SPARC and AMD 29000). */
5 #define _RELOC_H_READ_ 1
9 RELOC_8, RELOC_16, RELOC_32, /* simple relocations */
10 RELOC_DISP8, RELOC_DISP16, RELOC_DISP32, /* pc-rel displacement */
11 RELOC_WDISP30, RELOC_WDISP22,
14 RELOC_SFA_BASE, RELOC_SFA_OFF13,
15 RELOC_BASE10, RELOC_BASE13, RELOC_BASE22, /* P.I.C. (base-relative) */
16 RELOC_PC10, RELOC_PC22, /* for some sort of pc-rel P.I.C. (?) */
17 RELOC_JMP_TBL, /* P.I.C. jump table */
18 RELOC_SEGOFF16, /* reputedly for shared libraries somehow */
19 RELOC_GLOB_DAT, RELOC_JMP_SLOT, RELOC_RELATIVE,
21 /* 29K relocation types */
22 RELOC_JUMPTARG, RELOC_CONST, RELOC_CONSTH,
27 #define RELOC_TYPE_NAMES \
28 "8", "16", "32", "DISP8", \
29 "DISP16", "DISP32", "WDISP30", "WDISP22", \
30 "HI22", "22", "13", "LO10", \
31 "SFA_BASE", "SFAOFF13", "BASE10", "BASE13", \
32 "BASE22", "PC10", "PC22", "JMP_TBL", \
33 "SEGOFF16", "GLOB_DAT", "JMP_SLOT", "RELATIVE", \
34 "JUMPTARG", "CONST", "CONSTH", \
36 "XXX_28", "XXX_29", "XXX_30", "XXX_31"
38 #endif /* _RELOC_H_READ_ */