From: Jeff Law Date: Mon, 17 Oct 1994 08:45:18 +0000 (+0000) Subject: * gas/hppa/reloc/reduce3.s: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea315e99d6b17788e8a2956c2c0a3a4f075f72ba;p=binutils-gdb.git * gas/hppa/reloc/reduce3.s: New test. * gas/hppa/reloc/reloc.exp: run it. --- diff --git a/gas/testsuite/gas/hppa/reloc/.Sanitize b/gas/testsuite/gas/hppa/reloc/.Sanitize index 1c11f7f5a7a..e4f8c963d45 100644 --- a/gas/testsuite/gas/hppa/reloc/.Sanitize +++ b/gas/testsuite/gas/hppa/reloc/.Sanitize @@ -35,6 +35,7 @@ labelopbug.s plabelbug.s reduce.s reduce2.s +reduce3.s reloc.exp r_no_reloc.s roundmode.s diff --git a/gas/testsuite/gas/hppa/reloc/reduce3.s b/gas/testsuite/gas/hppa/reloc/reduce3.s new file mode 100644 index 00000000000..338f7306b20 --- /dev/null +++ b/gas/testsuite/gas/hppa/reloc/reduce3.s @@ -0,0 +1,51 @@ + .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.: + .EXPORT blah,DATA + .SPACE $PRIVATE$ + .SUBSPA $DATA$ + + .align 8 +blah + ; .double 0e+00 + .word 0 ; = 0x0 + .word 0 ; = 0x0 + .EXPORT foo,DATA + .align 8 +foo + ; .double 0e+00 + .word 0 ; = 0x0 + .word 0 ; = 0x0 + .EXPORT yabba,DATA + .align 4 +yabba + .word 1 + .SPACE $TEXT$ + .SUBSPA $CODE$ + + .align 4 + .EXPORT bar,CODE + .EXPORT bar,ENTRY,PRIV_LEV=3,RTNVAL=GR +bar + .PROC + .CALLINFO FRAME=64,NO_CALLS,SAVE_SP,ENTRY_GR=3 + .ENTRY + copy %r3,%r1 + copy %r30,%r3 + stwm %r1,64(0,%r30) + addil L'yabba-$global$,%r27 + ldo R'yabba-$global$(%r1),%r19 + ldi 2,%r20 + stw %r20,0(0,%r19) +L$0001 + ldo 64(%r3),%r30 + ldwm -64(0,%r30),%r3 + bv,n 0(%r2) + .EXIT + .PROCEND