summaryrefslogtreecommitdiffstats
path: root/test/tools/llvm-objdump/Inputs/out-of-section-sym.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools/llvm-objdump/Inputs/out-of-section-sym.s')
-rw-r--r--test/tools/llvm-objdump/Inputs/out-of-section-sym.s15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/tools/llvm-objdump/Inputs/out-of-section-sym.s b/test/tools/llvm-objdump/Inputs/out-of-section-sym.s
new file mode 100644
index 0000000..9a1349c
--- /dev/null
+++ b/test/tools/llvm-objdump/Inputs/out-of-section-sym.s
@@ -0,0 +1,15 @@
+// $ cat out-of-section-sym.ld
+// SECTIONS
+// {
+// . = 0x10;
+// .text : { _ftext = . ; *(.text) }
+// . = 0x20;
+// .data : { _fdata = . ; *(.data) }
+// }
+// as --32 out-of-section-sym.s -o out-of-section-sym.o
+// ld -m elf_i386 -Tout-of-section-sym.ld -o out-of-section-sym.elf-i386 \
+// out-of-section-sym.o
+
+.text
+_start:
+ ret