Commit Graph

37 Commits

Author SHA1 Message Date
Wolfgang Thaller 4e7e895782 slight cleanup in class ResourceFile 2019-08-25 17:48:02 +02:00
Wolfgang Thaller e5185d23c3 Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Wolfgang Thaller bfb9a16d3b silence unnecessary output 2019-08-12 22:38:22 +02:00
Wolfgang Thaller 693abc1998 Convert all MPW .o files from InterfacesAndLibraries 2019-01-24 17:37:28 +01:00
Wolfgang Thaller 0d6bcac631 Elf2Mac: --mac-keep-ldscript flag for debugging ldscript 2019-01-24 17:05:54 +01:00
Wolfgang Thaller c1839aed89 minor cmakelists cleanup 2019-01-22 18:29:03 +01:00
Wolfgang Thaller bbc3a1f049 Fix crashes caused by 68K relocations past the end of sections; still no idea what's going on. 2019-01-08 22:58:30 +01:00
Wolfgang Thaller a726045d54 fix some warnings 2018-12-25 22:42:58 +01:00
Wolfgang Thaller 1bf9012d5e fix data-to-code references for single-segment apps and code resources 2018-02-22 22:05:58 +01:00
Wolfgang Thaller f98a7672f3 Elf2Mac: silence debug output 2018-01-06 03:11:48 +01:00
Wolfgang Thaller 04a63e00df Elf2Mac: support custom entry points 2018-01-06 03:11:48 +01:00
Wolfgang Thaller ce224eb58d Fix single-segment apps (fixes #33) 2017-10-16 01:47:21 +02:00
Wolfgang Thaller 28779ec31e add a way to manually specify what goes in which segment 2017-10-07 01:59:39 +02:00
Wolfgang Thaller 32a2da9547 New, more compact format for relocations 2017-09-30 23:03:17 +02:00
Wolfgang Thaller bf6728b156 Elf2Mac: --mac-single option for generating single-segment apps 2017-09-29 22:17:50 +02:00
Wolfgang Thaller 04174d1b55 Elf2Mac: option for stripping macsbug symbols 2017-09-29 22:04:11 +02:00
Wolfgang Thaller 5c968dc589 missing #include 2017-09-29 15:15:20 +02:00
Wolfgang Thaller 58a39b22d6 Elf2Mac: clean up, split up 2017-09-29 02:12:57 +02:00
Wolfgang Thaller 8240fa9358 Use a simple CMake build for libelf (autoconf is causing trouble on Mac OS 10.4) 2017-09-28 18:31:03 +02:00
Wolfgang Thaller c757fb9520 Name CODE resources, it's just cooler 2017-09-27 06:44:00 +02:00
Wolfgang Thaller 68c43b7a39 SegmentMap, code flushing, cleanup 2017-09-27 00:30:06 +02:00
Wolfgang Thaller 8a2038601a Exceptions now work in multiseg 2017-09-26 20:37:28 +02:00
Wolfgang Thaller d08331584e MultiSeg Apps: First working version (exceptions don't work) 2017-09-26 11:27:53 +02:00
Wolfgang Thaller a4716081c2 moving closer to multiseg 2017-09-26 02:38:05 +02:00
Wolfgang Thaller ce59176be5 explicitly store target section in relocations 2017-09-24 21:25:58 +02:00
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 68150e1c23 Elf2Mac: start preparing for multiseg 2017-09-24 20:03:01 +02:00
Wolfgang Thaller 284126e13c Elf2Mac now generates CODE resources itself; --mac-flat for the old functionality 2017-09-24 16:00:00 +02:00
Wolfgang Thaller 6a3e6863c5 Elf2Mac: Clean up code and prepare for segments 2017-09-24 14:16:58 +02:00
Wolfgang Thaller a6bc7b5de6 elf2flt is no longer the right name 2017-09-24 14:10:37 +02:00
Wolfgang Thaller 0eb20cae6f fix bootstrap 2017-09-24 02:20:50 +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 6c1e76280e don't include relocs for undefined symbols - they should stay at absolute NULL 2017-09-24 00:29:50 +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 008ffe1401 Elf2Mac, a replacement for elf2flt.
Right now this is not an improvement, but the plan is to work towards multi-segment apps.
2017-09-23 03:56:37 +02:00