Commit Graph

455 Commits

Author SHA1 Message Date
Wolfgang Thaller
f65c69f656 newlib now has a threads.h header file, which conflicts with Apple's Threads.h on case-insensitive file systems. Suppress it.
It doesn't work anyway, as we would need to supply at least a platform-specific machine/_threads.h for it.
2017-10-07 21:38:09 +02:00
Wolfgang Thaller
3eff6ff36f libretro/malloc.c: "implement" memalign. Just hope that NewPtr aligns enough anyway (16 byte on PowerPC) 2017-10-07 16:10:05 +02:00
Wolfgang Thaller
9edd199c83 prepare-headers: work around another incompatibility between CGBase and newlib 2017-10-07 16:09:00 +02:00
Wolfgang Thaller
b2790cf0fb newlib: add definitions for _READ_WRITE_BUFSIZE_TYPE and _READ_WRITE_RETURN_TYPE.
TODO: figure out where they should really go.
2017-10-07 16:08:32 +02:00
Wolfgang Thaller
b30c823f2b gcc m68k: put macsbug symbols in the same section as the function again, because gcc7 sometimes puts two functions in one section. --mac-strip-macsbug has no effect for now. 2017-10-07 16:07:53 +02:00
Wolfgang Thaller
6edc940bd2 newlib: re-instate aix-style setjmp.S 2017-10-07 16:06:11 +02:00
Wolfgang Thaller
1f10508c9b fix merge problem: newlib configure.host - powerpc-macos target 2017-10-07 16:05:49 +02:00
Wolfgang Thaller
46c502e5da fix merge problem: struct field alignment in powerpc-macos gcc 2017-10-07 16:04:54 +02:00
Wolfgang Thaller
82c625ae6f fix AutomatedTestSuite elmulator detection 2017-10-07 16:04:16 +02:00
Wolfgang Thaller
19ab4d99ae Merge branch 'upstream' into gcc-7.2
# Conflicts:
#	binutils/bfd/config.bfd
#	binutils/ld/configure.tgt
#	gcc/gcc/c-family/c-common.c
#	gcc/gcc/c/c-parser.c
#	gcc/gcc/calls.c
#	gcc/gcc/config/m68k/m68k.c
#	gcc/gcc/config/rs6000/rs6000.c
#	gcc/gcc/config/rs6000/rs6000.opt
#	hfsutils/COPYING
#	hfsutils/install-sh
2017-10-07 02:46:50 +02:00
Wolfgang Thaller
65c83606fb Update gcc to 7.2.0, binutils to 2.29, newlib to 2.5.0 2017-10-07 02:16:47 +02:00
Wolfgang Thaller
1d95fb6dd9 remove elf2flt 2017-10-07 02:08:05 +02:00
Wolfgang Thaller
24bee35d90 implement UnloadSeg on 68K 2017-10-07 02:02:42 +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
207b094372 Merge pull request #30 from autc04/automated-tests
Automated tests
2017-10-07 01:46:30 +02:00
Wolfgang Thaller
ed0b24a6ad improve documentation 2017-10-07 01:37:53 +02:00
Wolfgang Thaller
3223176f5b fix previous commit 2017-10-05 15:47:24 +02:00
Wolfgang Thaller
24d9c90686 Rez: create empty / data-only output file if output file name is explicitly given, but no input 2017-10-05 15:33:50 +02:00
Wolfgang Thaller
bcfcbb90a3 fix data forks in MacBinary 2017-10-05 15:32:57 +02:00
Wolfgang Thaller
fd5a1e57f2 build-toolchain.bash: add missing options to help message 2017-10-05 15:32:12 +02:00
Wolfgang Thaller
c6f6cddb68 LaunchAPPL: improve detection for classic/carbon 2017-10-05 15:30:58 +02:00
Wolfgang Thaller
da6426b207 Tiger compatibility; most importantly, we want a C99 compiler 2017-10-05 14:52:17 +02:00
Wolfgang Thaller
d4f3670056 AutomatedTests: set defaults for RETRO68_LAUNCH_METHOD on old Mac OS X platforms, where "classic" and "carbon" are the obvious choices 2017-10-04 17:34:00 +02:00
Wolfgang Thaller
d8ad527e0f Update documentation 2017-10-04 16:13:00 +02:00
Wolfgang Thaller
507ba9debf LaunchAPPL --make-executable: add a #!/.../LaunchCFMApp to a mac app 2017-10-04 02:03:26 +02:00
Wolfgang Thaller
bd38a209ba AutomatedTests improvements 2017-10-04 01:56:05 +02:00
Wolfgang Thaller
f9bcc39ce0 LaunchAPPL/MiniVMac: fix the fix :-) 2017-10-03 22:47:31 +02:00
Wolfgang Thaller
39112683a3 LaunchAPPL: make minivmac backend work with the mac version 2017-10-03 22:26:24 +02:00
Wolfgang Thaller
5808ab19f6 LaunchAPPL/MiniVMac: minor fixes 2017-10-03 20:51:53 +02:00
Wolfgang Thaller
05cb15ae5b missing #include 2017-10-03 20:12:07 +02:00
Wolfgang Thaller
9732a26782 AutomatedTests: remove hard-coded config in CMakeLists. 2017-10-03 19:36:49 +02:00
Wolfgang Thaller
9a50b29581 ResourceFile: error handling... 2017-10-03 18:44:23 +02:00
Wolfgang Thaller
687fd2a779 LaunchAPPL: more cleanup, config file support 2017-10-03 18:44:06 +02:00
Wolfgang Thaller
c3f16cd873 LaunchAPPL: remove our own copy of the boot sector 2017-10-03 18:17:16 +02:00
Wolfgang Thaller
5fd28f94b0 LaunchAPPL/minivmac: use boot sector from given system disk, duh... 2017-10-03 13:03:35 +02:00
Wolfgang Thaller
28b11ae719 LaunchCFM: better conditionalization for Classic/Carbon backends 2017-10-03 13:00:53 +02:00
Wolfgang Thaller
62831a7391 fix ResourceFile data fork reading 2017-10-03 12:08:54 +02:00
Wolfgang Thaller
2885f5d8cd LaunchAPPL: Classic and Carbon methods 2017-10-03 11:57:56 +02:00
Wolfgang Thaller
5f998b85be ResourceFiles: read data forks from MacBinary and AppleSingle 2017-10-03 00:17:31 +02:00
Wolfgang Thaller
eb9dd5aaff AutomatedTests: clean up CMakeLists.txt 2017-10-02 23:43:35 +02:00
Wolfgang Thaller
c01a99637a add a missing error check (one of many) 2017-10-02 23:13:07 +02:00
Wolfgang Thaller
5961d1884d LaunchAPPL: modularize; Executor and MiniVMac backends for now 2017-10-02 23:06:50 +02:00
Wolfgang Thaller
270cafaab4 improve LaunchAPPL 2017-10-02 09:21:55 +02:00
Wolfgang Thaller
360a9858e3 Automated tests! 2017-10-02 09:21:54 +02:00
Wolfgang Thaller
8b5f06cb9b Fix #28: Don't pass Elf2Mac options on PPC. There is life beyond the 68K. 2017-10-02 09:21:28 +02:00
Wolfgang Thaller
38a2bf10c9 Merge pull request #27 from autc04/segments
Segments: Multiple-segment Apps for 68K. UnloadSeg is still missing.
2017-09-30 23:41:47 +02:00
Wolfgang Thaller
04b54dc296 update .gitignore 2017-09-30 23:38:41 +02:00
Wolfgang Thaller
c10538e350 build Samples/Dialog as single-segment app (to prevent the code path from rotting) 2017-09-30 23:38:23 +02:00
Wolfgang Thaller
32a2da9547 New, more compact format for relocations 2017-09-30 23:03:17 +02:00
Wolfgang Thaller
a68112b08d enable -ffunction-sections for libgcc and libc 2017-09-30 03:01:49 +02:00