From 584a68eb9d7a7c9cfa8e8ee1873ebe495f4fdec7 Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Sat, 20 Jan 2018 16:02:30 -0600 Subject: use INCLUDE to include EWRAM and COMMON ld scripts --- ld_script.sed | 10 ---------- ld_script.txt | 4 ++-- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/ld_script.sed b/ld_script.sed index b91542b6f..76b18c301 100644 --- a/ld_script.sed +++ b/ld_script.sed @@ -1,14 +1,4 @@ -// { - r sym_ewram.ld - d -} - // { r sym_bss.ld d } - -// { - r sym_common.ld - d -} diff --git a/ld_script.txt b/ld_script.txt index 82ba46b9c..18de179bc 100644 --- a/ld_script.txt +++ b/ld_script.txt @@ -9,7 +9,7 @@ SECTIONS { ewram (NOLOAD) : ALIGN(4) { - + INCLUDE "sym_ewram.ld" . = 0x40000; } @@ -26,7 +26,7 @@ SECTIONS { src/libs/m4a_2.o(.bss.code); /* COMMON starts at 0x3001760 */ - + INCLUDE "sym_common.ld" tools/agbcc/lib/libc.a:sbrkr.o(COMMON); end = .; . = 0x8000; -- cgit v1.2.3