|
| From: | cvs-commit at gcc dot gnu dot org |
| Subject: | [Bug ld/11218] --gc-sections does not detect unresolved symbol |
| Date: | 26 Jan 2010 13:22:01 -0000 |
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2010-01-26
13:22 -------
Subject: Bug 11218
CVSROOT: /cvs/src
Module name: src
Changes by: address@hidden 2010-01-26 13:21:36
Modified files:
bfd : ChangeLog elflink.c
ld/testsuite : ChangeLog
ld/testsuite/ld-gc: gc.exp
Added files:
ld/testsuite/ld-gc: dummy.s pr11218-1.c pr11218-2.c pr11218.d
Log message:
Properly check undefined symbols when gc_sections is active.
bfd/
2010-01-26 Alan Modra <address@hidden>
H.J. Lu <address@hidden>
PR ld/11218
* elflink.c (elf_link_output_extsym): Do not ignore undefined
symbols with ref_regular set when gc_sections is active.
ld/testsuite/
2010-01-26 H.J. Lu <address@hidden>
PR ld/11218
* ld-gc/dummy.s: New.
* ld-gc/pr11218-1.c: Likewise.
* ld-gc/pr11218-2.c: Likewise.
* ld-gc/pr11218.d: Likewise.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.4901&r2=1.4902
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elflink.c.diff?cvsroot=src&r1=1.366&r2=1.367
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1211&r2=1.1212
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-gc/dummy.s.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-gc/pr11218-1.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-gc/pr11218-2.c.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-gc/pr11218.d.diff?cvsroot=src&r1=NONE&r2=1.1
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-gc/gc.exp.diff?cvsroot=src&r1=1.8&r2=1.9
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11218
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
| [Prev in Thread] | Current Thread | [Next in Thread] |