[PATCH] D125544: [lld][ELF] Support linking 'elf32-avr' with linker scripts
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri May 13 06:44:58 PDT 2022
benshi001 added inline comments.
================
Comment at: lld/test/ELF/linkerscript/avr5.test:15
+# ASM-NEXT: ldi r25, 20
+# ASM-NEXT: sts 257, r25
+# ASM-NEXT: sts 256, r24
----------------
This two disassembled lines corresponds to
```
sts abc+1, r25
sts abc, r24
```
in the original assmebly source.
We can see that the address of variable `abc` is 100, which is correct.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125544/new/
https://reviews.llvm.org/D125544
More information about the llvm-commits
mailing list