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