1// REQUIRES: x86 2// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o 3// RUN: not ld.lld %t.o -o /dev/null -shared 2>&1 | FileCheck %s 4 5 .section .rodata.str1.1,"aMS",@progbits,1 6 .asciz "abc" 7 8 .data 9 .quad .rodata.str1.1 + 4 10 11// CHECK: merge-string-error.s.tmp.o:(.rodata.str1.1): offset is outside the section 12