llvm.org GIT mirror llvm / 93d2a0a
Add more Mips relocation types. Patch by Jack Carter at Mips. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141932 91177308-0d34-0410-b5e6-96231b3b80d8 Akira Hatanaka 8 years ago
1 changed file(s) with 21 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3232 reloc_mips_lo = 3,
3333
3434 // reloc_mips_26 - lower 28 bits of the address, shifted right by 2.
35 reloc_mips_26 = 4
35 reloc_mips_26 = 4,
36
37 // I am starting here with the rest of the relocations because
38 // I have no idea if the above enumerations are assumed somewhere
39 // else
40 reloc_mips_16 = 6, // R_MIPS_16
41 reloc_mips_32 = 7, // R_MIPS_32
42 reloc_mips_rel32 = 8, // R_MIPS_REL32
43 reloc_mips_gprel16 = 10, // R_MIPS_GPREL16
44 reloc_mips_literal = 12, // R_MIPS_LITERAL
45 reloc_mips_got16 = 13, // R_MIPS_GOT16
46 reloc_mips_call16 = 15, // R_MIPS_CALL16
47 reloc_mips_gprel32 = 17, // R_MIPS_GPREL32
48 reloc_mips_shift5 = 18, // R_MIPS_SHIFT5
49 reloc_mips_shift6 = 19, // R_MIPS_SHIFT6
50 reloc_mips_64 = 20, // R_MIPS_64
51 reloc_mips_tlsgd = 21, // R_MIPS_TLS_GD
52 reloc_mips_gottprel = 22, // R_MIPS_TLS_GOTTPREL
53 reloc_mips_tprel_hi = 23, // R_MIPS_TLS_TPREL_HI16
54 reloc_mips_tprel_lo = 24, // R_MIPS_TLS_TPREL_LO16
55 reloc_mips_branch_pcrel = 25 // This should become R_MIPS_PC16
3656 };
3757 }
3858 }