* ld-scripts/empty-aligned.d: Revert last change. Allow more

than one header, just not two PT_LOAD.
	* ld-elf/stack.s: Use .long 0 rather than nops.
This commit is contained in:
Alan Modra
2012-10-24 23:22:48 +00:00
parent 4902650971
commit c38b984508
3 changed files with 10 additions and 8 deletions

View File

@ -1,3 +1,9 @@
2012-10-25 Nathan Sidwell <nathan@codesourcery.com>
* ld-scripts/empty-aligned.d: Revert last change. Allow more
than one header, just not two PT_LOAD.
* ld-elf/stack.s: Use .long 0 rather than nops.
2012-10-23 Nathan Sidwell <nathan@codesourcery.com>
* ld-elf/binutils.exp: Add -z stack-size=0.

View File

@ -3,8 +3,4 @@
.globl _start
start:
_start:
nop
nop
nop
nop
.long 0

View File

@ -1,5 +1,5 @@
#source: empty-aligned.s
#ld: -T empty-aligned.t -z stack-size=0
#ld: -T empty-aligned.t
#readelf: -l --wide
#xfail: "hppa64-*-*"
#notarget: frv-*-*linux*
@ -8,7 +8,7 @@
Program Headers:
+Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg +Align
+LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ [RWE ]+ +0x[0-9a-f]+
Section to Segment mapping:
! +LOAD .*
#...
+Segment Sections\.\.\.
+00 +.text