Skip to content

Commit

Permalink
Switch Runtime.PPCEABI.H to MWCC 1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
LagoLunatic committed Jul 7, 2024
1 parent 6eb8518 commit cc0649f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@
"-gccinc",
"-common off",
"-inline deferred,auto",
"-char signed",
]

# Dolphin library flags
Expand Down Expand Up @@ -1111,7 +1112,7 @@ def JSystemLib(lib_name, objects):
),
{
"lib": "Runtime.PPCEABI.H",
"mw_version": "GC/1.3.2",
"mw_version": "GC/1.3",
"cflags": cflags_runtime,
"host": False,
"objects": [
Expand All @@ -1137,7 +1138,7 @@ def JSystemLib(lib_name, objects):
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/alloc.c", extra_cflags=["-inline noauto"]),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/errno.c"),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/ansi_files.c"),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common_Embedded/Src/ansi_fp.c", extra_cflags=["-inline noauto", "-char signed"]),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common_Embedded/Src/ansi_fp.c", extra_cflags=["-inline noauto"]),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/arith.c"),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/buffer_io.c"),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/ctype.c"),
Expand All @@ -1148,9 +1149,9 @@ def JSystemLib(lib_name, objects):
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/mem.c"),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/mem_funcs.c"),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/misc_io.c"),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/printf.c", extra_cflags=["-char signed"]),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/printf.c"),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/float.c"),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/scanf.c", extra_cflags=["-char signed"]),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/scanf.c"),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/string.c"),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common/Src/strtoul.c"),
Object(Matching, "PowerPC_EABI_Support/MSL/MSL_C/MSL_Common_Embedded/Src/uart_console_io.c"),
Expand Down
2 changes: 1 addition & 1 deletion src/PowerPC_EABI_Support/Runtime/Src/__mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ void __fill_mem(void* dst, int val, u32 n)

((u8*)dst) = ((u8*)(((u32*)dst) + 1)) - 1;

n &= 3;
n = n & 3;
}

if (n)
Expand Down

0 comments on commit cc0649f

Please sign in to comment.