Repository navigation
Automerge conflict: [Driver] Merge CSKY bare-metal toolchain into BareMetal (#240290) - #1148
Merged
Merged
Conversation
CSKYToolChain is only used for csky targets that are not Linux; csky-*-linux-* is already handled by the generic Linux toolchain. Fold the bare-metal handling into the BareMetal toolchain, as was done for RISCVToolChain, and remove CSKYToolChain. - Route csky in the default switch to BareMetal and add csky with an unknown OS to BareMetal::handlesTarget(). - Use the "cskyelf" linker emulation for non-Linux csky targets. - With a GCC installation, use libgcc/libstdc++ and no unwind library, do not warn about multilibs, and apply the selected multilib's OS suffix to the GCC install and sysroot library paths when the multilib set does not provide a file paths callback. - Add sysroot/include and sysroot/sys-include, link crti.o/crtn.o and -lnosys (or -lsemi with -msim) instead of -lgloss. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
This pull review modifies files outside of the |
statham-arm
approved these changes
Nov 30, 2026
statham-arm
left a comment
Contributor
There was a problem hiding this comment.
LGTM from the ATfE side. I redid the conflict fix my own way and diffed against your version, and they were byte-for-byte identical 🙂
amilendra
approved these changes
Nov 30, 2026
amilendra
left a comment
Contributor
There was a problem hiding this comment.
Baremetal specific code so won't affect the ATfL toolchain. If 2 ATfE engineers say LGTM then LGTM for us too. :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
CSKYToolChain is only used for csky targets that are not Linux;
csky--linux- is already handled by the generic Linux toolchain.
Fold the bare-metal handling into the BareMetal toolchain, as was
done for RISCVToolChain, and remove CSKYToolChain.
unknown OS to BareMetal::handlesTarget().
do not warn about multilibs, and apply the selected multilib's OS
suffix to the GCC install and sysroot library paths when the
multilib set does not provide a file paths callback.
-lnosys (or -lsemi with -msim) instead of -lgloss.
Co-authored-by: Claude Opus 5.5 noreply@anthropic.com
This upstream commit conflicts with one of the downstream patches maintained by ATfE. To resolve the conflict, I updated BareMetal.cpp to preserve both the upstream and downstream changes.
Downstream issue:#446