Removed all instances of gflib from ld_scripts

This commit is contained in:
Eduardo Quezada 2024-10-16 09:44:48 -03:00
parent 9ed153ff93
commit d58bbe2a6f
4 changed files with 1 additions and 8 deletions

View file

@ -452,7 +452,7 @@ $(DATA_SRC_SUBDIR)/pokemon/teachable_learnsets.h: $(DATA_ASM_BUILDDIR)/event_scr
# NOTE: Based on C_DEP above, but without NODEP and KEEP_TEMPS handling.
define TEST_DEP
$1: $2 $$(shell $(SCANINC) -I include -I $(TOOLS_DIR)/agbcc/include -I gflib $2)
$1: $2 $$(shell $(SCANINC) -I include -I $(TOOLS_DIR)/agbcc/include $2)
@echo "$$(CC1) <flags> -o $$@ $$<"
@$$(CPP) $$(CPPFLAGS) $$< | $$(PREPROC) -i $$< charmap.txt | $$(CC1) $$(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $$(AS) $$(ASFLAGS) -o $$@ -
endef

View file

@ -27,7 +27,6 @@ SECTIONS {
{
INCLUDE "sym_ewram.ld"
src/*.o(.sbss);
gflib/*.o(.sbss);
*libc.a:impure.o(.data);
*libc.a:locale.o(.data);

View file

@ -27,7 +27,6 @@ SECTIONS {
ALIGN(4)
{
src/*.o(.sbss);
gflib/*.o(.sbss);
} > EWRAM
.iwram ORIGIN(IWRAM) : AT (__iwram_lma)

View file

@ -25,7 +25,6 @@ SECTIONS {
ALIGN(4)
{
src/*.o(.sbss);
gflib/*.o(.sbss);
test/*.o(.sbss);
. = ALIGN(4);
} > EWRAM
@ -43,7 +42,6 @@ SECTIONS {
ALIGN(4)
{
src/*.o(.bss);
gflib/*.o(.bss);
data/*.o(.bss);
test/*.o(.bss);
*libc.a:*.o(.bss*);
@ -54,7 +52,6 @@ SECTIONS {
src/*.o(common_data);
src/*.o(COMMON);
gflib/*.o(COMMON);
data/*.o(COMMON);
test/*.o(COMMON);
*libc.a:sbrkr.o(COMMON);
@ -77,7 +74,6 @@ SECTIONS {
src/rom_header_gf.o(.text.*);
src/rom_header_rhh.o(.text.*);
src/*.o(.text);
gflib/*.o(.text);
} > ROM =0
script_data :
@ -99,7 +95,6 @@ SECTIONS {
ALIGN(4)
{
src/*.o(.rodata*);
gflib/*.o(.rodata*);
data/*.o(.rodata*);
} > ROM =0