* gas/hppa/reloc/roundmode.s: New test.
authorJeff Law <law@redhat.com>
Mon, 6 Dec 1993 03:26:33 +0000 (03:26 +0000)
committerJeff Law <law@redhat.com>
Mon, 6 Dec 1993 03:26:33 +0000 (03:26 +0000)
        * gas/hppa/reloc/reloc.exp: Run it.  Fix typo in last change.

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

index 8cb10cc..c03ed0d 100644 (file)
@@ -1,3 +1,13 @@
+Sun Dec  5 19:24:57 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * gas/hppa/reloc/roundmode.s: New test.
+       * gas/hppa/reloc/reloc.exp: Run it.  Fix typo in last change.
+
+Wed Dec  1 10:44:18 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * gas/hppa/reloc/reloc.exp: Run the first half of bogus R_EXIT
+       test for ELF.  
+
 Tue Nov 30 13:43:21 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
 
        * gas/hppa/more.parse/parse.exp: Test for error on for subspace
index b4d9bb0..dc2b081 100644 (file)
@@ -34,6 +34,7 @@ labelopbug.s
 plabelbug.s
 reloc.exp
 relocreduce.s
+roundmode.s
 selectorbug.s
 
 Things-to-lose:
diff --git a/gas/testsuite/gas/hppa/reloc/roundmode.s b/gas/testsuite/gas/hppa/reloc/roundmode.s
new file mode 100644 (file)
index 0000000..96a37ce
--- /dev/null
@@ -0,0 +1,23 @@
+       .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
+
+       .SPACE $TEXT$
+       .SUBSPA $CODE$
+
+       .align 4
+       .IMPORT foo,data
+
+; Switch in/out of different rounding modes.
+; Also make sure we "optimize" away useless rounding mode relocations
+       addil   LR'foo-0x12345,%r27
+       ldo     RR'foo-0x12345(%r1),%r1
+       addil   L'foo-0x12345,%r27
+       ldo     R'foo-0x12345(%r1),%r1
+       addil   LS'foo-0x12345,%r27
+       ldo     RS'foo-0x12345(%r1),%r1
+       addil   LD'foo-0x12345,%r27
+       ldo     RD'foo-0x12345(%r1),%r1