parent
09e9232d6b
commit
b2e6190aca
|
@ -15,7 +15,6 @@ using namespace lld;
|
|||
using namespace lld::elf;
|
||||
using namespace llvm::support::endian;
|
||||
|
||||
namespace {
|
||||
/// \brief R_386_32 - word32: S + A
|
||||
static int reloc32(uint8_t *location, uint64_t P, uint64_t S, uint64_t A) {
|
||||
int32_t result = (uint32_t)(S + A);
|
||||
|
@ -29,7 +28,6 @@ static int relocPC32(uint8_t *location, uint64_t P, uint64_t S, uint64_t A) {
|
|||
write32le(location, result + read32le(location));
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
std::error_code X86TargetRelocationHandler::applyRelocation(
|
||||
ELFWriter &writer, llvm::FileOutputBuffer &buf, const lld::AtomLayout &atom,
|
||||
|
|
Loading…
Reference in New Issue