]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2002-09-27 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 27 Sep 2002 14:53:16 +0000 (14:53 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 27 Sep 2002 14:53:16 +0000 (14:53 +0000)
* 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.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/mips-jalx.d
gas/testsuite/gas/mips/mips-jalx.s
gas/testsuite/gas/mips/mips16-jalx.d
gas/testsuite/gas/mips/mips16-jalx.s

index 70db49da9ac3a807c5423783a5d5c86462373a4a..dc976ab93bd4d68a1f9d37be74ecc1916e407f6d 100644 (file)
@@ -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.
index 38badd6ca65d8c6b114202b78905a32239c34c5f..04174e39cf63a280588d8f96e8fff85be560cb78 100644 (file)
@@ -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
index 84cbafd17e385772499ea6770dfd9c40d6f7f7ca..71bf96105e7bfe3977b266c23359d4d3ea647686 100644 (file)
@@ -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
index cb1cfac3563bcdf7d050d33ddfa385a67b4c3af4..eeec2cb3a39b73cc99fe07e731239d0a3f92e3df 100644 (file)
@@ -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
index 3665df6f316a1a9fae49749642dd318154a44a46..5925a6aaa97a7dc06bd33cd0872fd3aa8eddc412 100644 (file)
@@ -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