[lld] [lld][ELF][AVR] Add range check for R_AVR_13_PCREL (PR #67636)
Ben Shi via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 28 01:00:06 PDT 2023
================
@@ -0,0 +1,27 @@
+; REQUIRES: avr
+; RUN: llvm-mc -filetype=obj -triple=avr -mcpu=atmega328 %s -o %t.o
+; RUN: not ld.lld %t.o -o %t 2>&1 -Ttext=0x1000 --defsym=callee0=0xf00 --defsym=callee1=0x2048 --defsym=callee2=0x100f | FileCheck %s
----------------
benshi001 wrote:
Thanks! I have fixed.
https://github.com/llvm/llvm-project/pull/67636
More information about the llvm-commits
mailing list