Commit 151d779
[ELF][RISCV] Handle R_RISCV_FUNC_RELATIVE in getImplicitAddend
Otherwise linking with --apply-dynamic-relocs (as is done by U-Boot, or
due to -z rel which we don't support) when --check-dynamic-relocs is
enabled (which is the default in assertions builds) will give an
internal linker error when such a relocation is emitted.
Fixes: 2d52aa8 ("[ELF][RISCV] Support R_RISCV_CHERI_CAPABILITY_CODE and R_RISCV_FUNC_RELATIVE")1 parent 4403a98 commit 151d779
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
| 228 | + | |
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
| |||
0 commit comments