aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ELF/uleb.s
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-09-15 21:48:40 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-09-15 21:48:40 +0000
commitd80781b98b771d370730ab7c630018f23e202b57 (patch)
tree96ca95a60f4eb1c0694f785f29529a6e7c21f3b9 /test/MC/ELF/uleb.s
parent06f264e504d75f0426eea55b9f9e36c780d8a4fc (diff)
downloadexternal_llvm-d80781b98b771d370730ab7c630018f23e202b57.zip
external_llvm-d80781b98b771d370730ab7c630018f23e202b57.tar.gz
external_llvm-d80781b98b771d370730ab7c630018f23e202b57.tar.bz2
Add a InitSections method to the streamer interface.
The ELF implementation now creates text, data and bss to match the gnu as behavior. The text streamer still has the old MachO specific behavior since the testsuite checks that it will error when a directive is given before a setting the current section for example. A nice benefit is that -n is not required anymore when producing ELF files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ELF/uleb.s')
-rw-r--r--test/MC/ELF/uleb.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/MC/ELF/uleb.s b/test/MC/ELF/uleb.s
index 1fb2a23..d8d1727 100644
--- a/test/MC/ELF/uleb.s
+++ b/test/MC/ELF/uleb.s
@@ -1,5 +1,5 @@
-// RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu -n %s -o - | elf-dump --dump-section-data | FileCheck -check-prefix=ELF_32 %s
-// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu -n %s -o - | elf-dump --dump-section-data | FileCheck -check-prefix=ELF_64 %s
+// RUN: llvm-mc -filetype=obj -triple i686-pc-linux-gnu %s -o - | elf-dump --dump-section-data | FileCheck -check-prefix=ELF_32 %s
+// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump --dump-section-data | FileCheck -check-prefix=ELF_64 %s
// RUN: llvm-mc -filetype=obj -triple i386-apple-darwin9 %s -o - | macho-dump --dump-section-data | FileCheck -check-prefix=MACHO_32 %s
// RUN: llvm-mc -filetype=obj -triple x86_64-apple-darwin9 %s -o - | macho-dump --dump-section-data | FileCheck -check-prefix=MACHO_64 %s