fixed
[psx_test1] / psx.ld
diff --git a/psx.ld b/psx.ld
index fc5a306..74fd857 100644 (file)
--- a/psx.ld
+++ b/psx.ld
@@ -29,12 +29,16 @@ SECTIONS {
        _gp = ALIGN(16) + 0x7ff0;
        .sdata : {
                * (.sdata*);
-               KEEP(*(.keep));
+       } >ram
+
+       .padding : {
+               BYTE(0);
+               . = ALIGN(0x800);
        } >ram
 
        _imgend = .;
 
-       .bss ALIGN(4) : {
+       .bss ALIGN(4) (NOLOAD) : {
                _bss_start = .;
                /* .sbss first to be reachable by _gp */
                * (.sbss*);