Skip to content

Commit 24f5500

Browse files
Merge master and fix eboot build
GCC10 now uses `-fno-common` so the eboot global variables were being placed in IRAM. Adjust the makefile and rebuild to fix.
1 parent 70ec21a commit 24f5500

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

bootloaders/eboot/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ INC += -I../../tools/sdk/include -I../../tools/sdk/uzlib/src
2323

2424
CFLAGS += -std=gnu99
2525

26-
CFLAGS += -Os -g -Wall -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mno-text-section-literals -ffunction-sections -fdata-sections
26+
CFLAGS += -Os -fcommon -g -Wall -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mno-text-section-literals -ffunction-sections -fdata-sections
2727

2828
CFLAGS += $(INC)
2929

bootloaders/eboot/eboot.elf

-8.53 KB
Binary file not shown.

0 commit comments

Comments
 (0)