[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/10880] --as-needed doesn't work
From: |
cvs-commit at gcc dot gnu dot org |
Subject: |
[Bug gold/10880] --as-needed doesn't work |
Date: |
5 Nov 2009 06:24:55 -0000 |
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-11-05
06:24 -------
Subject: Bug 10880
CVSROOT: /cvs/src
Module name: src
Changes by: address@hidden 2009-11-05 06:24:39
Modified files:
gold : ChangeLog layout.cc object.h symtab.cc
Log message:
PR 10880
* object.h (class Object): Add is_needed and set_is_needed
methods. Add is_needed_ field. Make bool fields into bitfields.
* symtab.cc (Symbol_table::set_dynsym_indexes): If a symbol is
defined in a dynamic object and referenced by a regular object,
set is_needed for the dynamic object.
* layout.cc (Layout::finish_dynamic_section): Don't add DT_NEEDED
if the file is marked with as_needed and it is not needed.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.345&r2=1.346
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/layout.cc.diff?cvsroot=src&r1=1.144&r2=1.145
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/object.h.diff?cvsroot=src&r1=1.84&r2=1.85
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/symtab.cc.diff?cvsroot=src&r1=1.127&r2=1.128
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10880
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gold/10880] --as-needed doesn't work,
cvs-commit at gcc dot gnu dot org <=