blob: 24a274b1935769ef3bf6b6c1ef2ac94b4d77ae90 [file] [log] [blame] [edit]
// REQUIRES: x86
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
// RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
// RUN: ld.lld %t.o -o /dev/null --noinhibit-exec 2>&1 | FileCheck %s
// CHECK: merge-writable.s.tmp.o:(.foo): writable SHF_MERGE section is not supported
.section .foo,"awM",@progbits,4
.quad 0