SS2: move align directives into the linkerscripts themselves

This commit is contained in:
someone2639 committed 2021-08-13 15:27:56 -04:00
1 parent 865184597d
commit 14b9cde767
3 files changed
+4 -2

No files matched your search

+2
View File
@@ -26,12 +26,14 @@ SECTIONS {
#define LOAD
#include "goddard.ld.inc"
#undef LOAD
. = ALIGN(16);
}
END_SEG(goddard)
BEGIN_NOLOAD(goddard) {
#define NOLOAD
#include "goddard.ld.inc"
#undef NOLOAD
. = ALIGN(16);
}
END_NOLOAD(goddard)
-2
View File
@@ -28,7 +28,6 @@
KEEP(BUILD_DIR/libgoddard.a:shape_helper.o(.rodata*));
KEEP(BUILD_DIR/libgoddard.a:renderer.o(.rodata*));
#endif
. = ALIGN(16);
#endif
@@ -38,6 +37,5 @@
#ifdef KEEP_MARIO_HEAD
KEEP(BUILD_DIR/libgoddard.a:*.o(.bss*));
#endif
. = ALIGN(16);
#endif
+2
View File
@@ -303,6 +303,7 @@ SECTIONS
#define LOAD
#include "goddard.ld.inc"
#undef LOAD
. = ALIGN(16);
}
END_SEG(goddard)
BEGIN_NOLOAD(goddard)
@@ -310,6 +311,7 @@ SECTIONS
#define NOLOAD
#include "goddard.ld.inc"
#undef NOLOAD
. = ALIGN(16);
}
END_NOLOAD(goddard)