2015-10-20 05:00:02 +08:00
|
|
|
// REQUIRES: x86
|
|
|
|
// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux
|
2017-04-29 09:24:34 +08:00
|
|
|
// RUN: ld.lld %t.o -o %t -shared
|
|
|
|
// RUN: llvm-objdump -section-headers %t | FileCheck %s
|
2015-10-20 05:00:02 +08:00
|
|
|
|
2017-04-29 09:24:34 +08:00
|
|
|
// Test that we accept this by just not merging the section.
|
|
|
|
// CHECK: .foo 00000008
|
|
|
|
|
|
|
|
bar:
|
|
|
|
.section .foo,"aM",@progbits,8
|
|
|
|
.long bar - .
|
|
|
|
.long bar - .
|