* gas/hppa/reloc/longcall.s: New test.
authorJeff Law <law@redhat.com>
Wed, 3 May 1995 19:17:14 +0000 (19:17 +0000)
committerJeff Law <law@redhat.com>
Wed, 3 May 1995 19:17:14 +0000 (19:17 +0000)
* gas/hppa/reloc/reloc.exp: Run it.

gas/testsuite/gas/hppa/reloc/.Sanitize
gas/testsuite/gas/hppa/reloc/longcall.s [new file with mode: 0644]

index baf760f131d7ca0c610c9a9142871647fd0741bf..19b6d2544eb98ec173706cdd52697749cf2cfc10 100644 (file)
@@ -34,6 +34,7 @@ exitbug.s
 fixupbug.s
 funcrelocbug.s
 labelopbug.s
+longcall.s
 picreloc.s
 plabelbug.s
 reduce.s
diff --git a/gas/testsuite/gas/hppa/reloc/longcall.s b/gas/testsuite/gas/hppa/reloc/longcall.s
new file mode 100644 (file)
index 0000000..da62be7
--- /dev/null
@@ -0,0 +1,40 @@
+       .SPACE $PRIVATE$
+       .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
+       .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
+       .SPACE $TEXT$
+       .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
+       .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
+       .IMPORT $global$,DATA
+       .IMPORT $$dyncall,MILLICODE
+; gcc_compiled.:
+       .IMPORT bar,CODE
+       .SPACE $TEXT$
+       .SUBSPA $CODE$
+
+       .align 4
+       .EXPORT foo,CODE
+       .EXPORT foo,ENTRY,PRIV_LEV=3,RTNVAL=GR
+foo
+       .PROC
+       .CALLINFO FRAME=64,CALLS,SAVE_RP
+       .ENTRY
+       stw %r2,-20(0,%r30)
+       .CALL 
+       bl bar,%r2
+       ldo 64(%r30),%r30
+       .blockz 262144
+       ldw -84(0,%r30),%r2
+       bv 0(%r2)
+       ldo -64(%r30),%r30
+       .EXIT
+       .PROCEND
+       .align 4
+       .EXPORT bar,CODE
+       .EXPORT bar,ENTRY,PRIV_LEV=3,RTNVAL=GR
+bar
+       .PROC
+       .CALLINFO FRAME=0,NO_CALLS
+       .ENTRY
+       bv,n 0(%r2)
+       .EXIT
+       .PROCEND
This page took 0.025332 seconds and 4 git commands to generate.