This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][GOLD] Fix OSX build breakage.


Hi Ian,

    This fixes a problem seen by Cary in which an undefined symbol in
incremental.o broke gold on OSX.  The hash function was used in the ++
operator of an iterator in incremental.cc but the function was defined
as an inline function inside symtab.cc.  I moved the inline defintion
to symtab.h so that it is visible to incremental.cc.   I tested it on
Linux natively and as an ARM cross-linker on OSX.

-Doug

2010-10-02  Doug Kwan  <dougkwan@google.com>

	* symtab.cc (Symbol_table::Symbol_table_hash::operator()): Move
	defintion to symtab.h
	* symtab.h (Symbol_table::Symbol_table_hash::operator()): Change
	declaration to defintion.

Attachment: patch-symhash.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]