Commit Graph

794 Commits

Author SHA1 Message Date
Wolfgang Thaller
3327705fb3 ConvertObj: insist on proper "first" record and version 2019-01-23 23:12:07 +01:00
Wolfgang Thaller
2cf217fb64 ConvertObj: make module sorting deterministic 2019-01-23 23:09:44 +01:00
Wolfgang Thaller
3ae4e50fe4 ConvertObj: name encoding for some exotic names 2019-01-23 23:08:58 +01:00
Wolfgang Thaller
6ebb376cb1 ConvertOBJ: handle Comment and Filename records 2019-01-23 22:20:08 +01:00
Wolfgang Thaller
d16f1aae6b LaunchAPPL: shared file transport 2019-01-23 19:41:12 +01:00
Wolfgang Thaller
303428e10a Rez: allow trailing commas, like the original Rez does 2019-01-23 19:33:27 +01:00
Wolfgang Thaller
6f47ae00aa disable "Timeout" test by default, some LaunchAPPL backends can't abort programs 2019-01-23 10:57:41 +01:00
Wolfgang Thaller
e7f52c27e5 It's 2019, use C++17 by default 2019-01-22 18:34:36 +01:00
Wolfgang Thaller
c1839aed89 minor cmakelists cleanup 2019-01-22 18:29:03 +01:00
Wolfgang Thaller
a993bd3f7f documentation update 2019-01-22 18:28:44 +01:00
Wolfgang Thaller
21969fb358 Remove MakeAPPL 2019-01-22 14:31:22 +01:00
Wolfgang Thaller
7d2fd1bf78 make pascal attribute imply C linkage (fixes #75) 2019-01-21 21:42:41 +01:00
Wolfgang Thaller
b6bbe4d5a4 fix double make rule for m68k-mac-pragmas.o 2019-01-21 21:41:53 +01:00
Wolfgang Thaller
999897be07 Disk copy 4.2 image support for LaunchAPPL -e minivmac (fixes #76) 2019-01-19 11:47:10 +01:00
Wolfgang Thaller
f8a06b6d68 use the right RetroConsole library on Carbon (fixes #65) 2019-01-13 22:53:26 +01:00
Wolfgang Thaller
2999ed8613 change the way gcc's collect2 works to fix #74
GCC's AIX port, which RetroPPC is based on, uses a different method
from most other platforms to collect the list of all global constructors
and the list of all exception handling tables.
The "standard" method does not work on AIX because IBM's linker will
discard those symbols too early for GCC's liking if they are not
directly referenced.

Unfortunately, the workaround seems to keep too much, so PPC C++
exececutables were at least 1.1MB big.

We don't need to be compatible with IBM's linker. Instead, hack binutils
to keep the symbols that we need kept, and allow GCC to use the
"standard" method for the collect2 pass.

PowerPC application sizes are now down to a reasonable size.
2019-01-13 22:33:07 +01:00
Wolfgang Thaller
8d303a9185 add automated test for exception handling 2019-01-13 21:43:38 +01:00
Wolfgang Thaller
1fc19efaeb LaunchAPPLServer: use separate OT endpoints for connection 2019-01-11 00:46:36 +01:00
Wolfgang Thaller
f1f9cf9099 fix automatedtests 2019-01-09 23:53:11 +01:00
Wolfgang Thaller
75f72af9ac LaunchAPPLServer: logging changes 2019-01-09 20:12:59 +01:00
Wolfgang Thaller
ee5a3b13ca binutils: display file auxentries 2019-01-09 20:12:26 +01:00
Wolfgang Thaller
641a8e2c77 automated tests: run all platforms in one command 2019-01-09 08:39:09 +01:00
Wolfgang Thaller
09110dbff4 LaunchAPPL: delay 0.1 seconds so that server has time to reopen the port 2019-01-09 00:33:04 +01:00
Wolfgang Thaller
29d6d2d230 add .editorconfig file 2019-01-09 00:31:47 +01:00
Wolfgang Thaller
360c364bf9 LaunchAPPLServer: optional embedded debug console 2019-01-09 00:31:32 +01:00
Wolfgang Thaller
71660defd6 LaunchAPPLServer: fix problem with empty forks 2019-01-09 00:18:44 +01:00
Wolfgang Thaller
3bb5ce4e74 LaunchAPPLServer: "Listening on TCP" message 2019-01-09 00:15:44 +01:00
Wolfgang Thaller
ce9deca9db make console embeddable 2019-01-09 00:12:47 +01:00
Wolfgang Thaller
35dedc550a setup -carbon flag in toolchain file 2019-01-09 00:11:12 +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
380fef0114 cleanup CMAKE_CXX_FLAGS and fix various warnings 2019-01-04 03:35:32 +01:00
Wolfgang Thaller
bade105326 fix permissions when extracting from powerpc library archives - upstream bug at https://sourceware.org/bugzilla/show_bug.cgi?id=24061 2019-01-04 01:37:18 +01:00
Wolfgang Thaller
aa6518b7db
Merge pull request #73 from autc04/gcc-8.2
Upgrade to GCC 8.2, binutils 2.31.1 and newlib 3.0.0
2019-01-03 23:47:37 +01:00
Wolfgang Thaller
5443381d68 fix pascal calls 2019-01-03 22:55:50 +01:00
Wolfgang Thaller
d520ee4311 attempt to improve code quality for pascal calls 2019-01-03 20:59:51 +01:00
Wolfgang Thaller
12485f7276 Prevent stack overrun in binutils (issue #69) 2019-01-02 20:50:24 +01:00
Wolfgang Thaller
e1fb84081d Prevent stack overrun in binutils (issue #69) 2019-01-02 15:26:45 +01:00
Wolfgang Thaller
b87964c355 fix automated tests for carbon 2019-01-02 15:26:44 +01:00
Wolfgang Thaller
31cf746b9a update README 2019-01-02 00:19:42 +01:00
Wolfgang Thaller
f53e0a3c2b powerpc: disable binutils/bfd plugin support, it causes problems 2019-01-02 00:19:19 +01:00
Wolfgang Thaller
e92b60224d build-toolchain: don't create empty libretrocrt.a, override cmake's compiler test instead 2019-01-02 00:18:26 +01:00
Wolfgang Thaller
413bb90073 (hopefully) fix pascal calls for gcc 8.2 2019-01-02 00:15:42 +01:00
Wolfgang Thaller
1e59241091 make raw_inline work again for gcc 8.2 2019-01-02 00:14:08 +01:00
Wolfgang Thaller
0f240969b4 MakeImports: skip wrong-architecture libraries 2019-01-02 00:13:51 +01:00
Wolfgang Thaller
3b0ef808de re-merge newlib 2018-12-29 10:19:56 +01:00
Wolfgang Thaller
5420e7d4ce Merge branch 'upstream' into gcc-8.2 2018-12-29 10:04:44 +01:00
Wolfgang Thaller
ec13cc9ce7 fix newlib 2018-12-29 09:59:36 +01:00
Wolfgang Thaller
78de0215f8 gcc 8.2 fixups 2018-12-29 00:41:17 +01:00
Wolfgang Thaller
39af85e1fd restore upgraded intl 2018-12-28 18:55:40 +01:00
Wolfgang Thaller
3f05837f3f Merge branch 'upstream' into gcc-8.2
# Conflicts:
#	binutils/bfd/config.bfd
#	binutils/gas/configure.tgt
#	binutils/intl/ChangeLog
#	binutils/intl/aclocal.m4
#	binutils/intl/config.h.in
#	binutils/intl/configure
#	binutils/intl/configure.ac
#	binutils/ld/configure.tgt
#	gcc/gcc/c/c-decl.c
#	gcc/gcc/c/c-parser.c
#	gcc/gcc/calls.c
#	gcc/gcc/combine.c
#	gcc/gcc/config/m68k/m68k-protos.h
#	gcc/gcc/config/m68k/m68k.c
#	gcc/gcc/config/rs6000/rs6000.opt
#	gcc/gcc/cp/parser.c
#	gcc/gcc/expr.c
#	gcc/intl/ChangeLog
#	gcc/intl/configure
#	gcc/intl/configure.ac
#	gcc/newlib/configure.host
2018-12-28 17:02:51 +01:00