Ensure section sizes are multiples of 16, so that targets like MIPS
authorAlan Modra <amodra@gmail.com>
Thu, 19 Oct 2000 03:19:51 +0000 (03:19 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 19 Oct 2000 03:19:51 +0000 (03:19 +0000)
that pad out sections won't fail these tests.

gas/testsuite/ChangeLog
gas/testsuite/gas/elf/section0.d
gas/testsuite/gas/elf/section0.s
gas/testsuite/gas/elf/section1.d
gas/testsuite/gas/elf/section1.s

index b33a39bf62adab902f9a569de516eef48c489093..4c345bcf5451e8adc523245c7fafc1b6c24cf7c0 100644 (file)
@@ -1,3 +1,9 @@
+2000-10-19  Alan Modra  <alan@linuxcare.com.au>
+
+       * gas/elf/section0.s: Ensure section sizes are multiples of 16.
+       * gas/elf/section1.s: Likewise.
+       * gas/elf/section[01].d: Change to suit.
+
 2000-10-18  H.J. Lu <hjl@gnu.org>
 
        * gas/i386/intel.d: Fix the support for 64bit BFD in the last
index c674a658c246b76a00dcc4066075e837f7227d24..ff7df71de762a23af5d418b1995070ccd4db7338 100644 (file)
@@ -5,12 +5,12 @@
 
 Contents of section .text:
 Contents of section .data:
- 0000 0000                                 ..              
+ 0+000 00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00.*
 # The MIPS includes a 'section .reginfo' and such here.
 #...
 Contents of section A:
- 0000 010101                               ...             
+ 0+000 01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01.*
 Contents of section B:
- 0000 0202                                 ..              
+ 0+000 02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02.*
 Contents of section C:
- 0000 03                                   .               
+ 0+000 03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03.*
index 022fbfeb81dc9246bb7f3fc3eda327ae43fbb10d..18853e874456f3ea8e9af0bf83ff05dedb8b70ec 100644 (file)
@@ -1,11 +1,11 @@
  .data
-       .byte 0
+       .byte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
  .section A
-       .byte 1
+       .byte 1,1,1,1,1,1,1,1,1,1,1,1,1,1
  .pushsection B
-       .byte 2
+       .byte 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
  .pushsection C
-       .byte 3
+       .byte 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
  .popsection
        .byte 2
  .popsection
index de052f533069a60fc07e7b52079cf9132d9c2936..3de235fb1ef9e1bca3385eceae5f04af1d5dd541 100644 (file)
@@ -5,12 +5,12 @@
 
 Contents of section .text:
 Contents of section .data:
- 0000 000000                               ...             
+ 0+000 00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00 ?00.*
 # The MIPS includes a 'section .reginfo' and such here.
 #...
 Contents of section A:
- 0000 01010101 0101                        ......          
+ 0+000 01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01 ?01.*
 Contents of section B:
- 0000 02020202 02                          .....           
+ 0+000 02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02 ?02.*
 Contents of section C:
- 0000 0303                                 ..              
+ 0+000 03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03.*
index 667e09c66b3881d02662766dd6ec27187e8e1651..776b3a5cfd3b7162ca0d3a9e2583f5f6aaa30ae4 100644 (file)
@@ -1,19 +1,19 @@
  .data
-       .byte 0
+       .byte 0,0,0,0,0,0,0,0,0,0,0,0,0,0
  .section A
-       .byte 1
+       .byte 1,1,1,1,1,1,1,1,1,1,1
  .previous
        .byte 0
  .previous
        .byte 1
  .pushsection B
-       .byte 2
+       .byte 2,2,2,2,2,2,2,2,2,2,2,2
  .previous
        .byte 1
  .previous
        .byte 2
  .pushsection C
-       .byte 3
+       .byte 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
  .previous
        .byte 2
  .previous
This page took 0.028976 seconds and 4 git commands to generate.