From a3c7adb2ede2aead120f763bc49306caf69be9e4 Mon Sep 17 00:00:00 2001 From: ProjectRevoTPP Date: Wed, 27 Dec 2017 20:58:19 -0500 Subject: simplify linker script additions for assert support --- ld_script.txt | 7 +------ 1 file changed, 1 insertion(+), 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 */ - 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) { -- cgit v1.2.3