Ensure section sizes are multiples of 16, so that targets like MIPS
that pad out sections won't fail these tests.
This commit is contained in:
parent
476d4b9b97
commit
73cd359e15
@ -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>
|
2000-10-18 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* gas/i386/intel.d: Fix the support for 64bit BFD in the last
|
* gas/i386/intel.d: Fix the support for 64bit BFD in the last
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
|
|
||||||
Contents of section .text:
|
Contents of section .text:
|
||||||
Contents of section .data:
|
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.
|
# The MIPS includes a 'section .reginfo' and such here.
|
||||||
#...
|
#...
|
||||||
Contents of section A:
|
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:
|
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:
|
Contents of section C:
|
||||||
0000 03 .
|
0+000 03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03.*
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
.data
|
.data
|
||||||
.byte 0
|
.byte 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||||
.section A
|
.section A
|
||||||
.byte 1
|
.byte 1,1,1,1,1,1,1,1,1,1,1,1,1,1
|
||||||
.pushsection B
|
.pushsection B
|
||||||
.byte 2
|
.byte 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
|
||||||
.pushsection C
|
.pushsection C
|
||||||
.byte 3
|
.byte 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
|
||||||
.popsection
|
.popsection
|
||||||
.byte 2
|
.byte 2
|
||||||
.popsection
|
.popsection
|
||||||
|
@ -5,12 +5,12 @@
|
|||||||
|
|
||||||
Contents of section .text:
|
Contents of section .text:
|
||||||
Contents of section .data:
|
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.
|
# The MIPS includes a 'section .reginfo' and such here.
|
||||||
#...
|
#...
|
||||||
Contents of section A:
|
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:
|
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:
|
Contents of section C:
|
||||||
0000 0303 ..
|
0+000 03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03 ?03.*
|
||||||
|
@ -1,19 +1,19 @@
|
|||||||
.data
|
.data
|
||||||
.byte 0
|
.byte 0,0,0,0,0,0,0,0,0,0,0,0,0,0
|
||||||
.section A
|
.section A
|
||||||
.byte 1
|
.byte 1,1,1,1,1,1,1,1,1,1,1
|
||||||
.previous
|
.previous
|
||||||
.byte 0
|
.byte 0
|
||||||
.previous
|
.previous
|
||||||
.byte 1
|
.byte 1
|
||||||
.pushsection B
|
.pushsection B
|
||||||
.byte 2
|
.byte 2,2,2,2,2,2,2,2,2,2,2,2
|
||||||
.previous
|
.previous
|
||||||
.byte 1
|
.byte 1
|
||||||
.previous
|
.previous
|
||||||
.byte 2
|
.byte 2
|
||||||
.pushsection C
|
.pushsection C
|
||||||
.byte 3
|
.byte 3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
|
||||||
.previous
|
.previous
|
||||||
.byte 2
|
.byte 2
|
||||||
.previous
|
.previous
|
||||||
|
Loading…
Reference in New Issue
Block a user