summaryrefslogtreecommitdiff
path: root/pt
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2026-01-09 01:39:52 +0100
committerGitHub <noreply@github.com>2026-01-08 16:39:52 -0800
commita1c373ec89a3500630bafabf406108a8fc568bcc (patch)
tree3599e407de5f1fe4a125dd04524e2331154a1ad2 /pt
parent11e43745d141be4bd17e6762d1ad771ade0422a8 (diff)
downloadenv-master.zip
env-master.tar.gz
env-master.tar.bz2
entry.S: illegal addend for R_RISCV_GOT_HI20 (#51)HEADmaster
When building riscv-tests with Ubuntu's gcc 15.2.0-7ubuntu1 an error occurs: rv32ui-v-simple-entry.o: in function `handle_reset': (.text.init+0xa4): dangerous relocation: The addend isn't allowed for R_RISCV_GOT_HI20 Split loading STACK_TOP - SIZEOF_TRAPFRAME_T into separate load and add instructions. https://github.com/riscv-non-isa/riscv-elf-psabi-doc/blob/master/riscv-elf.adoc only describes R_RISCV_GOT_HI20 with offset 0 to a label. The topic of addends for R_RISCV_GOT_HI20 was discussed in https://github.com/riscv-non-isa/riscv-elf-psabi-doc/issues/184#issuecomment-830988778 Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'pt')
0 files changed, 0 insertions, 0 deletions