aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-04-22 01:51:01 +0000
committerAlan Modra <amodra@gmail.com>2010-04-22 01:51:01 +0000
commit3ac9b6c910daef1a01271f14f137862eb570a420 (patch)
tree54b8906d42c7952bf6633c65cf5dcf728b4203a2 /ld
parente96d56a1c8ae442971a1cedc3128fd0d822a3f77 (diff)
downloadgdb-3ac9b6c910daef1a01271f14f137862eb570a420.zip
gdb-3ac9b6c910daef1a01271f14f137862eb570a420.tar.gz
gdb-3ac9b6c910daef1a01271f14f137862eb570a420.tar.bz2
bfd/
* elf.c (assign_file_positions_for_load_sections): Revert 2008-05-29 change. Tidy. Don't error on sections not allocated in segment. ld/testsuite/ * ld-elf/extract-symbol-1sec.d: Update lma. * ld-i386/alloc.d: Expect a warning, not an error.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-elf/extract-symbol-1sec.d2
-rw-r--r--ld/testsuite/ld-i386/alloc.d2
3 files changed, 7 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 3556c5b..2239cf6 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-22 Alan Modra <amodra@gmail.com>
+
+ * ld-elf/extract-symbol-1sec.d: Update lma.
+ * ld-i386/alloc.d: Expect a warning, not an error.
+
2010-04-20 Joseph Myers <joseph@codesourcery.com>
* ld-tic6x/data-reloc-global-rel.d,
diff --git a/ld/testsuite/ld-elf/extract-symbol-1sec.d b/ld/testsuite/ld-elf/extract-symbol-1sec.d
index 8dac15b..57a5662 100644
--- a/ld/testsuite/ld-elf/extract-symbol-1sec.d
+++ b/ld/testsuite/ld-elf/extract-symbol-1sec.d
@@ -8,7 +8,7 @@
#...
Sections:
*Idx +Name +Size +VMA +LMA .*
- *0 +\.foo +0+ +0+10000 +0+ .*
+ *0 +\.foo +0+ +0+10000 +0+10000 .*
*CONTENTS, ALLOC, LOAD, CODE
*1 +\.bar +0+ +0+20000 +0+10000 .*
*ALLOC, READONLY, CODE
diff --git a/ld/testsuite/ld-i386/alloc.d b/ld/testsuite/ld-i386/alloc.d
index c2b22f2..72d8e91 100644
--- a/ld/testsuite/ld-i386/alloc.d
+++ b/ld/testsuite/ld-i386/alloc.d
@@ -1,4 +1,4 @@
#name: Invalid allocated section
#as: --32
#ld: -melf_i386 -T alloc.t
-#error: .*section `.foo' can't be allocated in segment 0.*
+#warning: .*section `.foo' can't be allocated in segment 0.*