summaryrefslogtreecommitdiff
path: root/ld_script.txt
diff options
context:
space:
mode:
authornullableVoidPtr <30564701+nullableVoidPtr@users.noreply.github.com>2018-10-16 17:11:54 +0800
committervoid <30564701+nullableVoidPtr@users.noreply.github.com>2018-11-18 18:29:52 +0800
commit9e5147a9adf9dc0aba908f38637cd0b4da2cbbcc (patch)
tree4c6d69c6023e4bb9adb728b75b59f24cd5801002 /ld_script.txt
parent97ab00ba2189c4d8b483ddcad3fc7cf97386122b (diff)
Makefile overhaul
Addition of a build directory, and more flexible to allow for possible blue build.
Diffstat (limited to 'ld_script.txt')
-rwxr-xr-xld_script.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld_script.txt b/ld_script.txt
index e3a6af7..3bc7a22 100755
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -7,7 +7,7 @@ SECTIONS {
ALIGN(4)
{
ewram_start = .;
- <EWRAM>
+ INCLUDE "sym_ewram.ld"
. = ALIGN(4);
src/agb_flash.o(.bss);
. = ALIGN(4);
@@ -17,7 +17,7 @@ SECTIONS {
. = ALIGN(4);
tools/agbcc/lib/libc.a:syscalls.o(.bss);
. = ALIGN(16);
- <EWRAM2>
+ INCLUDE "sym_ewram2.ld"
. = ALIGN(4);
tools/agbcc/lib/libc.a:impure.o(.data);
. = ALIGN(4);
@@ -35,7 +35,7 @@ SECTIONS {
ALIGN(4)
{
iwram_start = .;
- <IWRAM>
+ INCLUDE "sym_iwram.ld"
. = 0x8000;
}