On 9/19/26 01:59, Kees Cook wrote: > Add the linker counterpart to $(cc-option-str), sharing a $(ld-probe) > with $(ld-option) the way the compiler macros share $(cc-probe). Like > $(cc-option-str), it can now be used as: > > config LD_OPT_FOO > def_string "$(ld-option-str,--new-option,--old-option)" > > An omitted fallback expands to the empty string. > > Build tested ARCH=x86_64 defconfig with GCC 16.2.0, and checked against > GNU ld 2.47. > > Assisted-by: LLM > Signed-off-by: Kees Cook <[email protected]>
Tested-by: Julian Braha <[email protected]> Reviewed-by: Julian Braha <[email protected]>

