aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2012-02-13 18:08:51 +0000
committerRichard Henderson <rth@redhat.com>2012-02-13 18:08:51 +0000
commite1741a1ed122cb64e0d4fb6aa936574763de0d4c (patch)
treea5ceec8ce44d58c2d3bac7212b9810d9c5d8f8c9 /ld/testsuite
parentcec7aa6aca5ff815b52fbd29b99bfe191a6abf7b (diff)
downloadgdb-e1741a1ed122cb64e0d4fb6aa936574763de0d4c.zip
gdb-e1741a1ed122cb64e0d4fb6aa936574763de0d4c.tar.gz
gdb-e1741a1ed122cb64e0d4fb6aa936574763de0d4c.tar.bz2
PR ld/13621
bfd/ * linker.c (fix_syms): Force symbols outside any section into bfd_abs_section_ptr. ld/testsuite/ * ld-elf/warn2.d: Expect ABS section for Foo. * ld-elf/zerosize1.d, zerosize1.s: New test.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog6
-rw-r--r--ld/testsuite/ld-elf/warn2.d2
2 files changed, 7 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index f1c82a0..f118153 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2012-02-13 Richard Henderson <rth@redhat.com>
+
+ PR ld/13621
+ * ld-elf/warn2.d: Expect ABS section for Foo.
+ * ld-elf/zerosize1.d, zerosize1.s: New test.
+
2012-02-13 Alan Modra <amodra@gmail.com>
* ld-m68hc11/m68hc11.exp: Run for m68hc11-*-* and m68hc12-*-*.
diff --git a/ld/testsuite/ld-elf/warn2.d b/ld/testsuite/ld-elf/warn2.d
index 95b7ef4..a9c05f9 100644
--- a/ld/testsuite/ld-elf/warn2.d
+++ b/ld/testsuite/ld-elf/warn2.d
@@ -13,5 +13,5 @@
# construct and that the symbol still appears as expected.
#...
- +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +[1-9] Foo
+ +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +ABS Foo
#pass