aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2002-03-19 23:49:51 +0000
committerHans-Peter Nilsson <hp@axis.com>2002-03-19 23:49:51 +0000
commit442e4424a043ebbb9be1d5b81c88f0244b516150 (patch)
treeb3f6455766122d97be86adbd68d9c18d2f106aea /ld/testsuite/ld-cris
parentb233223b803af7972ee99bb273f605b7126eac04 (diff)
downloadgdb-442e4424a043ebbb9be1d5b81c88f0244b516150.zip
gdb-442e4424a043ebbb9be1d5b81c88f0244b516150.tar.gz
gdb-442e4424a043ebbb9be1d5b81c88f0244b516150.tar.bz2
* ld-cris/ldsym1.d: New test.
Diffstat (limited to 'ld/testsuite/ld-cris')
-rw-r--r--ld/testsuite/ld-cris/ldsym1.d19
1 files changed, 19 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/ldsym1.d b/ld/testsuite/ld-cris/ldsym1.d
new file mode 100644
index 0000000..3270013
--- /dev/null
+++ b/ld/testsuite/ld-cris/ldsym1.d
@@ -0,0 +1,19 @@
+# source: expdyn1.s
+# 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+6 <__start>:
+ 6: 0f05 nop
+
+0+8 <expfn>:
+ 8: 0f05 nop