Adapt picolibc support from upstream gcc#66
Open
keith-packard wants to merge 3 commits intozephyrproject-rtos:zephyr-gcc-14.3.0from
Open
Adapt picolibc support from upstream gcc#66keith-packard wants to merge 3 commits intozephyrproject-rtos:zephyr-gcc-14.3.0from
keith-packard wants to merge 3 commits intozephyrproject-rtos:zephyr-gcc-14.3.0from
Conversation
Devices without a barrel shifter end up using a sequence of instructions. These can use the condition codes and/or loop count register, so those need to be marked as 'clobbered'. Signed-off-by: Keith Packard <keithp@keithp.com>
This uses --with-picolibc instead of the more complicated --with-default-libc=picolibc and isolates the changes to a single new chunk of config logic. Signed-off-by: Keith Packard <keithp@keithp.com>
Provide a way for spec fragments to detect which language specific driver is in use. This allows for language-specific functionality to be included during linking, like unwind constructors for C++ exception handling. Signed-off-by: Keith Packard <keithp@keithp.com>
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.
The GCC project accepted picolibc support for the upcoming version 16 release. That uses --with-picolibc instead of the --with-default-libc=picolibc form used by the Zephyr patches.
This series adapts the upstream form along with another pending patch which makes linking C++ applications include the necessary exception bits.