summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2018-04-09 13:13:36 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2018-04-09 13:13:36 +0000
commitaeb7e305b89dec1a5fa568c63ebfadb1c73a3462 (patch)
treed9606bf6bc64bcedf14a765b3b6a11174f5ed8e5
parent2f8e146ad3d4230c28a9ba3b1285e657bd5bc352 (diff)
downloadbcm5719-llvm-aeb7e305b89dec1a5fa568c63ebfadb1c73a3462.tar.gz
bcm5719-llvm-aeb7e305b89dec1a5fa568c63ebfadb1c73a3462.zip
[ELF] - Simplify test case. NFC.
llvm-svn: 329563
-rw-r--r--lld/test/ELF/linkerscript/section-metadata2.s6
1 files changed, 1 insertions, 5 deletions
diff --git a/lld/test/ELF/linkerscript/section-metadata2.s b/lld/test/ELF/linkerscript/section-metadata2.s
index 3fec2fd8da9..63024921385 100644
--- a/lld/test/ELF/linkerscript/section-metadata2.s
+++ b/lld/test/ELF/linkerscript/section-metadata2.s
@@ -1,9 +1,9 @@
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
+# RUN: echo "SECTIONS { .text : { *(.text.*) } }" > %t.script
# RUN: echo "_bar" > %t.ord
# RUN: echo "_foo" >> %t.ord
-# RUN: echo "SECTIONS { .text : { *(.text.*) } }" > %t.script
# RUN: ld.lld --symbol-ordering-file %t.ord -o %t --script %t.script %t.o
# RUN: llvm-objdump -s %t | FileCheck %s
@@ -14,7 +14,6 @@
# RUN: echo "_foo" > %t.ord
# RUN: echo "_bar" >> %t.ord
-# RUN: echo "SECTIONS { .text : { *(.text.*) } }" > %t.script
# RUN: ld.lld --symbol-ordering-file %t.ord -o %t --script %t.script %t.o
# RUN: llvm-objdump -s %t | FileCheck %s --check-prefix=INV
@@ -23,9 +22,6 @@
# INV: Contents of section .rodata:
# INV-NEXT: 01000000 00000000 02000000 00000000
-.global _start
-_start:
-
.section .text.foo,"a",@progbits
_foo:
.quad 1
OpenPOWER on IntegriCloud