summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/alpha/elf-reloc-5.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/alpha/elf-reloc-5.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/alpha/elf-reloc-5.s31
1 files changed, 31 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/alpha/elf-reloc-5.s b/binutils-2.25/gas/testsuite/gas/alpha/elf-reloc-5.s
new file mode 100644
index 00000000..f8934a5d
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/alpha/elf-reloc-5.s
@@ -0,0 +1,31 @@
+ .text
+ .align 2
+_start:
+ br $31, nopv
+ br $31, nopv !samegp
+ br $31, stdgp
+ br $31, stdgp !samegp
+
+ br $31, undef !samegp
+ br $31, extern !samegp
+
+.ent nopv
+nopv:
+ .prologue 0
+ nop
+.end nopv
+
+.ent stdgp
+stdgp:
+ ldgp $29,0($27)
+ .prologue 1
+ nop
+.end stdgp
+
+.globl extern
+.ent extern
+extern:
+ .prologue 0
+ nop
+.end extern
+