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. # NOTE: Based on C_DEP above, but without NODEP and KEEP_TEMPS handling.
define TEST_DEP 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 $$@ $$<" @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 $$@ - @$$(CPP) $$(CPPFLAGS) $$< | $$(PREPROC) -i $$< charmap.txt | $$(CC1) $$(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $$(AS) $$(ASFLAGS) -o $$@ -
endef endef

View file

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

View file

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

View file

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