-
-
Save jmechnich/5a31cf9c2ae8336109f48abd3e5488a0 to your computer and use it in GitHub Desktop.
Fixes avr-gcc@11 compilation for M1
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
--- a/gcc/config/avr/avr.c 2022-10-08 19:18:33.000000000 +0200 | |
+++ b/gcc/config/avr/avr.patched.c 2022-10-08 19:19:34.000000000 +0200 | |
@@ -10196,7 +10196,7 @@ | |
to track need of __do_copy_data. */ | |
static void | |
-avr_output_data_section_asm_op (const void *data) | |
+avr_output_data_section_asm_op (const char *data) | |
{ | |
avr_need_copy_data_p = true; | |
@@ -10209,7 +10209,7 @@ | |
to track need of __do_clear_bss. */ | |
static void | |
-avr_output_bss_section_asm_op (const void *data) | |
+avr_output_bss_section_asm_op (const char *data) | |
{ | |
avr_need_clear_bss_p = true; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment