This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src ld/ChangeLog ld/ldlang.c ld/testsuite/Chan ...
- From: nickc at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 3 Nov 2010 17:18:23 -0000
- Subject: src ld/ChangeLog ld/ldlang.c ld/testsuite/Chan ...
CVSROOT: /cvs/src
Module name: src
Changes by: nickc@sourceware.org 2010-11-03 17:18:23
Modified files:
ld : ChangeLog ldlang.c
ld/testsuite : ChangeLog
ld/testsuite/ld-scripts: default-script2.d
gold : ChangeLog archive.cc script.cc script.h
Log message:
PR ld/12001
* ldlang.c (ldlang_def_chain_list): New variable. Contains a list
of symbols defined via the --defsym command line option and
currently waiting assignment.
(insert_defined): Add a defined symbol to the symbol table.
(ldlang_add_def): Add a entry to the ldlang_def_chain_list.
(lang_place_defineds): Walk ldlang_def_chain_list defining the
symbols.
(lang_process): Call lang_place_defineds.
(lang_add_assignment): If the assignment has come from a --defsym
command line option then call lang_add_def.
* ld-script/default-script2.d: Fix expected address for text
section.
PR gold/12001
* script.h (class Symbol_assignment: name): New member. Returns
the name of the symbol.
* scrfipt.cc (Script_options::is_pending_assignment): New member.
Returns true if the given symbol name is on the list of
assignments wating to be processed.
* archive.cc (should_incldue_member): If the symbol is undefined,
check to see if it is on the list of symbols pending assignment.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2216&r2=1.2217
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/ldlang.c.diff?cvsroot=src&r1=1.345&r2=1.346
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ChangeLog.diff?cvsroot=src&r1=1.1319&r2=1.1320
http://sourceware.org/cgi-bin/cvsweb.cgi/src/ld/testsuite/ld-scripts/default-script2.d.diff?cvsroot=src&r1=1.3&r2=1.4
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/ChangeLog.diff?cvsroot=src&r1=1.663&r2=1.664
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/archive.cc.diff?cvsroot=src&r1=1.59&r2=1.60
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/script.cc.diff?cvsroot=src&r1=1.78&r2=1.79
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gold/script.h.diff?cvsroot=src&r1=1.34&r2=1.35