aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-cris/expdyn2.s
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2008-12-17 02:15:34 +0000
committerHans-Peter Nilsson <hp@axis.com>2008-12-17 02:15:34 +0000
commitd179004260aab534754a14c82b91dd95baec7892 (patch)
tree03241cc8a1d9ed5c940e2f356d12ab59b720a981 /ld/testsuite/ld-cris/expdyn2.s
parent867ea5fd9af7d6938f8dda898edd469afa712d4f (diff)
downloadgdb-d179004260aab534754a14c82b91dd95baec7892.zip
gdb-d179004260aab534754a14c82b91dd95baec7892.tar.gz
gdb-d179004260aab534754a14c82b91dd95baec7892.tar.bz2
* ld-cris/expalltst3, ld-cris/expdyn2.s, ld-cris/libdso-15.d: New
tests.
Diffstat (limited to 'ld/testsuite/ld-cris/expdyn2.s')
-rw-r--r--ld/testsuite/ld-cris/expdyn2.s21
1 files changed, 21 insertions, 0 deletions
diff --git a/ld/testsuite/ld-cris/expdyn2.s b/ld/testsuite/ld-cris/expdyn2.s
new file mode 100644
index 0000000..d184ebc
--- /dev/null
+++ b/ld/testsuite/ld-cris/expdyn2.s
@@ -0,0 +1,21 @@
+ .data
+ .global __expobj2
+ .type __expobj2,@object
+ .size __expobj2,4
+__expobj2:
+ .dword 0
+ .weak expobj2
+ .set expobj2,__expobj2
+
+ .text
+ .global _start
+_start:
+ nop
+ .global __expfn2
+__expfn2:
+ .type __expfn2,@function
+ nop
+.Lfe1:
+ .size __expfn2,.Lfe1-__expfn2
+ .weak expfn2
+ .set expfn2,__expfn2