https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60939

--- Comment #8 from Zoltan Hidvegi <zoltan at hidvegi dot com> ---
How about using -bkeepfile: for all linked .o objects, that would create a very
similar semantics to other platforms, all .o objects are included, and only
objects that resolve undefined symbols would be included from .a files. This
would be a fix for the current bugreport, since it juse uses two .o files, and
one is collected away, but not completely, only in the first link pass, not in
the second link pass, due to the export file I guess. Certainly using -bexpall
is not a good idea.

Reply via email to