| Rafael Espindola | f82ed2a | 2015-10-24 22:51:01 +0000 | [diff] [blame] | 1 | // REQUIRES: x86 |
| 2 | // RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o | ||||
| Rafael Espindola | 9c8904f | 2015-11-18 06:11:01 +0000 | [diff] [blame] | 3 | // RUN: not ld.lld %t.o -o %t.so -shared 2>&1 | FileCheck %s |
| Rafael Espindola | f82ed2a | 2015-10-24 22:51:01 +0000 | [diff] [blame] | 4 | |
| 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 | ||||