From: Jeff Law Date: Tue, 13 Sep 1994 04:22:49 +0000 (+0000) Subject: * gas/hppa/reloc/r_no_relocbug.s: New test. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7e9825f0b7e91c329a8cc5d078322e6eb4bf573a;p=binutils-gdb.git * gas/hppa/reloc/r_no_relocbug.s: New test. * gas/hppa/reloc/reloc.exp: Run it. * gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Update expected output. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 9db1287febe..ef808acfb9e 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,11 @@ +Mon Sep 12 22:19:11 1994 Jeff Law (law@snake.cs.utah.edu) + + * gas/hppa/reloc/r_no_relocbug.s: New test. + * gas/hppa/reloc/reloc.exp: Run it. + + * gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Update + expected output. + Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org) * gas/arm/*: New subtree. Add ARM tests. diff --git a/gas/testsuite/gas/hppa/reloc/.Sanitize b/gas/testsuite/gas/hppa/reloc/.Sanitize index f9d1479a21f..37396e038a4 100644 --- a/gas/testsuite/gas/hppa/reloc/.Sanitize +++ b/gas/testsuite/gas/hppa/reloc/.Sanitize @@ -36,6 +36,7 @@ plabelbug.s reloc.exp relocreduce.s relocreduce2.s +r_no_relocbug.s roundmode.s selectorbug.s diff --git a/gas/testsuite/gas/hppa/reloc/r_no_reloc.s b/gas/testsuite/gas/hppa/reloc/r_no_reloc.s new file mode 100644 index 00000000000..026f2d08230 --- /dev/null +++ b/gas/testsuite/gas/hppa/reloc/r_no_reloc.s @@ -0,0 +1,45 @@ + .COPYRIGHT "MetaWare Incorporated, 1992" + .VERSION "hc2.6a -O1 t3.c\n" + + .SPACE $PRIVATE$,SORT=16 + .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=0x1F,SORT=80,ZERO + .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=0x1F,SORT=16 + + .SPACE $TEXT$,SORT=8 + .SUBSPA $CODE$,QUAD=0,ALIGN=4,ACCESS=44,CODE_ONLY,SORT=24 + + .SPACE $PRIVATE$ + .SUBSPA $DATA$ + .ALIGN 8 +$L00DATA + .ALIGN 8 + .EXPORT s +s + .WORD 0x0 + .BLOCKZ 786425 + .BLOCKZ 7 + + .SPACE $TEXT$ + .SUBSPA $CODE$ +L$001.3 +g .PROC + .CALLINFO FRAME=0,NO_CALLS + .ENTRY + ;ldo 120(%r0),%r28 --> to delay slot + bv %r0(%r2) + .EXIT + ldo 120(%r0),%r28 + .PROCEND + + + .SPACE $PRIVATE$ + .SUBSPA $DATA$ + .ALIGN 4 + .EXPORT l +l + .WORD P'g + .IMPORT common,DATA ; common section, size=0 + .IMPORT $global$,DATA + .EXPORT g,ENTRY,PRIV_LEV=3,RTNVAL=GR + .END + diff --git a/gas/testsuite/gas/hppa/reloc/r_no_relocbug.s b/gas/testsuite/gas/hppa/reloc/r_no_relocbug.s new file mode 100644 index 00000000000..026f2d08230 --- /dev/null +++ b/gas/testsuite/gas/hppa/reloc/r_no_relocbug.s @@ -0,0 +1,45 @@ + .COPYRIGHT "MetaWare Incorporated, 1992" + .VERSION "hc2.6a -O1 t3.c\n" + + .SPACE $PRIVATE$,SORT=16 + .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=0x1F,SORT=80,ZERO + .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=0x1F,SORT=16 + + .SPACE $TEXT$,SORT=8 + .SUBSPA $CODE$,QUAD=0,ALIGN=4,ACCESS=44,CODE_ONLY,SORT=24 + + .SPACE $PRIVATE$ + .SUBSPA $DATA$ + .ALIGN 8 +$L00DATA + .ALIGN 8 + .EXPORT s +s + .WORD 0x0 + .BLOCKZ 786425 + .BLOCKZ 7 + + .SPACE $TEXT$ + .SUBSPA $CODE$ +L$001.3 +g .PROC + .CALLINFO FRAME=0,NO_CALLS + .ENTRY + ;ldo 120(%r0),%r28 --> to delay slot + bv %r0(%r2) + .EXIT + ldo 120(%r0),%r28 + .PROCEND + + + .SPACE $PRIVATE$ + .SUBSPA $DATA$ + .ALIGN 4 + .EXPORT l +l + .WORD P'g + .IMPORT common,DATA ; common section, size=0 + .IMPORT $global$,DATA + .EXPORT g,ENTRY,PRIV_LEV=3,RTNVAL=GR + .END +