Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elfloader: cast linker symbol to avoid warining #214

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

kent-mcleod
Copy link
Member

The _end symbol is declared as char[]. Newer compilers raise warnings about array out of bounds access here:
error: array subscript -1 is outside array bounds of ‘char[]’ [-Werror=array-bounds]

The _end symbol is declared as char[]. Newer compilers raise warnings
about array out of bounds access here:
error: array subscript -1 is outside array bounds of ‘char[]’ [-Werror=array-bounds]
@kent-mcleod kent-mcleod requested a review from Indanz February 10, 2025 23:25
@kent-mcleod kent-mcleod merged commit 0d12ec6 into seL4:master Feb 12, 2025
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants