summaryrefslogtreecommitdiffstats
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-10-19 03:19:51 +0000
committerAlan Modra <amodra@gmail.com>2000-10-19 03:19:51 +0000
commit73cd359e152bf263e52fb3745d87165b3ec6ecd6 (patch)
tree76407ec7af5c6c158bad169ea19402c5814cf16d /gas
parent476d4b9b978045c8b5aee82f7d7f65512f76340a (diff)
downloadppe42-binutils-73cd359e152bf263e52fb3745d87165b3ec6ecd6.tar.gz
ppe42-binutils-73cd359e152bf263e52fb3745d87165b3ec6ecd6.zip
Ensure section sizes are multiples of 16, so that targets like MIPS
that pad out sections won't fail these tests.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/elf/section0.d8
-rw-r--r--gas/testsuite/gas/elf/section0.s8
-rw-r--r--gas/testsuite/gas/elf/section1.d8
-rw-r--r--gas/testsuite/gas/elf/section1.s8
5 files changed, 22 insertions, 16 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index b33a39bf62..4c345bcf54 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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
diff --git a/gas/testsuite/gas/elf/section0.d b/gas/testsuite/gas/elf/section0.d
index c674a658c2..ff7df71de7 100644
--- a/gas/testsuite/gas/elf/section0.d
+++ b/gas/testsuite/gas/elf/section0.d
@@ -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.*
diff --git a/gas/testsuite/gas/elf/section0.s b/gas/testsuite/gas/elf/section0.s
index 022fbfeb81..18853e8744 100644
--- a/gas/testsuite/gas/elf/section0.s
+++ b/gas/testsuite/gas/elf/section0.s
@@ -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
diff --git a/gas/testsuite/gas/elf/section1.d b/gas/testsuite/gas/elf/section1.d
index de052f5330..3de235fb1e 100644
--- a/gas/testsuite/gas/elf/section1.d
+++ b/gas/testsuite/gas/elf/section1.d
@@ -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.*
diff --git a/gas/testsuite/gas/elf/section1.s b/gas/testsuite/gas/elf/section1.s
index 667e09c66b..776b3a5cfd 100644
--- a/gas/testsuite/gas/elf/section1.s
+++ b/gas/testsuite/gas/elf/section1.s
@@ -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
OpenPOWER on IntegriCloud