[PATCH] D139807: [lld][ELF] Support relocation R_AVR_LDS_STS_16 on AVRTiny devices.
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 31 02:36:49 PST 2022
benshi001 added inline comments.
================
Comment at: lld/test/ELF/avrtiny-reloc.s:1
+; REQUIRES: avr
+; RUN: llvm-mc -filetype=obj -triple=avr -mcpu=attiny10 %s -o %t.o
----------------
benshi001 wrote:
> MaskRay wrote:
> > `avr-tiny*`
> >
> > Can `avr-reloc.s` be augmented to test `-mcpu=attiny10`?
> I would like to do that, but it is impossible. Since `avr-reloc.s` contains instructions which are invalid on AVRTiny, the assembler will report errors, so I have to create a seperate file for AVRTiny.
Actually avrtiny is not a subset of avr, though their common part is quite large, they each have own specific stuff (instruction mnemonics, instruction formats, instruction encodings, relocations, etc.).
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D139807/new/
https://reviews.llvm.org/D139807
More information about the llvm-commits
mailing list