diff options
author | Rui Ueyama <ruiu@google.com> | 2015-10-13 16:44:13 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2015-10-13 16:44:13 +0000 |
commit | c2c22f44bf1236dc4da94e2c90fc11fb8fdba19d (patch) | |
tree | d3521f23a4a84fc3d80735e078bad496ab802f3d | |
parent | c758387e9b2d3fd63ccd876ad79dd159934fddd4 (diff) | |
download | llvm-c2c22f44bf1236dc4da94e2c90fc11fb8fdba19d.zip llvm-c2c22f44bf1236dc4da94e2c90fc11fb8fdba19d.tar.gz llvm-c2c22f44bf1236dc4da94e2c90fc11fb8fdba19d.tar.bz2 |
Remove extra semicolons for -Wpedantic.
llvm-svn: 250178
-rw-r--r-- | lld/ELF/Target.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/ELF/Target.cpp b/lld/ELF/Target.cpp index 7a98f44..08d3a7b 100644 --- a/lld/ELF/Target.cpp +++ b/lld/ELF/Target.cpp @@ -75,7 +75,7 @@ void X86TargetInfo::writePltZeroEntry(uint8_t *Buf, uint64_t GotEntryAddr, memcpy(Buf, PltData, sizeof(PltData)); write32le(Buf + 2, GotEntryAddr - PltEntryAddr + 2); // GOT+8 write32le(Buf + 8, GotEntryAddr - PltEntryAddr + 4); // GOT+16 -}; +} void X86TargetInfo::writePltEntry(uint8_t *Buf, uint64_t GotEntryAddr, uint64_t PltEntryAddr, int32_t Index) const { @@ -317,7 +317,7 @@ static uint64_t getPPC64TocBase() { void PPC64TargetInfo::writeGotPltEntry(uint8_t *Buf, uint64_t Plt) const {} void PPC64TargetInfo::writePltZeroEntry(uint8_t *Buf, uint64_t GotEntryAddr, - uint64_t PltEntryAddr) const {}; + uint64_t PltEntryAddr) const {} void PPC64TargetInfo::writePltEntry(uint8_t *Buf, uint64_t GotEntryAddr, uint64_t PltEntryAddr, int32_t Index) const { uint64_t Off = GotEntryAddr - getPPC64TocBase(); @@ -515,7 +515,7 @@ PPCTargetInfo::PPCTargetInfo() { void PPCTargetInfo::writeGotPltEntry(uint8_t *Buf, uint64_t Plt) const {} void PPCTargetInfo::writePltZeroEntry(uint8_t *Buf, uint64_t GotEntryAddr, - uint64_t PltEntryAddr) const {}; + uint64_t PltEntryAddr) const {} void PPCTargetInfo::writePltEntry(uint8_t *Buf, uint64_t GotEntryAddr, uint64_t PltEntryAddr, int32_t Index) const {} bool PPCTargetInfo::relocNeedsGot(uint32_t Type, const SymbolBody &S) const { @@ -537,7 +537,7 @@ AArch64TargetInfo::AArch64TargetInfo() { void AArch64TargetInfo::writeGotPltEntry(uint8_t *Buf, uint64_t Plt) const {} void AArch64TargetInfo::writePltZeroEntry(uint8_t *Buf, uint64_t GotEntryAddr, - uint64_t PltEntryAddr) const {}; + uint64_t PltEntryAddr) const {} void AArch64TargetInfo::writePltEntry(uint8_t *Buf, uint64_t GotEntryAddr, uint64_t PltEntryAddr, int32_t Index) const {} |