2015-10-20 05:00:02 +08:00
|
|
|
// REQUIRES: x86
|
|
|
|
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
|
2015-11-18 14:11:01 +08:00
|
|
|
// RUN: not ld.lld %t.o -o %t.so -shared 2>&1 | FileCheck %s
|
2016-08-03 12:39:42 +08:00
|
|
|
// CHECK: relocation-past-merge-end.s.tmp.o(.foo): entry is past the end of the section
|
2015-10-20 05:00:02 +08:00
|
|
|
|
2016-08-03 13:28:02 +08:00
|
|
|
.data
|
|
|
|
.long .foo + 10
|
|
|
|
.section .foo,"aM",@progbits,4
|
|
|
|
.quad 0
|