Mercurial > hg > CbC > CbC_llvm
diff lld/test/ELF/arm-v5-reloc-error.s @ 252:1f2b6ac9f198 llvm-original
LLVM16-1
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Aug 2023 09:04:13 +0900 |
parents | 0572611fdcc8 |
children |
line wrap: on
line diff
--- a/lld/test/ELF/arm-v5-reloc-error.s Wed Nov 09 17:47:54 2022 +0900 +++ b/lld/test/ELF/arm-v5-reloc-error.s Fri Aug 18 09:04:13 2023 +0900 @@ -7,6 +7,10 @@ // RUN: } " > %t.script // RUN: not ld.lld --script %t.script %t -o /dev/null 2>&1 | FileCheck %s +// RUN: llvm-mc -filetype=obj -triple=armv7aeb-linux-gnueabi -mcpu=cortex-a8 %s -o %t +// RUN: not ld.lld --script %t.script %t -o /dev/null 2>&1 | FileCheck %s +// RUN: not ld.lld -be8 --script %t.script %t -o /dev/null 2>&1 | FileCheck %s + // CHECK: error: relocation R_ARM_THM_JUMP24 to far not supported for Armv5 or Armv6 targets // Lie about our build attributes. Our triple is armv7a-linux-gnueabi but