common.mk: deblob all area files

These are trivial to deblob compared to the others.
This commit is contained in:
Zack Buhman 2023-07-19 03:28:34 +00:00
parent 80ee1a4706
commit 6973e0413c
17 changed files with 82 additions and 12 deletions

8
area/sys_area.s Normal file
View File

@ -0,0 +1,8 @@
.section .text.area
bra next
nop
.ascii "For ASIA PAL area."
/* fill up to 32 bytes with the ascii ' ' (space) character */
.balign 0x20, 0x20
next:

8
area/sys_areb.s Normal file
View File

@ -0,0 +1,8 @@
.section .text.areb
bra next
nop
.ascii "For BRAZIL."
/* fill up to 32 bytes with the ascii ' ' (space) character */
.balign 0x20, 0x20
next:

8
area/sys_aree.s Normal file
View File

@ -0,0 +1,8 @@
.section .text.aree
bra next
nop
.ascii "For EUROPE."
/* fill up to 32 bytes with the ascii ' ' (space) character */
.balign 0x20, 0x20
next:

8
area/sys_arej.s Normal file
View File

@ -0,0 +1,8 @@
.section .text.arej
bra next
nop
.ascii "For JAPAN."
/* fill up to 32 bytes with the ascii ' ' (space) character */
.balign 0x20, 0x20
next:

8
area/sys_arek.s Normal file
View File

@ -0,0 +1,8 @@
.section .text.arek
bra next
nop
.ascii "For KOREA."
/* fill up to 32 bytes with the ascii ' ' (space) character */
.balign 0x20, 0x20
next:

8
area/sys_arel.s Normal file
View File

@ -0,0 +1,8 @@
.section .text.arel
bra next
nop
.ascii "For LATIN AMERICA."
/* fill up to 32 bytes with the ascii ' ' (space) character */
.balign 0x20, 0x20
next:

8
area/sys_aret.s Normal file
View File

@ -0,0 +1,8 @@
.section .text.aret
bra next
nop
.ascii "For TAIWAN and PHILIPINES."
/* fill up to 32 bytes with the ascii ' ' (space) character */
.balign 0x20, 0x20
next:

8
area/sys_areu.s Normal file
View File

@ -0,0 +1,8 @@
.section .text.areu
bra next
nop
.ascii "For USA and CANADA."
/* fill up to 32 bytes with the ascii ' ' (space) character */
.balign 0x20, 0x20
next:

View File

@ -28,18 +28,6 @@ define BUILD_BINARY_O
$< $@ $< $@
endef endef
$(LIB)/sys_%.o: $(LIB)/segasmp/lib/sys_%.o
$(OBJCOPY) -I coff-sh -O elf32-sh -g \
--rename-section .text=.text.$* \
$< $@
SYS_IP_OBJ += $(LIB)/sys_id.o
SYS_IP_OBJ += $(LIB)/sys_sec.o
SYS_IP_OBJ += $(LIB)/sys_area.o $(LIB)/sys_areb.o $(LIB)/sys_aree.o $(LIB)/sys_arej.o
SYS_IP_OBJ += $(LIB)/sys_arek.o $(LIB)/sys_arel.o $(LIB)/sys_aret.o $(LIB)/sys_areu.o
SYS_IP_OBJ += $(LIB)/sys_init.o
SYS_IP_OBJ += $(LIB)/smpsys.o
%.o: %.s %.o: %.s
$(AS) $(AARCH) $(AFLAGS) $(DEBUG) $< -o $@ $(AS) $(AARCH) $(AFLAGS) $(DEBUG) $< -o $@
@ -64,6 +52,24 @@ SYS_IP_OBJ += $(LIB)/smpsys.o
--rename-section .data=.rodata,alloc,load,readonly,data,contents \ --rename-section .data=.rodata,alloc,load,readonly,data,contents \
$< $@ $< $@
SYS_IP_OBJ += $(LIB)/sys_id.o
SYS_IP_OBJ += $(LIB)/sys_sec.o
SYS_IP_OBJ += $(LIB)/area/sys_area.o
SYS_IP_OBJ += $(LIB)/area/sys_areb.o
SYS_IP_OBJ += $(LIB)/area/sys_aree.o
SYS_IP_OBJ += $(LIB)/area/sys_arej.o
SYS_IP_OBJ += $(LIB)/area/sys_arek.o
SYS_IP_OBJ += $(LIB)/area/sys_arel.o
SYS_IP_OBJ += $(LIB)/area/sys_aret.o
SYS_IP_OBJ += $(LIB)/area/sys_areu.o
SYS_IP_OBJ += $(LIB)/sys_init.o
SYS_IP_OBJ += $(LIB)/smpsys.o
$(LIB)/sys_%.o: $(LIB)/segasmp/lib/sys_%.o
$(OBJCOPY) -I coff-sh -O elf32-sh -g \
--rename-section .text=.text.$* \
$< $@
sys_ip.elf: $(SYS_IP_OBJ) sys_ip.elf: $(SYS_IP_OBJ)
$(LD) --print-memory-usage -T $(LIB)/sys_ip.lds $^ -o $@ $(LD) --print-memory-usage -T $(LIB)/sys_ip.lds $^ -o $@

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.