llvm.org GIT mirror llvm / 8e4eedc
Merging r226182: ------------------------------------------------------------------------ r226182 | joerg | 2015-01-15 09:59:02 -0800 (Thu, 15 Jan 2015) | 2 lines Support @PLT loads on 32bit x86. ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_36@226203 91177308-0d34-0410-b5e6-96231b3b80d8 Hans Wennborg 5 years ago
2 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
221221 case MCSymbolRefExpr::VK_GOT:
222222 Type = ELF::R_386_GOT32;
223223 break;
224 case MCSymbolRefExpr::VK_PLT:
225 Type = ELF::R_386_PLT32;
226 break;
224227 case MCSymbolRefExpr::VK_GOTOFF:
225228 Type = ELF::R_386_GOTOFF;
226229 break;
6262 // Relocation 28 (und_symbol-bar2) is of type R_386_PC8
6363 // CHECK-NEXT: 0xA0 R_386_PC8 und_symbol 0x0
6464 // CHECK-NEXT: 0xA3 R_386_GOTOFF und_symbol 0x0
65 // Relocation 29 (zed@PLT) is of type R_386_PLT32 and uses the symbol
66 // CHECK-NEXT: 0xA9 R_386_PLT32 zed 0x0
6567 // CHECK-NEXT: }
6668 // CHECK-NEXT: ]
6769
128130 .byte und_symbol-bar2
129131
130132 leal 1 + und_symbol@GOTOFF, %edi
133 movl zed@PLT(%eax), %eax
131134
132135 .section zedsec,"awT",@progbits
133136 zed: