From e14b59689f1fe41ef044d5a6d3a7626969b8365a Mon Sep 17 00:00:00 2001 From: David Benepe Date: Sat, 5 Jun 2021 16:44:35 -0500 Subject: [PATCH] Moved rodata from C to GLOBAL_ASM in lib/unknown_0CA730 --- lib/asm/non_matchings/unknown_0CA730/__f_to_ll.s | 7 +++++++ lib/src/unknown_0CA730.c | 8 -------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/lib/asm/non_matchings/unknown_0CA730/__f_to_ll.s b/lib/asm/non_matchings/unknown_0CA730/__f_to_ll.s index 5a4c3e6c..a7b3073a 100644 --- a/lib/asm/non_matchings/unknown_0CA730/__f_to_ll.s +++ b/lib/asm/non_matchings/unknown_0CA730/__f_to_ll.s @@ -1,3 +1,10 @@ +.late_rodata +glabel D_800E9550 +.double -0.0 +glabel D_800E9558 +.double -0.0 + +.text glabel __f_to_ll /* 0CA74C 800C9B4C 46006109 */ trunc.l.s $f4, $f12 /* 0CA750 800C9B50 44222000 */ dmfc1 $v0, $f4 diff --git a/lib/src/unknown_0CA730.c b/lib/src/unknown_0CA730.c index 8a7aee72..1d48aaaa 100644 --- a/lib/src/unknown_0CA730.c +++ b/lib/src/unknown_0CA730.c @@ -4,14 +4,6 @@ #include "types.h" #include "macros.h" -/************ .rodata ************/ - -// In __f_to_ll -const DoubleLiteral D_800E9550 = { -0.0 }; -const DoubleLiteral D_800E9558 = { -0.0 }; - -/*********************************/ - GLOBAL_ASM("lib/asm/non_matchings/unknown_0CA730/__d_to_ll.s") GLOBAL_ASM("lib/asm/non_matchings/unknown_0CA730/__f_to_ll.s") GLOBAL_ASM("lib/asm/non_matchings/unknown_0CA730/__ll_to_f.s")