Commit Graph

1444 Commits

Author SHA1 Message Date
Karoly Balogh
6010ece532 * m68k-atari: make vasm the default assembler. also don't claim we have an internal linker 2022-01-25 23:50:07 +01:00
Karoly Balogh
b3cbf07f27 + m68k-atari: fixed bogus TOS program flags passed to VLink. added -WF argument to allow the user to specify their own flags if needed 2022-01-25 23:50:07 +01:00
Karoly Balogh
88959bdda7 * m68k-sinclairql: fix the inclusion of the target proper 2022-01-25 12:04:49 +01:00
ccrause
4640120dbd esp32.rom.api.ld was only introduced in esp-idf v4.3. Remove invalid linker search path. 2022-01-18 21:34:26 +00:00
ccrause
73287c35d2 GenerateDefaultLinkerScripts should set out_ld_filename. 2022-01-18 21:34:26 +00:00
Robert Roland
53e5a4a03a Adding aaarch64-embedded target
This adds support for aarch64-embedded, specifically for the Raspberry Pi 3.

Uses UART0 at 115200 baud 8N1 for console IO.
2022-01-05 12:29:00 +00:00
ccrause
793c157a9c Always call DoExec to generate linker scripts. Even if cs_link_nolink is set, the ldgen scipt needs to be called in the generated ppas script. 2021-11-29 22:42:49 +01:00
ccrause
b0c0309cc1 Add output path to kconfig source file location parameters. 2021-11-29 22:42:49 +01:00
ccrause
f66dd54bc2 Extract linker script generation as separate method. Check if esp linker scripts can be found in library paths, if not then generate scritps. 2021-11-29 22:42:49 +01:00
ccrause
a58567004b Remove unused $OUTPUT substtution and empty check of outputexedir. 2021-11-29 22:42:49 +01:00
ccrause
655a5f526c Place IDF related files in executable output folder. 2021-11-29 22:42:49 +01:00
florian
5db20610dd * correct idf version check 2021-11-29 22:42:49 +01:00
florian
dc161e519f * inputfilepath might not be empty 2021-11-29 22:42:49 +01:00
ccrause
5289aab4f2 Add -WP option so that IDF version can be passed in - stored in globals.idf_version. The version is checked in t_freertos.pas and for esp-idf version 4.3.x an extra link file is added, also running ldgen.py is skipped as that seems unused. 2021-11-29 22:42:49 +01:00
Pierre Muller
222a41be7b Change declaration of DynLinkStr local variable of MakeExecutable method to ansitring to avoid short string overflows 2021-11-28 23:57:09 +00:00
florian
feb5bde09c * better code and data size info for FreeRTOS 2021-11-13 19:04:58 +01:00
florian
550d0481b3 * better error message 2021-11-11 22:52:21 +01:00
florian
e657aa6431 + write code and data size for Mach-O files if possible 2021-10-31 11:57:32 +01:00
Jonas Maebe
3263e12a3e iphonesim: use ios_simulator_version_min
The linker expects ios_simulator_version_min rather than -iphoneos_version_min
when targeting the iOS simulator platform. Fixes compilation with Xcode 11
toolchains, which is more strict about this.
2021-10-27 20:53:42 +02:00
Jonas Maebe
334cf9c19d iphonesim target: requires proper alignment
Just like the native iOS targets
2021-10-27 20:53:39 +02:00
Nikolay Nikolov
c450b63f1c + enabled compilation of the fpintres unit for the WASI target and enabled tf_has_winlike_resources for the target 2021-10-02 22:43:05 +03:00
Nikolay Nikolov
bc76487b87 + enable the WebAssembly internal assembler and object writer 2021-09-26 20:46:47 +03:00
Nikolay Nikolov
346b57e238 * tai_impexp renamed tai_export_name
* ait_importexport renamed ait_export_name
2021-09-26 18:35:10 +03:00
Nikolay Nikolov
cc314e61a2 + started working on the WebAssembly internal assembler 2021-09-19 16:17:09 +03:00
florian
9d2e71ff69 * patch by Alfred to use new linker names for Android NDK >=22, resolves #38987
git-svn-id: trunk@49498 -
2021-06-12 20:45:15 +00:00
Károly Balogh
906d0ba06e sinclairql: make sure the end of bss (hence the bss size) is also aligned to two bytes
git-svn-id: trunk@49380 -
2021-05-19 07:39:24 +00:00
pierre
72667f41ad Avoid warning with -O4 option
git-svn-id: trunk@49284 -
2021-04-28 14:56:30 +00:00
florian
1b22962140 * patch by Christo Crause to fix #38789: writing of linker commands should not depent in -s
git-svn-id: trunk@49267 -
2021-04-26 20:52:02 +00:00
svenbarth
a19e461ee0 * NDS: fix condition when to default to apptype arm9
git-svn-id: trunk@49248 -
2021-04-23 14:05:21 +00:00
Károly Balogh
f718567c95 sinclairql: support the upcoming QL binary linking feature of vlink (still in development). it's behind an undocumented -WL switch now. also, reduce the amount of used dataspace by the size of the relocation table in the current linking mode
git-svn-id: trunk@49234 -
2021-04-19 19:09:34 +00:00
pierre
70760208bb Add systems_openbsd to suppported_targets_x_smallr and modify GenerateExecutable in t_bsd unit accordingly
git-svn-id: trunk@49229 -
2021-04-18 15:41:11 +00:00
pierre
f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes
git-svn-id: trunk@49223 -
2021-04-17 22:17:46 +00:00
florian
726ac5a5a6 - forgotten file, obsolete define removed, belongs to last commit
git-svn-id: trunk@49185 -
2021-04-11 18:25:40 +00:00
florian
0188a558d1 - obsolete defines removed
git-svn-id: trunk@49184 -
2021-04-11 18:18:30 +00:00
florian
0a99028128 * newer linux distros might have powerpc64 libraries in /usr/lib or /lib
git-svn-id: trunk@49182 -
2021-04-11 17:30:22 +00:00
nickysn
c7f3469a3f * use up to 16 bytes alignment for the WASI target
git-svn-id: trunk@49178 -
2021-04-11 13:38:05 +00:00
Jonas Maebe
d8021a1102 + FreeBSD/AArch64 support (patch by Mikaël Urankar, mantis #38441)
git-svn-id: trunk@49157 -
2021-04-10 07:57:28 +00:00
Jonas Maebe
4c40e7f9d6 * Darwin: fixed calling dsymutil when _not_ skipping the linking step
git-svn-id: trunk@49136 -
2021-04-08 19:50:21 +00:00
Jonas Maebe
7a0c6ab591 - removed unused leftovers from old t_bsd code
* no longer execute the linker via a shell script, but directly

git-svn-id: trunk@49046 -
2021-03-24 14:33:13 +00:00
Jeppe Johansen
1105726dcf * Add SAMD51P19A controller type. Unit generated by Michael Ring and slightly modified.
git-svn-id: trunk@49034 -
2021-03-22 18:40:12 +00:00
nickysn
e42330a7ad * synchronized with trunk
git-svn-id: branches/wasm@48949 -
2021-03-13 21:47:24 +00:00
florian
62ea31f255 * riscv64-linux: generate PIC for all units as it is required for shared libraries
git-svn-id: trunk@48948 -
2021-03-13 16:33:31 +00:00
florian
1e5cbfe546 * RiscV: if shared libraries are involved, we have to link always against the crt*S.o variants
git-svn-id: trunk@48946 -
2021-03-12 21:59:18 +00:00
florian
577e584c77 * RiscV: basic CFI stuff fixed
git-svn-id: trunk@48937 -
2021-03-10 20:55:37 +00:00
nickysn
940738a3a1 * synchronized with trunk
git-svn-id: branches/wasm@48846 -
2021-03-01 13:21:24 +00:00
Károly Balogh
8d0ef71e37 m68k-linux: revert maxCrecordalign to 2, as an experiment to fix some linking-against-C regressions since the alignment changes
git-svn-id: trunk@48809 -
2021-02-26 10:57:05 +00:00
Károly Balogh
0216f77819 m68k: adjusted some max alignment values for m68k-linux based on i386-linux, because the ELF loader on m68k should be able to provide the same alignments for globals
git-svn-id: trunk@48799 -
2021-02-24 09:20:04 +00:00
Jonas Maebe
8b82e2a9cb * iphonesim targets support link order sym files
git-svn-id: trunk@48764 -
2021-02-21 21:41:05 +00:00
Jonas Maebe
0f36b85a3d - Darwin/ppc64 linker does not support symbol order file
git-svn-id: trunk@48762 -
2021-02-21 21:09:38 +00:00
nickysn
d7df2d45c6 * synchronized with trunk
git-svn-id: branches/wasm@48680 -
2021-02-14 23:47:42 +00:00