aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-26 22:49:51 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-26 22:49:51 +0000
commit7c0a3348fb5c8259a2b4e21b8c80b5459eaa9487 (patch)
treef98fc31749e21c56fa7e77437b0c1258e07e632c /test
parent959fd883346384e742fff049327a6815e36017e0 (diff)
llvm-mc/Mach-O: Unique sections properly, so we don't get duplicate text
sections, etc. - The quick and dirty way, just clone the TargetLoweringObjectFile code. Eventually this should be shared... somehow. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80168 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/MachO/sections.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/MachO/sections.s b/test/MC/MachO/sections.s
index 11a86a9226..bcbd9f4662 100644
--- a/test/MC/MachO/sections.s
+++ b/test/MC/MachO/sections.s
@@ -1,5 +1,8 @@
// RUN: llvm-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | macho-dump | FileCheck %s
+ .text
+ .section __TEXT,__text,regular,pure_instructions
+
.const
.static_const
.cstring