bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/18698] internal error in target, at ../../binutils/gold/parame


From: ccoutant at gmail dot com
Subject: [Bug gold/18698] internal error in target, at ../../binutils/gold/parameters.h:105
Date: Tue, 21 Jul 2015 16:05:05 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18698

Cary Coutant <ccoutant at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ccoutant at gmail dot com

--- Comment #1 from Cary Coutant <ccoutant at gmail dot com> ---
> Where is the proper place for initialization?

gold doesn't set the target until it sees its first object file. In the case of
an archive library as the first parameter, we have no way of knowing what the
default entry point should be (because the entry point symbol is target
specific).

Parameters::entry() should first check that target has been set, and if not,
simply return NULL.

Library_base::should_include_member() should check for NULL, and either skip
the check for the entry symbol, or print a warning that the -e option should be
used when there is no startup file.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]