-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid generating sub-scripts of conditionally excluded segments durin…
…g partial linking scripts generation.
- Loading branch information
1 parent
ce115f0
commit 38f7239
Showing
10 changed files
with
221 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
build/us/rom.elf: \ | ||
build/us/segments/boot.o \ | ||
build/us/segments/kanji.o \ | ||
build/us/segments/ascii.o \ | ||
build/us/segments/main.o | ||
|
||
build/us/segments/boot.o: | ||
build/us/segments/kanji.o: | ||
build/us/segments/ascii.o: | ||
build/us/segments/main.o: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
build/us/segments/ascii.o: \ | ||
build/us/src/alphabets/ascii.o | ||
|
||
build/us/src/alphabets/ascii.o: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
SECTIONS | ||
{ | ||
.text : | ||
{ | ||
FILL(0x00000000); | ||
build/us/src/alphabets/ascii.o(.text*); | ||
} | ||
|
||
.data : | ||
{ | ||
FILL(0x00000000); | ||
build/us/src/alphabets/ascii.o(.data*); | ||
} | ||
|
||
.rodata : | ||
{ | ||
FILL(0x00000000); | ||
build/us/src/alphabets/ascii.o(.rodata*); | ||
} | ||
|
||
.sdata : | ||
{ | ||
FILL(0x00000000); | ||
build/us/src/alphabets/ascii.o(.sdata*); | ||
} | ||
|
||
.sbss (NOLOAD) : | ||
{ | ||
FILL(0x00000000); | ||
build/us/src/alphabets/ascii.o(.sbss*); | ||
} | ||
|
||
.scommon (NOLOAD) : | ||
{ | ||
FILL(0x00000000); | ||
build/us/src/alphabets/ascii.o(.scommon*); | ||
} | ||
|
||
.bss (NOLOAD) : | ||
{ | ||
FILL(0x00000000); | ||
build/us/src/alphabets/ascii.o(.bss*); | ||
} | ||
|
||
COMMON (NOLOAD) : | ||
{ | ||
FILL(0x00000000); | ||
build/us/src/alphabets/ascii.o(COMMON*); | ||
} | ||
|
||
.shstrtab 0 : | ||
{ | ||
*(.shstrtab); | ||
} | ||
|
||
/DISCARD/ : | ||
{ | ||
*(.reginfo); | ||
*(.MIPS.abiflags); | ||
*(.MIPS.options); | ||
*(.note.gnu.build-id); | ||
*(.interp); | ||
*(.eh_frame); | ||
*(*); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
build/us/segments/kanji.o: \ | ||
build/us/src/kanji/kanji.o | ||
build/us/src/alphabets/kanji.o | ||
|
||
build/us/src/kanji/kanji.o: | ||
build/us/src/alphabets/kanji.o: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters