brintos

brintos / llvm-project-archived public Read only

0
0
Text · 393 B · 6b61006 Raw
15 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux /dev/null -o %t.o3# RUN: not ld.lld -o /dev/null %t.o --script %s 2>&1 | FileCheck %s4 5MEMORY {6  FLASH (ax) : ORIGIN = 0x2000, LENGTH = 0x1007  RAM (aw)   : ORIGIN = 0x5000, LENGTH = 0x1008}9 10SECTIONS {11  .foo1 : AT(0x500) { *(.foo1) } > FLASH AT>FLASH12}13 14# CHECK: error: section can't have both LMA and a load region15