3 ## Check that we respect MEMORY commands in linker scripts without
7 RUN: llvm-mc -filetype=obj -triple=x86_64 %ts/asm.s -o %t.o
8 RUN: ld.lld -o %t -T %ts/script %t.o
9 RUN: llvm-readelf -S %t | FileCheck %s
11 CHECK: .text PROGBITS 0000000000001000
12 CHECK: .data PROGBITS 0000000010000000
17 flash (rx!w): org = 0x1000, len = 0x3000
18 ram (rwx): org = 0x10000000, len = 0x1000