summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld_script.sed10
-rw-r--r--ld_script.txt4
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 @@
-/<EWRAM>/ {
- r sym_ewram.ld
- d
-}
-
/<BSS>/ {
r sym_bss.ld
d
}
-
-/<COMMON>/ {
- 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)
{
-<EWRAM>
+ INCLUDE "sym_ewram.ld"
. = 0x40000;
}
@@ -26,7 +26,7 @@ SECTIONS {
src/libs/m4a_2.o(.bss.code);
/* COMMON starts at 0x3001760 */
-<COMMON>
+ INCLUDE "sym_common.ld"
tools/agbcc/lib/libc.a:sbrkr.o(COMMON);
end = .;
. = 0x8000;