[prev in list] [next in list] [prev in thread] [next in thread]
List: llvm-commits
Subject: [PATCH] D139807: [lld][ELF] Support relocation R_AVR_LDS_STS_16 on AVRTiny devices.
From: Ben Shi via Phabricator via llvm-commits <llvm-commits () lists ! llvm ! org>
Date: 2022-12-31 10:36:49
Message-ID: 7B4WpVE2QFu_ITaxLbc2VQ () geopod-ismtpd-4-0
[Download RAW message or body]
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
_______________________________________________
llvm-commits mailing list
llvm-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic