Skip to content

Conversation

alpsayin
Copy link

@alpsayin alpsayin commented Aug 5, 2025

whitespace is causing the intended output of -dT xilinx.ld%s to be split and takeninto if-exists-then-else as 2nd and 3rd arguments so LINK_SPEC emits -dT when xilinx.ld is found, and emits xilinx.ld when not found.

Testing:
I've sneakily pushed this patch into #58 to get a toolchain out and tested it with picolibc.

whitespace is causing the intended output of `-dT xilinx.ld%s` to be split
and takeninto if-exists-then-else as 2nd and 3rd arguments so LINK_SPEC
emits `-dT` when xilinx.ld is found, and emits xilinx.ld when not found.

Signed-off-by: Alp Sayin <alpsayin@gmail.com>
@alpsayin alpsayin self-assigned this Aug 5, 2025
@alpsayin alpsayin added the bug Something isn't working label Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants