[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/25806] [ld] Search for input files relative to the current linke
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/25806] [ld] Search for input files relative to the current linker script |
Date: |
Thu, 09 Apr 2020 10:20:54 +0000 |
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.
- [Bug ld/25806] New: [ld] Search for input files relative to the current linker script, i at maskray dot me, 2020/04/09
- [Bug ld/25806] [ld] Search for input files relative to the current linker script, i at maskray dot me, 2020/04/09
- [Bug ld/25806] [ld] Search for input files relative to the current linker script, i at maskray dot me, 2020/04/09
- [Bug ld/25806] [ld] Search for input files relative to the current linker script,
nickc at redhat dot com <=
- [Bug ld/25806] [ld] Search for input files relative to the current linker script, i at maskray dot me, 2020/04/09
- [Bug ld/25806] [ld] Search for input files relative to the current linker script, i at maskray dot me, 2020/04/20
- [Bug ld/25806] [ld] Search for input files relative to the current linker script, cvs-commit at gcc dot gnu.org, 2020/04/22
- [Bug ld/25806] [ld] Search for input files relative to the current linker script, nickc at redhat dot com, 2020/04/22