Commit Graph

310 Commits

Author SHA1 Message Date
Wolfgang Thaller
9b13d38682 libretro: implement gettimeofday(). Fixes issue #18 2015-09-16 00:39:03 +02:00
Wolfgang Thaller
8bd1a20557 ppc: yes, we need GCC's COLLECT_EXPORT_LIST hack. Constructors/Destructors and exceptions now work. 2015-09-16 00:38:12 +02:00
Wolfgang Thaller
64e7a15755 ResourceFile: Don't rely on finder info being set, even on Macs 2015-09-14 23:06:21 +02:00
Wolfgang Thaller
54591b457a Carbon HACKS (breaks other stuff) 2015-09-13 16:54:15 +02:00
Wolfgang Thaller
a9337f529f PEFTools: reduce dependencies on Apple's interfaces 2015-09-13 00:43:34 +02:00
Wolfgang Thaller
05d5067e33 Implement a -carbon option for gcc: link with CarbonLib instead of InterfaceLib 2015-09-13 00:42:48 +02:00
Wolfgang Thaller
ce3a2dcc52 prepare-headers: patches for Carbon 2015-09-13 00:42:07 +02:00
Wolfgang Thaller
a295204bf0 update README 2015-09-13 00:33:40 +02:00
Wolfgang Thaller
9cf0349de8 PPC: Add generated import libraries 2015-09-10 00:06:26 +02:00
Wolfgang Thaller
28e5b4ed09 MakeImport: clean up, combine multiple fragments into one file 2015-09-09 20:51:36 +02:00
Wolfgang Thaller
06bf36503b proper .r file for cfrg resource 2015-09-09 01:25:59 +02:00
Wolfgang Thaller
8f9720a31e add ConsoleTest application (test console without going through stdio/iostreams); make Console lib less likely to crash on bad_alloc 2015-09-08 23:47:46 +02:00
Wolfgang Thaller
4851123ac6 MakePEF: some cleanup 2015-09-08 22:49:59 +02:00
Wolfgang Thaller
92f168555f MakePEF: C++ify endian swapping 2015-09-08 21:09:35 +02:00
Wolfgang Thaller
1102a7ce10 PEFTools: use just one header file from binutils for the xcoff format 2015-09-08 19:42:32 +02:00
Wolfgang Thaller
a65704d4fa update samples for powerpc 2015-09-08 18:05:00 +02:00
Wolfgang Thaller
e2cb927c65 powerpc: disable lto 2015-09-08 18:04:27 +02:00
Wolfgang Thaller
3ae6b24cca setup libs for powerpc 2015-09-08 18:04:15 +02:00
Wolfgang Thaller
c79a973691 prepare-headers / ConditionalMacros: gcc supports microsoft-style "pack" pragma, use those 2015-09-08 18:01:57 +02:00
Wolfgang Thaller
db403ed5a0 update libretro for powerpc 2015-09-08 18:01:17 +02:00
Wolfgang Thaller
06b8cf62eb binutils: don't lose entry point when linking with -bnogc 2015-09-08 10:13:10 +02:00
Wolfgang Thaller
9f7a6ac3a9 binutils: try to make ppc XCOFF weak symbols behave more like ELF 2015-09-08 10:12:37 +02:00
Wolfgang Thaller
65ffde8261 binutils: enable AIX_WEAK_SUPPORT for powerpc-*-macos 2015-09-08 10:11:52 +02:00
Wolfgang Thaller
2d434968ff newlib: support powerpc-apple-macos 2015-09-08 04:01:12 +02:00
Wolfgang Thaller
ba2f00dba1 MakePEF: take symbols, relocs from loader section, entrypoint from aout header 2015-09-08 04:00:14 +02:00
Wolfgang Thaller
04621f8a01 work around a crash in powerpc-apple-ld 2015-09-01 00:06:10 +02:00
Wolfgang Thaller
899546720e ppc: link to libretrocrt by default 2015-09-01 00:05:31 +02:00
Wolfgang Thaller
b4f51aad89 MakePEF: warn rather than abort for unexpected relocs 2015-09-01 00:04:47 +02:00
Wolfgang Thaller
4ae36b70fb startup code & cmake stuff for ppc 2015-09-01 00:04:20 +02:00
Wolfgang Thaller
1c9617daeb Rez: --data option for importing data fork 2015-08-31 23:47:25 +02:00
Wolfgang Thaller
6513c4a117 Revert "hacks to prevent ld crashes"
This reverts commit c58b44596a.
2015-08-31 16:45:25 +02:00
Wolfgang Thaller
c58b44596a hacks to prevent ld crashes 2015-08-31 16:45:02 +02:00
Wolfgang Thaller
1c6c1ddd9f towards building libretro 2015-08-31 16:44:45 +02:00
Wolfgang Thaller
de5ea08375 MakePEF: clarify debug output 2015-08-31 16:44:28 +02:00
Wolfgang Thaller
327f1573fd binutils/ar: sabotage target choosing mechanism. "plugin_target" is the wrong choice for PPC. 2015-08-31 16:43:53 +02:00
Wolfgang Thaller
8ffcbfe2d4 ppc: make ptrdiff_t be long, for compatibility with 68K 2015-08-31 16:43:08 +02:00
Wolfgang Thaller
1434a0dbae ppc: add to build script 2015-08-31 01:17:52 +02:00
Wolfgang Thaller
59827d52b4 ppc: PEFTools: closer to working 2015-08-31 01:16:54 +02:00
Wolfgang Thaller
4577098201 MakeImport: remove dead code 2015-08-30 16:11:17 +02:00
Wolfgang Thaller
20ce5ea064 Add MakeImport tool (old hack) - doesn't compile at the moment 2015-08-30 16:07:49 +02:00
Wolfgang Thaller
1a5d88b098 build-toolchain: clean up & comment 2015-08-30 15:36:27 +02:00
Wolfgang Thaller
332bb90e52 ppc: MakePEF - fix endian and 64bit issues 2015-08-30 15:27:06 +02:00
Wolfgang Thaller
df8031a37e PPC: Make Linker Script put all sections at virtual address 0 2015-08-30 15:26:09 +02:00
Wolfgang Thaller
3174ac00be ppc: MakePEF: remove old dead code 2015-08-30 11:59:37 +02:00
Wolfgang Thaller
1d0edc1a12 ppc: MakePEF compiles 2015-08-30 11:57:07 +02:00
Wolfgang Thaller
29a774545d add MakePEF tool (ancient attempt at an xcoff->PEF converter) 2015-08-30 11:45:15 +02:00
Wolfgang Thaller
fa0afdce72 ppc: initial powerpc-apple-macos target 2015-08-30 10:46:39 +02:00
Wolfgang Thaller
836a8acb7b properly call global destructors 2015-08-29 20:11:53 +02:00
Wolfgang Thaller
b3dcb7f981 Time to stop lying: binutils/gcc now configured as m68k-apple-macos instead of m68k-unknown-elf 2015-08-29 19:51:21 +02:00
Wolfgang Thaller
90e056166b Finally make ASFilter unnecessary. 2015-08-29 03:33:14 +02:00