[PATCH] picolibc: Use %:find-file for both test and access to picolibc.ld
Jeffrey Law
jeffrey.law@oss.qualcomm.com
Sat Jan 31 13:59:17 GMT 2026
On 1/22/2026 5:34 PM, Keith Packard wrote:
> If the gcc driver and linker don't agree on what the search path for
> linker scripts is, then the driver may discover a file that
> the linker won't end up using. This results in linking failures
> when applications don't specific an explicit linker script.
>
> Fix this by duplicating the call to %:find-file for both
> test and in the parameter passed to the linker.
>
> Signed-off-by: Keith Packard <keithp@keithp.com>
We're in stage4 of our development cycle, so in theory what should be
going in is regression, doc and testsuite fixes. We do generally allow
some leeway for secondary ports. This is clearly isolated to picolibc
and I think we can safely make an exception here.
I don't really have a way to test this right now, so I'm going to assume
the change is correct for picolibc and install it.
Thanks,
Jeff
More information about the Gcc-patches
mailing list