summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-i386
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2010-04-22 01:50:59 +0000
committerAlan Modra <amodra@bigpond.net.au>2010-04-22 01:50:59 +0000
commit794e7406828617e828ff50f0747396904ab246d2 (patch)
tree3568a608630f8d5c87eaa811f191e1f10c09dd1a /ld/testsuite/ld-i386
parentdd626eac6e64ef3f03072629f686bbf810ac018a (diff)
downloadbinutils-redhat-794e7406828617e828ff50f0747396904ab246d2.tar.gz
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/testsuite/ld-i386')
-rw-r--r--ld/testsuite/ld-i386/alloc.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-i386/alloc.d b/ld/testsuite/ld-i386/alloc.d
index c2b22f2e00..72d8e91343 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.*