Commit Graph

812 Commits

Author SHA1 Message Date
Wolfgang Thaller 8b20276a6e work around (fix?) the strange cross-segment refs that GNU ld generates when debug info is present 2021-05-24 16:19:17 +02:00
Wolfgang Thaller 529d88a195 linker script: pass debug info through nicely. 2021-05-24 16:18:17 +02:00
Wolfgang Thaller 30b727647a fix segment-based relocation in gdb 2021-05-24 15:54:47 +02:00
Wolfgang Thaller 9a39c08963 RelocBase::code1 was unused, remove 2021-05-24 15:54:17 +02:00
Wolfgang Thaller 43545807a0 remove section ordering (it has bad side effects) 2021-04-20 01:05:06 +02:00
Wolfgang Thaller ba04456f23 hack gdb to relocate sections properly 2021-04-20 01:04:40 +02:00
Wolfgang Thaller 4912a44e49 generate PHDRs for each segment 2021-04-19 22:15:12 +02:00
Wolfgang Thaller 7455b0cd2a AutomatedTests/PCRel32: explicitly specify optimization 2021-04-19 22:11:06 +02:00
Wolfgang Thaller bab78e598e Elf2Mac: output ldscript path before invoking real ld 2021-04-19 22:09:21 +02:00
Wolfgang Thaller e4bd1fd64e add --no-elf2mac flag 2021-04-18 12:36:13 +02:00
Wolfgang Thaller 3488c827ef remove outdated comment 2021-04-18 12:35:53 +02:00
Wolfgang Thaller c76e2f0785 emit code segments in order in ELF file 2021-04-08 00:27:29 +02:00
Wolfgang Thaller c12bc6a377 keep debug info in linker script 2021-03-23 22:13:00 +01:00
Wolfgang Thaller 1587f9cbc4 add m68k-*-macos target to gdb 2021-03-21 01:47:50 +01:00
Wolfgang Thaller 13b4125a37 Merge branch 'upstream' into gdb (binutils-gdb at gdb-10.1) 2021-03-21 01:16:54 +01:00
Wolfgang Thaller 6c5c652ee1 switch from binutils only to binutils-gdb, tag gdb-10.1-release 2021-03-21 01:09:18 +01:00
Wolfgang Thaller c8d627cdc4 find libhfs in system path 2021-03-20 23:45:15 +01:00
Wolfgang Thaller f428918183 add default search paths for dependencies installed via homebrew on ARM macs 2021-02-06 15:30:43 +01:00
Wolfgang Thaller 3236f3cfbf deal with stricter default compile options for C 2021-02-06 15:23:15 +01:00
Wolfgang Thaller 45d5bdd137 teach gcc about arn64-apple-darwin hosts 2021-02-06 15:22:50 +01:00
Wolfgang Thaller 884273fce1 use plain GetResource instead of Get1Resource during initialization (#118)
Get1Resource is not in Inside Mac 1-3 and doesn't work with the original system software. And at this point, we know that our own resource file is current.
2021-01-12 22:09:44 +01:00
Wolfgang Thaller f10344e316
Merge pull request #113 from autc04/r_68k_pc32
add support for R_68K_PC32 relocations (fixes #38)
2020-12-28 21:34:13 +01:00
Wolfgang Thaller 0b120a722e add test cases for r_68k_pc32 2020-12-28 19:35:51 +01:00
Wolfgang Thaller 5fdd7b411f relocate.c: some cleanup 2020-12-28 15:15:09 +01:00
Wolfgang Thaller 4c7b83bb75 add support for R_68K_PC32 relocations 2020-12-28 00:25:36 +01:00
Wolfgang Thaller 522a96e6ff hfsutils: fix repeated builds, get rid of an unnecessary symlink (#112) 2020-10-11 19:13:25 +02:00
Wolfgang Thaller d2284679f9 initial nix support 2020-10-04 15:35:11 +02:00
Wolfgang Thaller 60f7efb5d4 fix out-of-source builds for hfsutils 2020-10-04 15:34:17 +02:00
Wolfgang Thaller 5f4733ea5f fix check for resourcefork of InterfaceLib 2020-08-23 19:55:59 +02:00
Wolfgang Thaller fbdf2c4bcb Fix Dialog sample for Carbon on classic MacOS (#110) 2020-07-22 20:02:29 +02:00
Wolfgang Thaller 292e78bbab fix size of generated disk images (#109) 2020-06-19 23:15:32 +02:00
Wolfgang Thaller 3992bf904a fix missing dependency in SharedLibrary sample (#106) 2020-04-25 11:24:14 +02:00
Wolfgang Thaller ee5e93366b fix 68k-only build (#106) 2020-04-25 11:23:52 +02:00
Wolfgang Thaller 1f94f8c490 update multiversal 2020-03-08 17:32:59 +01:00
Wolfgang Thaller 6671b82624
Merge pull request #105 from DarwinNE/master
Try to fix garbage appearing when resizing window. Will need to be revisited to prevent extra redraws.
2020-03-02 22:49:02 +01:00
DarwinNE 1f19d619cf Try to fix garbage appearing when resizing window. Redraw is probably done a little bit too often. 2020-02-25 22:03:37 +01:00
Wolfgang Thaller cf75b4d9ba
Merge pull request #103 from DarwinNE/master
Implement escape sequence to change window title
2020-01-18 23:43:35 +00:00
DarwinNE 812831c24f Correct a missing header that would have made impossible to compile the code with Carbon. Remove commented out code. 2020-01-19 00:38:33 +01:00
DarwinNE 46a380b89a Implement suggestions from the code review of the pull request #103. 2020-01-18 00:33:55 +01:00
DarwinNE 9cb5603bbb Merge branch 'master' of https://github.com/autc04/Retro68 2020-01-16 00:12:46 +01:00
DarwinNE 5f30a05a34 Slightly better strategy to convert C strings to Pascal-style ones. 2020-01-16 00:11:56 +01:00
DarwinNE 9cf5c41ad7 Add a virtual function to the Console class so that it does not need to keep track of the window. 2020-01-16 00:01:26 +01:00
DarwinNE d40eacf12e Implement sequence to change the window name. 2020-01-14 22:46:05 +01:00
Wolfgang Thaller f962ac5ec2
Merge pull request #102 from DarwinNE/master
Add a limited degree of support for ANSI commands to the Console library
2020-01-13 20:45:44 +00:00
DarwinNE f4b2001325 Delete some leftover code. 2020-01-13 07:20:25 +01:00
DarwinNE 7a2f3df561 Tried to implement suggestions. 2020-01-13 00:20:40 +01:00
DarwinNE b901a50bce Correct the name CMakeLists.txt 2020-01-13 00:10:49 +01:00
DarwinNE 7b176b3d9b Merging and solving conflicts. 2020-01-12 22:20:26 +01:00
DarwinNE f6fa98c8dd Added CMakeList.txt 2020-01-12 22:17:44 +01:00
DarwinNE 75b54d3cc7 Add additional permissions in the license. 2020-01-12 22:13:01 +01:00