diff options
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-jalx.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips-jalx.s | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips16-jalx.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/mips/mips16-jalx.s | 3 |
5 files changed, 21 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 70db49d..dc976ab 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,11 @@ +2002-09-27 H.J. Lu <hjl@gnu.org> + + * gas/mips/mips-jalx.s: Add ".p2align 4". + * gas/mips/mips16-jalx.s: Likewise. + + * gas/mips/mips-jalx.d: Check nop. + * gas/mips/mips16-jalx.d: Likewise. + 2002-09-26 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> * gas/mips/mips-jalx.d: New file, check jalx assembly. diff --git a/gas/testsuite/gas/mips/mips-jalx.d b/gas/testsuite/gas/mips/mips-jalx.d index 38badd6..04174e3 100644 --- a/gas/testsuite/gas/mips/mips-jalx.d +++ b/gas/testsuite/gas/mips/mips-jalx.d @@ -1,4 +1,4 @@ -#objdump: -dr -mmips:4000 +#objdump: -dr -z -mmips:4000 #as: -mips3 -mtune=r4000 -mips16 #name: mips jalx .*: file format .* @@ -7,3 +7,5 @@ Disassembly of section .text: 0: 74000000 jalx 0x0 0: R_MIPS_26 external_label 4: 00000000 nop + 8: 00000000 nop + c: 00000000 nop diff --git a/gas/testsuite/gas/mips/mips-jalx.s b/gas/testsuite/gas/mips/mips-jalx.s index 84cbafd..71bf961 100644 --- a/gas/testsuite/gas/mips/mips-jalx.s +++ b/gas/testsuite/gas/mips/mips-jalx.s @@ -1,3 +1,6 @@ # Test the generation of jalx opcodes .set nomips16 jalx external_label + +# align section end to 16-byte boundary for easier testing on multiple targets + .p2align 4 diff --git a/gas/testsuite/gas/mips/mips16-jalx.d b/gas/testsuite/gas/mips/mips16-jalx.d index cb1cfac..eeec2cb 100644 --- a/gas/testsuite/gas/mips/mips16-jalx.d +++ b/gas/testsuite/gas/mips/mips16-jalx.d @@ -8,3 +8,7 @@ Disassembly of section .text: 0: R_MIPS16_26 external_label 4: 6500 nop 6: 6500 nop + 8: 6500 nop + a: 6500 nop + c: 6500 nop + e: 6500 nop diff --git a/gas/testsuite/gas/mips/mips16-jalx.s b/gas/testsuite/gas/mips/mips16-jalx.s index 3665df6..5925a6a 100644 --- a/gas/testsuite/gas/mips/mips16-jalx.s +++ b/gas/testsuite/gas/mips/mips16-jalx.s @@ -1,2 +1,5 @@ # Test the generation of jalx opcodes jalx external_label + +# align section end to 16-byte boundary for easier testing on multiple targets + .p2align 4 |