* gas/hppa/reloc/roundmode.s: New test.

* gas/hppa/reloc/reloc.exp: Run it.  Fix typo in last change.
This commit is contained in:
Jeff Law 1993-12-06 03:26:33 +00:00
parent 4165dcc239
commit 9fad66b50b
3 changed files with 34 additions and 0 deletions

View 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

View File

@ -34,6 +34,7 @@ labelopbug.s
plabelbug.s
reloc.exp
relocreduce.s
roundmode.s
selectorbug.s
Things-to-lose:

View File

@ -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