bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/29819] ld testsuite of --version-script relies on -L optio


From: mliska at suse dot cz
Subject: [Bug binutils/29819] ld testsuite of --version-script relies on -L option
Date: Thu, 01 Dec 2022 15:10:20 +0000

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

--- Comment #2 from Martin Liska <mliska at suse dot cz> ---
(In reply to Nick Clifton from comment #1)
> Hi Martin,
> 
> > Is it something documented or specified?
> 
> Yes, although it is not obvious/highlighted.  The linker documentation for
> the -L option states:
> 
>   "Add path searchdir to the list of paths that ld will search for 
>   archive libraries and ld control scripts."

Thank you Nick!

> A version script does count as a control script in this case, so the -L
> option does affect searches for them.

That means my example in comment 0 should fail because 'aaa.map' is in 'aaa'
folder (sorry for the bad names) as -Laaa should be ignored when
--version-script=aaa.map is searched. Or do I miss something?

-- 
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]