Use ld's fill command instead of doing it manually with mkrom

This commit is contained in:
Ryan Dwyer committed 2021-11-02 21:18:53 +10:00
1 parent 255eb0474a
commit b5eaaaeab2
4 files changed
+7 -23

No files matched your search

+7
View File
@@ -636,6 +636,13 @@ SECTIONS
_accessingpakSegmentRomEnd = 0;
#endif
.fill : AT(__rompos)
{
FILL(0xff);
. = 0x02000000 - __rompos - 1;
BYTE(0xff);
}
/DISCARD/ : {
* (.MIPS.abiflags);
* (.options);