Created
January 8, 2020 00:01
-
-
Save pftbest/1e2a0d25fa73802eb0fdc1d661f6f22a to your computer and use it in GitHub Desktop.
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/asm.s b/asm.s | |
index 50a3fa5..0daa1d8 100644 | |
--- a/asm.s | |
+++ b/asm.s | |
@@ -1,6 +1,6 @@ | |
# LLD requires that the section flags are explicitly set here | |
.section .HardFaultTrampoline, "ax" | |
- .global HardFaultTrampoline | |
+ .weak HardFaultTrampoline | |
# .type and .thumb_func are both required; otherwise its Thumb bit does not | |
# get set and an invalid vector table is generated | |
.type HardFaultTrampoline,%function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment