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

boot/startup: Fix .bss and .data initialization #3151

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

kasjer
Copy link
Contributor

@kasjer kasjer commented Mar 5, 2024

Wrong condition was used for bss clearing loop and for .data copying loop.

First 4 bytes of each region was not copied/zeroed.

Now condition is >= instead of >

Wrong condition was used for bss clearing loop and
for .data copying loop.

First 4 bytes of each region was not copied/zeroed.

Now condition is >= instead of >

Signed-off-by: Jerzy Kasenberg <[email protected]>
@kasjer kasjer requested a review from sjanc March 5, 2024 10:56
@kasjer kasjer merged commit 3464f41 into apache:master Mar 5, 2024
17 checks passed
@kasjer kasjer deleted the kasjer/boot-startup-fix branch March 5, 2024 11:40
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.

2 participants