summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/ld/testsuite/ld-cris/ldsym1.d
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-cris/ldsym1.d')
-rw-r--r--binutils-2.25/ld/testsuite/ld-cris/ldsym1.d20
1 files changed, 20 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-cris/ldsym1.d b/binutils-2.25/ld/testsuite/ld-cris/ldsym1.d
new file mode 100644
index 00000000..e8dcd325
--- /dev/null
+++ b/binutils-2.25/ld/testsuite/ld-cris/ldsym1.d
@@ -0,0 +1,20 @@
+# source: expdyn1.s
+# target: cris-*-*elf* cris-*-*aout*
+# as: --em=criself
+# ld: -mcriself
+# objdump: -d
+
+# Note that the linker script symbol __start is set to the same
+# value as _start, and will collate before _start and be chosen
+# as the presentation symbol at disassembly. Anyway, __start
+# shouldn't hinder disassembly by posing as an object symbol.
+
+.*: file format elf32-us-cris
+
+Disassembly of section \.text:
+
+0+ <(___init__start|__start|__Stext)>:
+ 0: 0f05 nop
+
+0+2 <expfn>:
+ 2: 0f05 nop