Commit Graph

11 Commits

Author SHA1 Message Date
Wolfgang Thaller
33a2744643 Take responsibility: don't use standard crtbegin/end anymore, now that we control the linker script 2017-09-24 20:04:11 +02:00
Wolfgang Thaller
0e3a0a5d18 output of elf2mac is now a piece of code with no headers with its entry point at the start. No more FLT file format. 2017-09-24 00:32:13 +02:00
Wolfgang Thaller
975c1f31c3 Some cleanups 2017-09-23 22:36:47 +02:00
Wolfgang Thaller
57906f91c1 zero-terminate relocation list 2017-09-23 20:11:38 +02:00
Wolfgang Thaller
5059b87fe4 relocate.c: reduce reliance on the FLT header (it has to go) 2017-09-23 19:56:36 +02:00
Wolfgang Thaller
95b59e3315 Support for older systems (64K ROMs). See issue #22.
Thanks to @mdanh2002 for submitting the patch.
2017-04-11 20:44:47 +02:00
Wolfgang Thaller
836a8acb7b properly call global destructors 2015-08-29 20:11:53 +02:00
Wolfgang Thaller
03a2a6d215 Fix a problem in startup code that suddenly popped up.
Crash sometimes caused by global codeHandle being allocated in BSS section.
While we're at it, clean up code, add optional assert()s, and even comments.
2015-07-21 23:16:59 +02:00
Wolfgang Thaller
f549ead8ac have startup code ensure that code resource is locked. 2015-07-20 02:02:28 +02:00
Wolfgang Thaller
7aaa3174df One more example: a System Extension (INIT) 2015-07-18 01:14:43 +02:00
Wolfgang Thaller
1cc5202ccf Reorganize startup code (make some parts publicly available) 2015-07-17 21:07:03 +02:00