[ATfE] Fix libc v7-R no-fpregs attribute build failure#720
Merged
voltur01 merged 1 commit intoarm:arm-softwarefrom Feb 9, 2026
Merged
[ATfE] Fix libc v7-R no-fpregs attribute build failure#720voltur01 merged 1 commit intoarm:arm-softwarefrom
voltur01 merged 1 commit intoarm:arm-softwarefrom
Conversation
After the customization handlers were added in arm@bc8a58b the optional no-fpregs attribute collided with the extern "C" declaration on the handler - this was fixed by creating an extern "C" block around it.
voltur01
added a commit
to voltur01/arm-toolchain
that referenced
this pull request
Feb 20, 2026
After the customization handlers were added in arm@bc8a58b the optional no-fpregs attribute collided with the extern "C" declaration on the handler - this was fixed by creating an extern "C" block around it.
voltur01
added a commit
that referenced
this pull request
Feb 20, 2026
This cherry-picks changes relevant to llvmlibc-support from current arm-software into the 22.x release branch: 12a4f2c [ATfE] Document _platform_debug_putc() (#723) 75faad2 [ATfE] Support command line options in LLVM libc (#705) 2ae2b6c [ATfE] Fix libc v7-R no-fpregs attribute build failure (#720) bc8a58b [ATfE] Provide LLVM libc handlers for hardware and runtime setup (#706) 852e751 [ATfE] Provide debug output handler in LLVM libc crt0 9be5d72 (origin/add_unhosted_exit, add_unhosted_exit) Simplified implementation of exit to avoid issues with privileged assembly instructions 983f37c [ATfE] Provide nohost init and exit in llvmlibc startup code 6859f67 [ATfE] Replace call to abort with __llvm_libc_exit in libc startup code (#678) a284205 (origin/update_exit_comment, update_exit_comment) [ATfE] Update comment about handling cleanup for exit() fb865b8 (origin/remove_abort_redefinition, remove_abort_redefinition) [ATfE] Replace call to abort with __llvm_libc_exit in libc startup code 28c43df (origin/use_sys_readc_for_stdin) Merge branch 'arm-software' into use_sys_readc_for_stdin 53e062f (use_sys_readc_for_stdin) Added a comment with rationale and TODO bbf19b6 (origin/add_semihosting_abort, add_semihosting_abort) Mark internal semihosting function as static 52d1d90 Provide semihosting_call_exit() and add TODO for exit() 99c608d Replace exit() with direct call to __llvm_libc_exit() 07fe14b [ATfE] Use semihosting SYS_READC for stdin with llvm libc ab08655 [ATfE] Redirect libc abort() to semihosting exit()
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.
After the customization handlers were added in bc8a58b the optional no-fpregs attribute collided with the extern "C" declaration on the handler - this was fixed by creating an extern "C" block around it.