[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:25:14 -0000 |
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2009-11-05
06:25 -------
Subject: Bug 10880
CVSROOT: /cvs/src
Module name: src
Branch: binutils-2_20-branch
Changes by: address@hidden 2009-11-05 06:25:01
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&only_with_tag=binutils-2_20-branch&r1=1.281.2.9&r2=1.281.2.10
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/layout.cc.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.134.2.2&r2=1.134.2.3
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/object.h.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.78.2.1&r2=1.78.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gold/symtab.cc.diff?cvsroot=src&only_with_tag=binutils-2_20-branch&r1=1.121.2.1&r2=1.121.2.2
--
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.