diff options
author | huderlem <huderlem@gmail.com> | 2019-08-03 20:06:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-03 20:06:17 -0500 |
commit | 71442a109c3859d1a1e1418924a1a56823b9631c (patch) | |
tree | ef04c74a98cafa7da2b3556d6af4067555b9e498 /ld_script.txt | |
parent | c427a4af00fa46f33f7167977ea834218c37cfa8 (diff) | |
parent | b97a0894bfa099ba5ec8363f8cdc08a1c0d9e6db (diff) |
Merge pull request #3 from camthesaxman/headers
move all externs to header files and update m4a library
Diffstat (limited to 'ld_script.txt')
-rwxr-xr-x | ld_script.txt | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/ld_script.txt b/ld_script.txt index f939164..c0a0e64 100755 --- a/ld_script.txt +++ b/ld_script.txt @@ -6,7 +6,8 @@ SECTIONS ALIGN(4) { <EWRAM> - . = 0x40000; + /* COMMON starts at ??? */ +<COMMON> } /* start of iwram */ @@ -14,11 +15,11 @@ SECTIONS iwram (NOLOAD) : ALIGN(4) { - /* .bss starts at 0x3000000 */ + /* .bss starts at 0x3000000 */ <BSS> + /* .bss.code starts at 0x3007400 */ + src/m4a.o(.bss.code); - /* COMMON starts at ??? */ -<COMMON> . = 0x8000; } @@ -47,9 +48,7 @@ SECTIONS asm/options.o(.text); asm/rom_528AC.o(.text); asm/m4a_1.o(.text); - src/m4a_2.o(.text); - asm/m4a_3.o(.text); - src/m4a_4.o(.text); + src/m4a.o(.text); asm/libagbsyscall.o(.text); asm/unknown_lib.o(.text); *libgcc.a:_call_via_rX.o(.text); |