Commit Graph

291 Commits

Author SHA1 Message Date
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
Wolfgang Thaller
6006958b4e update upstream version numbers in README.md 2015-08-29 02:23:29 +02:00
Wolfgang Thaller
1f0c52573c fix "= { 0x1234 }" syntax to no longer interfere with C++11 "= default" syntax 2015-08-29 02:21:04 +02:00
Wolfgang Thaller
a158475540 elf2flt: new binutils pulls in a -ldl dependency 2015-08-29 02:20:31 +02:00
Wolfgang Thaller
715265c205 Fix some merge problems 2015-08-29 02:06:29 +02:00
Wolfgang Thaller
aebd1e06ff Merge branch 'upstream'
Conflicts:
	gcc/gcc/calls.c
	gcc/gcc/config/m68k/m68k-protos.h
	gcc/gcc/config/m68k/m68k.c
2015-08-28 17:48:55 +02:00
Wolfgang Thaller
c08adffdd5 Revert "Update binutils to version 2.24 to work around a build problem"
This reverts commit f92645c821.
2015-08-28 17:42:20 +02:00
Wolfgang Thaller
41040e16f5 Update gcc to 5.2.0 2015-08-28 17:33:40 +02:00
Wolfgang Thaller
da4dfe30c9 Update binutils to 2.25.1 2015-08-28 17:32:19 +02:00
Wolfgang Thaller
2ce044c327 Update binutils to version 2.24 to work around a build problem 2015-08-28 17:31:26 +02:00
Wolfgang Thaller
ed874719fd Update README.md 2015-08-27 22:13:46 +02:00
Wolfgang Thaller
65dbaedf5d use the newly supported "= { 0x1234 }" syntax instead of non-standard __attribute__((__raw_inline__(0x1234))). 2015-08-27 22:13:32 +02:00
Wolfgang Thaller
ee736a689c Support "pascal void foo() = { 0x1234 };" syntax in gcc. 2015-08-27 21:53:51 +02:00
Wolfgang Thaller
6a05091d37 Rez: properly report file-not-found errors 2015-08-27 20:49:55 +02:00
Wolfgang Thaller
bdf3be1d65 cmake: Fix paths for building outside of Retro68 tree 2015-08-26 22:13:21 +02:00
Wolfgang Thaller
d95202ca50 example Makefiles: use Rez instead of MakeAPPL 2015-07-21 23:40:07 +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
ae4d8353b9 don't warn about multichar constants when they are exactly 4 characters long. 2015-07-21 00:41:58 +02:00
Wolfgang Thaller
0db322e4a0 fix & clean up build 2015-07-21 00:09:06 +02:00
Wolfgang Thaller
b15b38d1b7 slight reorganisation of cmake toolchain files to clean up dependencies in build 2015-07-20 21:38:01 +02:00