Skip to content

Commit 8a97197

Browse files
committed
remove FIXME, delete comment
1 parent 58d735c commit 8a97197

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lld/ELF/Arch/Hexagon.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@ bool Hexagon::needsThunk(RelExpr expr, RelType type, const InputFile *file,
301301
case R_HEX_B9_PCREL:
302302
return !ctx.target->inBranchRange(type, branchAddr, s.getVA(ctx, a));
303303
default:
304-
// For unsupported relocation types, no thunk is needed
305304
return false;
306305
}
307306
}

lld/ELF/Thunks.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1538,7 +1538,7 @@ bool PPC64LongBranchThunk::isCompatibleWith(const InputSection &isec,
15381538
// Hexagon Target Thunks
15391539
static uint64_t getHexagonThunkDestVA(Ctx &ctx, const Symbol &s, int64_t a) {
15401540
uint64_t v = s.isInPlt(ctx) ? s.getPltVA(ctx) : s.getVA(ctx, a);
1541-
return SignExtend64<32>(v); // FIXME: sign extend to 64-bit?
1541+
return SignExtend64<32>(v);
15421542
}
15431543

15441544
void HexagonThunk::writeTo(uint8_t *buf) {

0 commit comments

Comments
 (0)