https://sourceware.org/bugzilla/show_bug.cgi?id=25806
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |nickc at redhat dot com
--- Comment #2 from Nick Clifton <nickc at redhat dot com> ---
Hi Fangrui,
> gold a.o p/libm.a
>
> gold can find p/libm.a.1 even if -L p is not specified.
A couple of questions:
1. Does the extra search path persist beyond the end of the linker
script ? For example, using your sample script:
% ld p/libm.a foo.o
Should the linker load p/foo.o ? (If it exists, of course).
2. Is this feature restricted to libraries, or should it also affect
object files ? For example:
% cat p/libm.a
INPUT(libm.a.1)
INPUT(foo.o)
% ld p/libm.a
Is this expected to load p/foo.o ?
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.