aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/sh64/init.s
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-08-23 08:14:06 +0000
committerAlan Modra <amodra@gmail.com>2002-08-23 08:14:06 +0000
commit30c8cc6872e801587323b4aa2e87c8233eb1e295 (patch)
tree1de01b493376d01ffa3e10c2a132f5d31a47d6cf /ld/testsuite/ld-sh/sh64/init.s
parent3b587c71d7b37cf7b18c71d01f887d13e692c85b (diff)
downloadgdb-30c8cc6872e801587323b4aa2e87c8233eb1e295.zip
gdb-30c8cc6872e801587323b4aa2e87c8233eb1e295.tar.gz
gdb-30c8cc6872e801587323b4aa2e87c8233eb1e295.tar.bz2
* ld-sh/sh64/rd-sh64.exp: New framework file.
* ld-sh/sh64/init-cmpct.d, ld-sh/sh64/init-media.d, ld-sh/sh64/init64.d, ld-sh/sh64/init.s: New tests for correct setting of ISA bit for init and fini entry-points.
Diffstat (limited to 'ld/testsuite/ld-sh/sh64/init.s')
-rw-r--r--ld/testsuite/ld-sh/sh64/init.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sh/sh64/init.s b/ld/testsuite/ld-sh/sh64/init.s
new file mode 100644
index 0000000..4aa1ff9
--- /dev/null
+++ b/ld/testsuite/ld-sh/sh64/init.s
@@ -0,0 +1,16 @@
+ .section .text,"ax"
+ .global _init
+ .type _init,@function
+_init:
+ nop
+ nop
+ nop
+ nop
+
+ .global _fini
+ .type _fini,@function
+_fini:
+ nop
+ nop
+ nop
+ nop