You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gcc: Support Canadian cross builds on microblazeel
Picolibc uses the linker during the build process to construct crt0.o
files, but the microblazeel spec from gcc adds -dT xilinx.ld when no
-T argument is provided to introduce default linking
parameters. However, during a Canadian cross build, the xilinx.ld file
isn't installed before picolibc gets built causing the build to fail.
Fix this by making the presence of the xilinx.ld file optional; if it
isn't available, then don't use it. This took two checks as the spec
file conditionals can only insert a single argument and we need two,
the -dT and the full path to the script.
Signed-off-by: Keith Packard <[email protected]>
0 commit comments