blob: 58a624329ed9867670eca602a5650bf2f6435140 [file] [log] [blame]
Rafael Espindolaf82ed2a2015-10-24 22:51:01 +00001// REQUIRES: x86
2// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
Rafael Espindola9c8904f2015-11-18 06:11:01 +00003// RUN: not ld.lld %t.o -o %t.so -shared 2>&1 | FileCheck %s
Rafael Espindolaf82ed2a2015-10-24 22:51:01 +00004
5 .section .rodata.str1.1,"aMS",@progbits,1
6 .asciz "abc"
7
8 .text
9 .long .rodata.str1.1 + 4
10
11// CHECK: Entry is past the end of the section