summaryrefslogtreecommitdiff
path: root/src/d/d_error_msg.cpp
diff options
context:
space:
mode:
authorJulgodis <>2021-04-07 09:16:47 +0200
committerJulgodis <>2021-04-07 09:16:47 +0200
commitdca1d2a1c032f239c65aa1b7767132c12e89f628 (patch)
tree103f2574cfa7c6b9f19df522447d0b58861b60ba /src/d/d_error_msg.cpp
parented1ee30dd20ab15ba73b987f1e59b0dfc16d09b2 (diff)
detect more floats/doubles, including from relocations
Diffstat (limited to 'src/d/d_error_msg.cpp')
-rw-r--r--src/d/d_error_msg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/d/d_error_msg.cpp b/src/d/d_error_msg.cpp
index 05aecd46a0..e8c6b8939f 100644
--- a/src/d/d_error_msg.cpp
+++ b/src/d/d_error_msg.cpp
@@ -176,7 +176,7 @@ SECTION_RODATA static u8 const black_tex[64] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
-SECTION_DEAD void* const cg_8037B140 = (void*)(&black_tex);
+COMPILER_STRIP_GATE(8037B140, &black_tex);
/* 8037B180-8037B3E0 0077E0 0260+00 1/1 0/0 0/0 .rodata msg_data */
SECTION_RODATA static u8 const msg_data[608] = {
@@ -219,7 +219,7 @@ SECTION_RODATA static u8 const msg_data[608] = {
0x6F, 0x72, 0x20, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6C, 0x73, 0x2E, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
};
-SECTION_DEAD void* const cg_8037B180 = (void*)(&msg_data);
+COMPILER_STRIP_GATE(8037B180, &msg_data);
/* 8037B3E0-8038D640 -00001 12260+00 1/1 0/0 0/0 .rodata font_data */
SECTION_RODATA static void* const font_data[18584] = {
@@ -18809,7 +18809,7 @@ SECTION_RODATA static void* const font_data[18584] = {
(void*)0x69727473,
(void*)0xE1B80000,
};
-SECTION_DEAD void* const cg_8037B3E0 = (void*)(&font_data);
+COMPILER_STRIP_GATE(8037B3E0, &font_data);
/* 80452C18-80452C1C 001218 0004+00 3/3 0/0 0/0 .sdata2 @3758 */
SECTION_SDATA2 static u8 lit_3758[4] = {