Commit Graph

79 Commits

Author SHA1 Message Date
ichfly
bf6f1d0454 Update dldi.ld
changed the size according to new libnds updates
2017-01-20 23:36:40 +01:00
Dave Murphy
5138849459 allow building for arm7 iwram 2017-01-16 18:33:45 +00:00
Dave Murphy
029f3b8d51 really get arm7i LMA from header 2017-01-15 20:19:22 +00:00
Dave Murphy
888cbdfd02 allow external relocation of arm7i LMA 2017-01-15 00:20:40 +00:00
Dave Murphy
467a1a00f9 remove stray no$ breakpoint 2017-01-15 00:20:03 +00:00
Dave Murphy
114896f06f allow external relocation of arm9i binary load address 2017-01-14 23:56:43 +00:00
Dave Murphy
6832220265 allow arm9i binary to be relocated externally 2017-01-13 00:08:39 +00:00
Dave Murphy
b0cce58512 use makefile to build 3dsx crt0 2017-01-12 00:10:18 +00:00
Dave Murphy
f897e4be15 build vram crt0 2017-01-12 00:08:35 +00:00
fincs
49165d1d26 Fix lma address error in DS ARM7 crt0 2017-01-10 16:09:49 +01:00
fincs
e2600d9ac1 Refactor DS ARM9/ARM7 crt0s/linkscripts to support DSi section loading 2017-01-10 01:03:23 +01:00
Dave Murphy
0e0f7eff77 place secure area 2017-01-09 21:15:53 +00:00
Dave Murphy
23fe354d16 reference __secure_area__ so it gets linked 2017-01-09 06:22:59 +00:00
Dave Murphy
bf52a02c77 allow arm7 to be relocated externally 2017-01-08 17:07:59 +00:00
Dave Murphy
788935c0ce add dsi specific section 2017-01-08 17:07:05 +00:00
Dave Murphy
206e3b8469 adjust for new arm7 crt0 2017-01-05 14:46:41 +00:00
Dave Murphy
0c55dc8db9 adjust arm7 code lma
DSi firmware requires arm7 code to start in ewram
2017-01-05 14:46:41 +00:00
Dave Murphy
ccc156d51d adjust ewram size
reboot stub is placed at ramtop - 48K
2017-01-05 14:46:40 +00:00
Dave Murphy
4b7796c2d5 restore .init section 2016-12-18 02:29:01 +00:00
Dave Murphy
a0f7e4e2da still need .init section 2016-12-18 02:28:59 +00:00
Dave Murphy
1fe74a378b use crt0 as startup section 2016-11-21 12:24:08 +00:00
Dave Murphy
676638c26a mark startup code as allocatable & executable 2016-11-21 12:23:36 +00:00
Dave Murphy
ec195d5a7e allow both vram banks 2016-11-16 21:27:56 +00:00
Yifan Lu
3fcebd74b2 Add support for changing start address in 3dsx linker script
Use LDFLAGS --defsym="__start__=0x14000000" for example to change start address
2016-03-26 01:58:59 -05:00
Dave Murphy
cf2e5124ce strip unused sections at link time 2015-12-12 11:38:41 +00:00
Dave Murphy
47ddd93e55 add support for TLS 2015-11-28 18:24:01 +00:00
Dave Murphy
bb1c5bba94 garbage collect sections when linking 2015-11-23 20:11:37 +00:00
fincs
f7de61f3c9 3dsx.ld: add missing .fini section 2014-11-21 16:34:33 +01:00
Dave Murphy
bb77177e7b add 3ds support files 2014-11-20 16:32:23 +00:00
Dave Murphy
0365b07627 gba linkscript fixes 2011-10-19 20:56:55 +00:00
Dave Murphy
69d97d561d fix gba multiboot linkscript 2011-07-01 14:44:34 +00:00
Dave Murphy
ab52a4810c changes for latest binutils 2011-01-24 13:45:07 +00:00
Dave Murphy
2ab35739df update for binutils 2.21 2011-01-20 10:34:02 +00:00
Dave Murphy
fd33c706ef update for binutils 2.21 2011-01-15 13:31:44 +00:00
Dave Murphy
5643ef614f add specs for arm7 in vram 2010-08-23 21:04:03 +00:00
Dave Murphy
6c9cc1f9e1 add specs for DSi arm9 2010-08-23 20:37:12 +00:00
Dave Murphy
b4b01cd4b1 correct 2010-02-21 16:54:55 +00:00
Dave Murphy
1d1f15dc9c better name for secondary interrupt flags 2010-02-21 00:56:58 +00:00
Dave Murphy
1ae18674ea DSi mods 2010-02-17 03:14:32 +00:00
Dave Murphy
e0d9719a14 set stacks before mpu setup call 2010-02-17 03:13:46 +00:00
Dave Murphy
6c1a47754e clear both IME registers (DSi) 2010-02-11 17:13:06 +00:00
Dave Murphy
7fb45ebd2d sensible stack for mpu setup call 2010-02-11 17:11:56 +00:00
Dave Murphy
8528c8e453 support sorted constructors/destructors 2010-02-11 17:08:59 +00:00
Dave Murphy
f61b69b190 support sorted constructors/destructors 2010-02-11 17:08:34 +00:00
Dave Murphy
5358ab9fc2 reserve 48k 2009-12-01 22:44:01 +00:00
Dave Murphy
9b4510f9e9 moving mpu setup to libnds 2009-10-31 21:43:00 +00:00
Dave Murphy
e18314fc98 main returns to __libnds_exit 2009-10-20 02:16:37 +00:00
Dave Murphy
bc5cd112ab set sensible stacks for bios call 2009-10-07 20:01:51 +00:00
Dave Murphy
b4e81289c5 correct region attributes 2009-10-04 19:43:46 +00:00
Dave Murphy
3bb9bae8b9 add region and heap setup for DSi/8meg debug DS 2009-10-01 00:40:09 +00:00