1 Pull in r198565 from upstream llvm trunk (by Venkatraman Govindaraju):
3 ELF relocation types for sparc.
5 Introduced here: http://svn.freebsd.org/changeset/base/262261
7 Index: include/llvm/Support/ELF.h
8 ===================================================================
9 --- include/llvm/Support/ELF.h
10 +++ include/llvm/Support/ELF.h
11 @@ -1087,6 +1087,65 @@ enum {
15 +// ELF Relocation type for Sparc.
24 + R_SPARC_WDISP30 = 7,
25 + R_SPARC_WDISP22 = 8,
35 + R_SPARC_WPLT30 = 18,
37 + R_SPARC_GLOB_DAT = 20,
38 + R_SPARC_JMP_SLOT = 21,
39 + R_SPARC_RELATIVE = 22,
42 + R_SPARC_HIPLT22 = 25,
43 + R_SPARC_LOPLT10 = 26,
44 + R_SPARC_PCPLT32 = 27,
45 + R_SPARC_PCPLT22 = 28,
46 + R_SPARC_PCPLT10 = 29,
54 + R_SPARC_PC_HH22 = 37,
55 + R_SPARC_PC_HM10 = 38,
56 + R_SPARC_PC_LM22 = 39,
57 + R_SPARC_WDISP16 = 40,
58 + R_SPARC_WDISP19 = 41,
62 + R_SPARC_DISP64 = 46,
69 + R_SPARC_REGISTER = 53,
76 Elf32_Word sh_name; // Section name (index into string table)