aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2002-08-02 02:33:48 +0000
committerH.J. Lu <hjl.tools@gmail.com>2002-08-02 02:33:48 +0000
commitfd512f5c737a73747fd7c6017efb47c543d4c9f9 (patch)
tree807d1ed16f82fd69d3b423e050d46cddadcdc702 /gas/testsuite
parentba010b30d4cfbd55162d26eee02af8acab282f81 (diff)
downloadgdb-fd512f5c737a73747fd7c6017efb47c543d4c9f9.zip
gdb-fd512f5c737a73747fd7c6017efb47c543d4c9f9.tar.gz
gdb-fd512f5c737a73747fd7c6017efb47c543d4c9f9.tar.bz2
2002-08-01 H.J. Lu <hjl@gnu.org>
* gas/mips/elf-rel6.s: Add ".p2align 4". * gas/mips/elf-rel6.d: Check nop.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/mips/elf-rel6.d4
-rw-r--r--gas/testsuite/gas/mips/elf-rel6.s3
3 files changed, 12 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 8d211f7..8855862 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-01 H.J. Lu <hjl@gnu.org>
+
+ * gas/mips/elf-rel6.s: Add ".p2align 4".
+ * gas/mips/elf-rel6.d: Check nop.
+
2002-08-01 Richard Sandiford <rsandifo@redhat.com>
* gas/mips/elf-rel6.[sd]: New test.
diff --git a/gas/testsuite/gas/mips/elf-rel6.d b/gas/testsuite/gas/mips/elf-rel6.d
index 5baadf9..3ff37b2 100644
--- a/gas/testsuite/gas/mips/elf-rel6.d
+++ b/gas/testsuite/gas/mips/elf-rel6.d
@@ -8,3 +8,7 @@ Disassembly of section \.text:
0: R_MIPS16_GPREL bar
0+04 <.*> lb v0,1\(v1\)
4: R_MIPS16_GPREL bar
+0+08 <[^>]*> nop
+0+0a <[^>]*> nop
+0+0c <[^>]*> nop
+0+0e <[^>]*> nop
diff --git a/gas/testsuite/gas/mips/elf-rel6.s b/gas/testsuite/gas/mips/elf-rel6.s
index e0bc37a..6735d75 100644
--- a/gas/testsuite/gas/mips/elf-rel6.s
+++ b/gas/testsuite/gas/mips/elf-rel6.s
@@ -14,3 +14,6 @@ f:
lb $2,%gprel(bar)($3)
lb $2,%gprel(bar+1)($3)
.end f
+
+# align section end to 16-byte boundary for easier testing on multiple targets
+ .p2align 4