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]

[gold commit] PR gold/20693: Fix bug where -u option with empty archive results in internal error


This patch fixes a bug where the -u option (or EXTERN statement in a
linker script) causes an internal error if the only input file is an
empty archive. Gold had logic to force the default target when there
is no input, but the logic came after we register the undefined
symbols.

-cary


2016-11-21  Cary Coutant  <ccoutant@gmail.com>

gold/
PR gold/20693
        * gold.cc (queue_middle_tasks): Force valid target earlier.

Attachment: pr20693.patch
Description: Binary data


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