* gas/hppa/reloc/r_no_relocbug.s: New test.
authorJeff Law <law@redhat.com>
Tue, 13 Sep 1994 04:22:49 +0000 (04:22 +0000)
committerJeff Law <law@redhat.com>
Tue, 13 Sep 1994 04:22:49 +0000 (04:22 +0000)
* gas/hppa/reloc/reloc.exp: Run it.

* gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Update
expected output.

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

index 9db1287febe6acdcd3a2a8f0530ac822cb491d75..ef808acfb9eb8218ab3d0f1284da44b4c77a02e9 100644 (file)
@@ -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.
index f9d1479a21f3b413b6a53336857952bcaabecf3b..37396e038a443cb5d22090d5b92261663fe688ad 100644 (file)
@@ -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 (file)
index 0000000..026f2d0
--- /dev/null
@@ -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 (file)
index 0000000..026f2d0
--- /dev/null
@@ -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
+