summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rom_header_gf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rom_header_gf.c b/src/rom_header_gf.c
index dc61fa1e3..5e78e3a93 100644
--- a/src/rom_header_gf.c
+++ b/src/rom_header_gf.c
@@ -83,7 +83,9 @@ struct GFRomHeader
u32 unk_1E;
};
-__attribute__((section(".text")))
+// This seems to need to be in the text section for some reason.
+// To avoid a changed section warning it's put in a special .text.consts section instead of .text.
+__attribute__((section(".text.consts")))
static const struct GFRomHeader sGFRomHeader = {
.version = GAME_VERSION,
.language = GAME_LANGUAGE,