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] Make --start-lib/--end-lib block on previous add symbols tasks


This patch fixes a problem where when using --start-lib/--end-lib the
linker would report that certain symbols could not be found.  The
problem was that the add symbols task for a group of object files
surrounded by --start-lib/--end-lib was not appropriately waiting for
previous add symbols tasks.  This patch uses an Unblock_token to
properly serialize the execution.

OK to apply?  Tested on x86_64 Linux.

ChangeLog:

        gold/
        * readsyms.cc (Read_symbols::do_lib_group): Block
add_lib_group_symbols on this->this_blocker.

-- 
Neil Vachharajani
Google
650-214-1804

Attachment: gold_start_end_lib_patch.txt
Description: Text document


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