aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-10-24 23:22:48 +0000
committerAlan Modra <amodra@gmail.com>2012-10-24 23:22:48 +0000
commitc38b9845081d90661870768d5ad004113d07c98b (patch)
tree04376bbedf0fa72e0f5ab8a57123d6eb624fc74c /ld/testsuite/ld-scripts
parent4902650971c5cbea1f8cb71b228b9e0002072d0d (diff)
downloadgdb-c38b9845081d90661870768d5ad004113d07c98b.zip
gdb-c38b9845081d90661870768d5ad004113d07c98b.tar.gz
gdb-c38b9845081d90661870768d5ad004113d07c98b.tar.bz2
* 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.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r--ld/testsuite/ld-scripts/empty-aligned.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-scripts/empty-aligned.d b/ld/testsuite/ld-scripts/empty-aligned.d
index 4a0c87c..d9916dd 100644
--- a/ld/testsuite/ld-scripts/empty-aligned.d
+++ b/ld/testsuite/ld-scripts/empty-aligned.d
@@ -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