Commit Graph

1094 Commits

Author SHA1 Message Date
Pierre Muller
5eda6e027d * Add internal_endian field to tppudumpfile class
* Check that this new field is indeed set, once only, by
    header flags.
  * Use this flag to extract high and low parts of floatx80
    record for soft floatx80 support.
2024-01-25 11:00:28 +00:00
Ryan Joseph
b4ff9b71d3 * Dump extended RTTI info from PPU 2024-01-02 07:09:22 +01:00
Karoly Balogh
679f2f75b3 human68k: regenerated Makefiles 2023-11-30 23:43:27 +00:00
Karoly Balogh
d72eaaf734 human68k: ppudump typo/build fix 2023-11-30 23:43:27 +00:00
Karoly Balogh
4a1db1dc79 m68k: initial compiler changes for Human68k (Sharp X68000) support 2023-11-30 23:43:27 +00:00
Pierre Muller
224a7a8a54 Use PID to generate unique GDB script names
Limit this to cases when -vj or -vJ option is
used to call the compiler, which adds a PID prefix
to all compiler output.
  This feature is useful to debug parallel make issues.
2023-11-30 11:13:10 +01:00
Pierre Muller
98ef2773e0 Improve token buffer size checks.
* For settings comparison: call CompareByte only on copy_size.
  * For mesgnb: verify that there is enough memory space
    in rest of tokenbuf to hold the number of messages.
  + Add a check that tbi is not greater than tokenbufsize.
2023-11-20 20:59:04 +01:00
Pierre Muller
2ed2ca5cf0 Add missing token buffer index update for ST_LOADMESSAGES handling 2023-11-20 17:52:21 +01:00
Pierre Muller
bc1c93c05f Fix handling of ST_LOADMESSAGES token 2023-11-06 20:50:24 +00:00
Michaël Van Canneyt
04b28ed587 * Search config file in same directory as actual compiler binary 2023-11-02 11:07:03 +01:00
Pierre Muller
f1317e893d Update compiler related Makefile's 2023-09-28 11:22:55 +02:00
ccrause
9440b17eea [AVR] Add command line options to selectively remove portions of the RTL startup code. 2023-08-15 21:33:58 +00:00
Pierre Muller
79d1fcd40d Introduce -XLL option for link using ld.lld linker 2023-07-19 19:00:30 +02:00
Michaël Van Canneyt
fd1f7b2ef8 * Shorter form of copy, remark by Alexey Torgashin 2023-07-13 21:12:46 +02:00
Michaël Van Canneyt
d3111517d5 * More option processing 2023-07-13 17:24:34 +02:00
Michaël Van Canneyt
28a3223b6b * Handle some options required by android, nasm and darwin assemblers 2023-07-13 14:31:11 +02:00
Michaël Van Canneyt
486f3a0c7f * Lowercase subtarget file, as done in compiler 2023-07-07 10:15:39 +02:00
Nikolay Nikolov
f47ca0c5d1 * fixed ppudump for WebAssembly after the JS Promise Integration branch merge 2023-07-02 18:31:53 +03:00
Nikolay Nikolov
adf843196a Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration 2023-06-24 15:08:18 +03:00
Sven/Sarah Barth
62cc594ca4 * for unique type aliases keep track of the original def
* increase PPU version
2023-06-23 16:15:27 +02:00
Nikolay Nikolov
8ac46ed38c Merge remote-tracking branch 'origin/main' into wasm_js_promise_integration 2023-06-20 13:31:32 +03:00
Michaël Van Canneyt
c94531645a * Implement -t options for fpc executable
* Remove some debugging statements
* Refactor processorname -> suffix name for clarity of flow
* Refactor initialization of binary and processor name for clarity of flow
* Rename variables for clarity
* subroutine to simplify command-line handling
* Limited subtarget config file parsing to detect -V
* Specifying multiple -V should not give an error but warn, as for -T or -t
2023-06-19 07:04:50 +00:00
Nikolay Nikolov
b891cef5d2 * ppudump compilation fixed 2023-06-11 12:00:54 +03:00
Nikolay Nikolov
33fb887479 * ppudump compilation fixed 2023-06-05 01:45:30 +03:00
Michael VAN CANNEYT
a3f441b590 * loongarch64 architecture reinstated 2023-05-31 09:40:43 +02:00
Michael VAN CANNEYT
babcb631f8 * Delegate darwin ifdef out of program flow, towards const, for clarity 2023-05-31 09:34:24 +02:00
Michael VAN CANNEYT
c0893e5c16 * get rid os some warnings 2023-05-31 09:34:24 +02:00
Michael VAN CANNEYT
c6effbd676 * Refactor: add utility routine to handle command-line changes 2023-05-31 09:34:24 +02:00
Michael VAN CANNEYT
a52b3522dc * Refactor: Rename some variables for clarity 2023-05-31 09:34:24 +02:00
Michael VAN CANNEYT
647f211aa5 Refactor check for -PB and -PP for clarity of flow 2023-05-31 09:34:23 +02:00
Michael VAN CANNEYT
5d104c9115 Refactor initialization of binary and processor name for clarity of flow 2023-05-31 09:34:23 +02:00
Michael VAN CANNEYT
27476a915b * Refactor processorname -> suffix name for clarity of flow 2023-05-31 09:34:23 +02:00
Michaël Van Canneyt
0515be62b4 * Add option to allow emitting comments in RTTI info 2023-05-29 13:41:25 +00:00
Dmytro Bogatskyy
327aac7f24 Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
Jonas Maebe
839849085b LLVM: don't use type names in ctor/dtor arrays
Workaround for https://github.com/llvm/llvm-project/issues/56809
2023-03-18 23:13:03 +01:00
Pierre Muller
c8b2a36bb1 Add support for -Ploongarch64 option 2023-02-13 13:01:21 +00:00
Jinyang He
783bbb66f9 Update Makefiles 2023-02-05 19:18:48 +00:00
Jinyang He
3d2c96ebbf Add loongarch64 linux support to compiler 2023-02-05 19:18:48 +00:00
Jinyang He
12c4290ffe Add loongarch64 architecture support to compiler 2023-02-05 19:18:48 +00:00
florian
048385fd7f * compilation fixed 2023-01-28 11:42:52 +01:00
Karoly Balogh
e19f60503b m68k: updated instruction tables to match vasm release 1.9a 2022-12-29 03:36:51 +01:00
Sven/Sarah Barth
19cee9b841 + mark the def for a capturer class with a corresponding object option 2022-11-06 22:01:48 +01:00
Pierre Muller
ae12a79bf7 Avoid string truncation 2022-10-30 10:59:31 +01:00
Sven/Sarah Barth
6cbbf9c52a * $P/$OpenStrings is supposed to be a local switch, so change that accordingly
+ added tests
2022-10-08 13:52:32 +02:00
Jonas Maebe
403292a131 LLVM backend: address sanitizer support
Activate with -Clfsanitize=address. Only tested on Darwin/x86-64 for now.
2022-07-06 22:26:13 +02:00
florian
d2a1f9cb20 * get rid of cs_opt_none
* $O+ sets cs_opt_level2 instead of cs_opt_none which made no sense
2022-06-18 20:13:03 +02:00
florian
98ec81896e * do not throw messages on potentially uninitialized internal symbols, resolves #39744 2022-06-15 23:30:33 +02:00
florian
c13517634f * patch by Rika: Replace some instances of manual work with endianness with cryptic oneliners, resolves #39719 2022-06-08 22:59:39 +02:00
florian
eaeb8b70ff + added Risc-V register information file generation to the compiler Makefile
* more stringent naming of register file information for Risc-V
2022-05-31 22:38:30 +02:00
florian
252707a873 + "rescued" mkrvreg.pp from old svn data 2022-05-30 21:12:37 +02:00