Ben Shi
Ben Shi
This bug affects some tests : https://github.com/llvm/llvm-project/blob/main/lld/test/ELF/avr-reloc.s#L64
fixed by https://reviews.llvm.org/D140815 https://reviews.llvm.org/D140816
The above patches fix the bug that the llvm-objdump can not correctly decode RJMP/RCALL and the relative branch instructions. However clang still emits wrong addend field in the .rela.text of...
duplicate to https://github.com/llvm/llvm-project/issues/60019 .
fixed by https://reviews.llvm.org/D141752
I have uploaded a new version of my patch https://reviews.llvm.org/D141752, your new test is correctly compiled to ``` .text .set __tmp_reg__, 0 .set __zero_reg__, 1 .set __SREG__, 63 .set __SP_H__,...