summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-12-27 20:58:19 -0500
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-12-27 20:58:19 -0500
commita3c7adb2ede2aead120f763bc49306caf69be9e4 (patch)
tree9e63fedd1aff2b2dafaa28dce9800242521446da
parent0cee36de656fb3c220b8f449fcb0183d54247826 (diff)
simplify linker script additions for assert support
-rw-r--r--ld_script.txt7
1 files changed, 1 insertions, 6 deletions
diff --git a/ld_script.txt b/ld_script.txt
index 3e8f45121..18158ecfe 100644
--- a/ld_script.txt
+++ b/ld_script.txt
@@ -66,8 +66,8 @@ SECTIONS {
/* COMMON starts at 0x3001760 */
<COMMON>
- unk_code_ram = .;
tools/agbcc/lib/libc.a:sbrkr.o(COMMON);
+ end = .;
. = 0x8000;
}
@@ -76,7 +76,6 @@ SECTIONS {
.text :
ALIGN(4)
{
- unk_code = .;
asm/crt0.o(.text);
src/engine/main.o(.text);
src/engine/sprite.o(.text);
@@ -431,7 +430,6 @@ SECTIONS {
src/debug/unknown_debug_menu.o(.text);
src/engine/name_string_util.o(.text);
src/engine/menu_cursor.o(.text);
- unk_code_end = .;
} =0
script_data :
@@ -512,9 +510,6 @@ SECTIONS {
src/libs/libisagbprn.o(.text);
} =0
- unk_code_ram_end = unk_code_ram + (unk_code_end - unk_code);
- end = unk_code_ram_end;
-
.rodata :
ALIGN(4)
{