[PATCH] D141197: [lld][NFC] Improve AVR relocation tests
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 7 06:50:38 PST 2023
benshi001 updated this revision to Diff 487091.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141197/new/
https://reviews.llvm.org/D141197
Files:
lld/test/ELF/avr-reloc.s
Index: lld/test/ELF/avr-reloc.s
===================================================================
--- lld/test/ELF/avr-reloc.s
+++ lld/test/ELF/avr-reloc.s
@@ -70,14 +70,14 @@
in r20, b ; R_AVR_PORT6
sbic b, 1 ; R_AVR_PORT5
-;; The disassembler is not yet able to decode those opcodes
-;; 0f c0 rjmp .+30
-;; ee cf rjmp .-36
-;; 69 f0 breq .+26
-;; 61 f3 breq .-40
.section .PCREL,"ax", at progbits
-; HEX-LABEL: section .PCREL:
-; HEX-NEXT: 0fc0eecf 69f061f3
+; CHECK-LABEL: section .PCREL
+; CHECK: rjmp .+30
+; CHECK-NEXT: rjmp .-36
+; CHECK-NEXT: breq .+26
+; CHECK-NEXT: breq .-40
+; HEX-LABEL: section .PCREL:
+; HEX-NEXT: 0fc0eecf 69f061f3
foo:
rjmp foo + 32 ; R_AVR_13_PCREL
rjmp foo - 32 ; R_AVR_13_PCREL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141197.487091.patch
Type: text/x-patch
Size: 766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230107/2a8152d3/attachment.bin>
More information about the llvm-commits
mailing list