Commit Graph

1371 Commits

Author SHA1 Message Date
nickysn
91e9558f5b * synchronized with trunk
git-svn-id: branches/wasm@47766 -
2020-12-12 23:20:33 +00:00
Károly Balogh
2bd7877ec0 amiga: fixed the recently added link map generation to work properly. needs recent vlink to work
git-svn-id: trunk@47746 -
2020-12-10 04:56:26 +00:00
nickysn
dc5b78d5f0 * synchronized with trunk
git-svn-id: branches/wasm@47716 -
2020-12-08 06:57:57 +00:00
florian
7da0284bfc + read 64-Bit ELF executable info correctly
git-svn-id: trunk@47695 -
2020-12-06 10:23:18 +00:00
nickysn
aeafe42144 * synchronized with trunk
git-svn-id: branches/wasm@47653 -
2020-12-01 03:27:01 +00:00
florian
792b629aa6 + -Xa option: generate code which allows to use more than 2 GB of static data on 64 Bit targets
+ implemented support for x86-64
  * more than 2 GB static data requires to use the --no-relax option on linux

git-svn-id: trunk@47651 -
2020-11-30 22:07:34 +00:00
florian
ff87df7581 + factor out PostProcessELFExecutable
+ write executable section size on linux

git-svn-id: trunk@47622 -
2020-11-28 16:02:50 +00:00
florian
bb80851d65 * .def must be set on linux else it might be that the created executable is
deleted after compilation

git-svn-id: trunk@47592 -
2020-11-25 22:34:17 +00:00
nickysn
f9daec43ef * synchronized with trunk
git-svn-id: branches/wasm@47588 -
2020-11-25 21:59:19 +00:00
Károly Balogh
6a88f2fc28 sinclairql: drop support for the BASIC loader, write Q-emuLator or XTcc compatible metadata to the executable instead. based on a patch by Marcel Kilgus in qlforum.co.uk
git-svn-id: trunk@47569 -
2020-11-25 04:39:42 +00:00
Károly Balogh
ab2db33b4c * backported vlink map file generation to other targets using vlink: Amiga, Atari and ZXSpectrum
git-svn-id: trunk@47560 -
2020-11-24 19:07:15 +00:00
Károly Balogh
ffa1b24f7e sinclairql: map file generation support with vlink, inspired by a patch posted by Marcel Kilgus in qlforum.co.uk
git-svn-id: trunk@47559 -
2020-11-24 18:34:09 +00:00
Károly Balogh
9cf99b818d sinclairql: use .exe as extension for executables instead of .bin, patch by Marcel Kilgus at qlforum.co.uk
git-svn-id: trunk@47556 -
2020-11-24 15:18:05 +00:00
nickysn
509821260e * synchronized with trunk
git-svn-id: branches/wasm@47448 -
2020-11-19 01:12:38 +00:00
Károly Balogh
24226ef4af sinclairql: following Frank Wille's advices, reworked the linker script to omit .bss section from the binary. this reduces a simple 'hello, world' size by ~5K. needs matching startup code.
git-svn-id: trunk@47428 -
2020-11-15 22:56:31 +00:00
Károly Balogh
a0543f7f9b sinclairql: the newline on this system is LF, not CRLF
git-svn-id: trunk@47427 -
2020-11-15 19:45:06 +00:00
Károly Balogh
1635d04b7b sinclairql: add a note about .bss sections and the binary size, no functional change
git-svn-id: trunk@47417 -
2020-11-14 23:51:37 +00:00
Károly Balogh
b64edc0170 sinclairql: reduce default stack size to 8K
git-svn-id: trunk@47416 -
2020-11-14 23:50:35 +00:00
pierre
eb67d87dec Avoid uninitialized variable warning with -O4 option
git-svn-id: trunk@47384 -
2020-11-10 23:52:51 +00:00
pierre
d2247f6539 Use MPW linker variant also for m68k-macosclassic target
git-svn-id: trunk@47383 -
2020-11-10 22:37:24 +00:00
Károly Balogh
51d8ec90a7 sinclairql: now the target short name is also sinclairql as proposed by Pierre, so it's unified everywhere
git-svn-id: trunk@47376 -
2020-11-10 21:31:04 +00:00
pierre
bcd52d66ee Use default linker script and only add FPC specific sections for Linux OS
git-svn-id: trunk@47374 -
2020-11-10 17:21:00 +00:00
nickysn
93ecf5f155 * synchronized with trunk
git-svn-id: branches/wasm@47357 -
2020-11-09 00:06:32 +00:00
Károly Balogh
954123deb3 sinclairql: when linking with vlink, generate an unrelocated binary with appended relocation info, so the startup code can relocate it
git-svn-id: trunk@47347 -
2020-11-08 20:38:42 +00:00
nickysn
d3d51d2f7e * synchronized with trunk
git-svn-id: branches/wasm@47338 -
2020-11-07 22:40:43 +00:00
florian
b47d2bd2c2 * allow var alignment up to 64 bytes
git-svn-id: trunk@47316 -
2020-11-04 21:31:50 +00:00
Károly Balogh
eda7d535bd * m68k: enabled vasm assembler support for the Sinclair QL, and added linking
git-svn-id: trunk@47312 -
2020-11-04 21:01:34 +00:00
Károly Balogh
519701960c m68k: initial commit to add the Sinclair QL as a compiler target
git-svn-id: trunk@47307 -
2020-11-04 14:20:28 +00:00
nickysn
66c1a57ab4 * use the LLVM-MC assembler by default for the WebAssembly targets
git-svn-id: branches/wasm@47172 -
2020-10-24 15:33:35 +00:00
nickysn
8f059a6b8a * synchronized with trunk
git-svn-id: branches/wasm@47106 -
2020-10-14 02:41:25 +00:00
florian
637976e83f * patch by Marģers to unify internal error numbers, resolves #37888
git-svn-id: trunk@47103 -
2020-10-13 19:59:01 +00:00
nickysn
fd772822d1 * synchronized with trunk
git-svn-id: branches/wasm@47045 -
2020-10-03 21:39:57 +00:00
Károly Balogh
bb51a2134a z80-zxspectrum: fix the the linking order in the bss section, so the startup code doesn't crash when linked with vlink
git-svn-id: trunk@47036 -
2020-10-03 01:38:01 +00:00
nickysn
1da89c6259 - removed the --export-dynamic linker option
git-svn-id: branches/wasm@46998 -
2020-09-28 23:37:30 +00:00
nickysn
e96faf0a76 + readded the --no-entry option when linking wasi executables
git-svn-id: branches/wasm@46995 -
2020-09-28 23:17:32 +00:00
nickysn
697bd6d586 * synchronized with trunk
git-svn-id: branches/wasm@46993 -
2020-09-28 22:19:56 +00:00
Károly Balogh
9f8417ba52 z80: added handling of sections provided by the startup code to the vlink linker script. this fixes executable building, but the resulting executables still don't work at this point
git-svn-id: trunk@46980 -
2020-09-27 22:58:01 +00:00
nickysn
114d0d738b * synchronized with trunk
git-svn-id: branches/wasm@46970 -
2020-09-26 23:19:51 +00:00
florian
4ced513363 * xtensa-freertos: run python helpers only on non unix by directly calling python
git-svn-id: trunk@46961 -
2020-09-26 20:12:28 +00:00
florian
aa8fdabe1f * xtensa-freertos: patch by Alfred for better tool search, resolves #37308
git-svn-id: trunk@46958 -
2020-09-26 15:44:37 +00:00
nickysn
796eb69b1a * synchronized with trunk
git-svn-id: branches/wasm@46948 -
2020-09-24 21:02:37 +00:00
nickysn
47eeaa0b83 * synchronized with trunk
git-svn-id: branches/wasm@46920 -
2020-09-23 00:53:13 +00:00
florian
7107c39440 * search also /usr/lib64 for libraries etc. on aarch64-linux, apparently some distros use it
git-svn-id: trunk@46913 -
2020-09-21 17:57:19 +00:00
nickysn
be16e3a347 * synchronized with trunk
git-svn-id: branches/wasm@46785 -
2020-09-06 01:54:50 +00:00
florian
aea85fcd66 * Xtensa-freeRTOS: fix linking against libc
git-svn-id: trunk@46782 -
2020-09-05 20:25:30 +00:00
nickysn
851d23edba * synchronized with trunk
git-svn-id: branches/wasm@46729 -
2020-08-29 01:56:54 +00:00
florian
fd0515344c * Xtensa: record alignment is upto 8 bytes done
git-svn-id: trunk@46727 -
2020-08-28 20:18:35 +00:00
nickysn
35a4e705db + define tf_smartlink_sections for the WASM targets
git-svn-id: branches/wasm@46703 -
2020-08-26 20:26:36 +00:00
nickysn
8b3dd67869 + enabled tf_needs_symbol_type for the wasm targets
git-svn-id: branches/wasm@46702 -
2020-08-26 17:26:45 +00:00
nickysn
7bab5b6483 * synchronized with trunk
git-svn-id: branches/wasm@46681 -
2020-08-25 00:15:56 +00:00