diff options
author | Jeff Law <law@redhat.com> | 1993-12-06 03:26:33 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1993-12-06 03:26:33 +0000 |
commit | 9fad66b50be95f8983682ff51c3357f062588176 (patch) | |
tree | e4bd1076dc48bec46e341ba187f554a2dbe3a49d /gas | |
parent | 4165dcc2394b47969f82f8b669aa3d6740345082 (diff) | |
download | gdb-9fad66b50be95f8983682ff51c3357f062588176.zip gdb-9fad66b50be95f8983682ff51c3357f062588176.tar.gz gdb-9fad66b50be95f8983682ff51c3357f062588176.tar.bz2 |
* gas/hppa/reloc/roundmode.s: New test.
* gas/hppa/reloc/reloc.exp: Run it. Fix typo in last change.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/reloc/.Sanitize | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/reloc/roundmode.s | 23 |
3 files changed, 34 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 8cb10cc..c03ed0d 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -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 diff --git a/gas/testsuite/gas/hppa/reloc/.Sanitize b/gas/testsuite/gas/hppa/reloc/.Sanitize index b4d9bb0..dc2b081 100644 --- a/gas/testsuite/gas/hppa/reloc/.Sanitize +++ b/gas/testsuite/gas/hppa/reloc/.Sanitize @@ -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 index 0000000..96a37ce --- /dev/null +++ b/gas/testsuite/gas/hppa/reloc/roundmode.s @@ -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 |