More test case alignments.
authorNick Clifton <nickc@redhat.com>
Sun, 3 Dec 2000 20:57:19 +0000 (20:57 +0000)
committerNick Clifton <nickc@redhat.com>
Sun, 3 Dec 2000 20:57:19 +0000 (20:57 +0000)
gas/testsuite/ChangeLog
gas/testsuite/gas/mips/empic.d
gas/testsuite/gas/mips/empic.s
gas/testsuite/gas/mips/mips16-e.d
gas/testsuite/gas/mips/mips16-e.s
gas/testsuite/gas/mips/mips16-f.s

index 84d8ec6..deac159 100644 (file)
         * gas/mips/sync.d: Expect "..." at end of objdump output
         because of zero bytes at end of section.
 
+        * gas/mips/empic.d: Pad sections out to 16 bytes, to avoid
+        alignment issues so tests are useful on multiple targets.
+        * gas/mips/empic.s: Likewise.
+        * gas/mips/mips16-e.d: Likewise.
+        * gas/mips/mips16-e.s: Likewise.
+        * gas/mips/mips16-f.d: Likewise.
+        * gas/mips/mips16-f.s: Likewise.
+
 2000-12-01  Chris Demetriou  <cgd@sibyte.com>
 
         * gas/mips/mips16.d: Expect mips16 nops to be used for padding
index bf8c637..b64af18 100644 (file)
@@ -124,7 +124,7 @@ Contents of section \.text:
  00c0 00000000 00000034 00000000 10000032  .*
  00d0 10000033 24030034 2403003c 000000cc  .*
  00e0 00000034 00000000 00000000 000000cc  .*
- 00f0 00000000 00000034                    .*
+ 00f0 00000000 00000034 00000000 00000000  .*
 Contents of section \.data:
 Contents of section \.reginfo:
  0000 80000008 00000000 00000000 00000000  .*
@@ -148,4 +148,5 @@ Contents of section \.foo:
  00d0 00000000 00000004 00000000 00000104  .*
  00e0 00000000 00000008 00000000 000000e8  .*
  00f0 00000000 00000100 00000000 000000fc  .*
- 0100 00000000                             .*
+ 0100 00000000 00000000 00000000 00000000  .*
+
index 2f273df..5f37adf 100644 (file)
@@ -60,7 +60,10 @@ l5:
        nop
        .dword  2b              # R_MIPS_64     .text CC
        .dword  2b-l5           # R_MIPS_PC64   .text 98  or 34
-       
+
+# align section end to 16-byte boundary for easier testing on multiple targets
+       .p2align 4
+
        .section ".foo","ax",@progbits
        nop
 l4:    
@@ -109,3 +112,6 @@ l4:
 l1:
 
        nop
+
+# align section end to 16-byte boundary for easier testing on multiple targets
+       .p2align 4
index 1f23f68..084abc6 100644 (file)
@@ -29,7 +29,7 @@ OFFSET           TYPE              VALUE
 
 
 Contents of section \.text:
- 0000 65006500 65006500                    .*
+ 0000 65006500 65006500 65006500 65006500  .*
 Contents of section \.data:
 Contents of section \.reginfo:
  0000 00000001 00000000 00000000 00000000  .*
@@ -38,4 +38,4 @@ Contents of section \.mdebug:
 #...
 Contents of section foo:
  0000 00000000 00000008 00000000 00000003  .*
- 0010 00000000 00000008                    .*
+ 0010 00000000 00000008 00000000 00000000  .*
index b19d020..b7d96ab 100644 (file)
@@ -4,6 +4,10 @@
 l1:     nop
 1:      nop
         nop
+
+# align section end to 16-byte boundary for easier testing on multiple targets
+       .p2align 4
+
         .section "foo"
         .word   l1
         .word   l1+8
@@ -11,3 +15,6 @@ l1:     nop
         .word   1b+3
        .word   g1
        .word   g1+8
+
+# align section end to 16-byte boundary for easier testing on multiple targets
+       .p2align 4
index 0b254bd..80e9753 100644 (file)
@@ -2,5 +2,12 @@
         .text
         nop
 l1:     nop
+
+# align section end to 16-byte boundary for easier testing on multiple targets
+       .p2align 4
+
         .section "foo"
         .word   l1+3
+
+# align section end to 16-byte boundary for easier testing on multiple targets
+       .p2align 4