brintos

brintos / llvm-project-archived public Read only

0
0
Text · 510 B · 38f4064 Raw
21 lines · plain
1# REQUIRES: aarch64, x862# RUN: llvm-mc -filetype=obj -triple=x86_64 /dev/null -o %t.o3# RUN: not ld.lld %t.o -T %s -o /dev/null 2>&1 | FileCheck %s4 5## AArch64 needs thunks and has different address finalization process, so test6## it as well.7# RUN: llvm-mc -filetype=obj -triple=aarch64 /dev/null -o %t.o8# RUN: not ld.lld %t.o -T %s -o /dev/null 2>&1 | FileCheck %s9 10# CHECK: error: assignment to symbol a does not converge11 12SECTIONS {13  . = 0x1000;14  a = b;15  b = c;16  c = d;17  d = e;18  e = f;19  f = .;20}21