Created
October 21, 2023 08:17
-
-
Save eblot/7cf3590518167f37e6cb7ff0cb801d04 to your computer and use it in GitHub Desktop.
Fix libgloss build for ARMv6m
This file contains 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
diff --git a/libgloss/arm/crt0.S b/libgloss/arm/crt0.S | |
index 8490bde..bde5f98 100644 | |
--- a/libgloss/arm/crt0.S | |
+++ b/libgloss/arm/crt0.S | |
@@ -565,7 +565,7 @@ change_back: | |
/* For Thumb, constants must be after the code since only | |
positive offsets are supported for PC relative addresses. */ | |
- .align 0 | |
+ .align 2 | |
.LC0: | |
#ifdef ARM_RDI_MONITOR | |
.word HeapBase |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment