Skip to content

Commit b3150e0

Browse files
committed
[cheriot] Fix bad cherry-pick when merging.
1 parent a82c0f6 commit b3150e0

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lld/ELF/Arch/RISCV.cpp

+1-6
Original file line numberDiff line numberDiff line change
@@ -1139,13 +1139,8 @@ static bool relax(InputSection &sec, int pass) {
11391139
case R_RISCV_CALL:
11401140
case R_RISCV_CALL_PLT:
11411141
case R_RISCV_CHERI_CCALL:
1142-
<<<<<<< HEAD
1143-
if (relaxable(relocs, i))
1144-
=======
11451142
case R_RISCV_CHERIOT_CCALL:
1146-
if (i + 1 != sec.relocs().size() &&
1147-
sec.relocs()[i + 1].type == R_RISCV_RELAX)
1148-
>>>>>>> 4feeffbf8ec3 ([cheriot] Add an R_RISCV_CHERIOT_CCALL reloc)
1143+
if (relaxable(relocs, i))
11491144
relaxCall(sec, i, loc, r, remove);
11501145
break;
11511146
case R_RISCV_TPREL_HI20:

0 commit comments

Comments
 (0)