Commit Graph

1420 Commits

Author SHA1 Message Date
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
florian
a3d68e6839 * arm thumb: generate proper cfi
git-svn-id: trunk@48678 -
2021-02-14 21:26:41 +00:00
nickysn
7ac2f9e242 * synchronized with trunk
git-svn-id: branches/wasm@48660 -
2021-02-13 02:46:23 +00:00
florian
98a748bdd6 + patch by Dimitrios Chr. Ioannidis: include dwar-3 sections in avr-embedded linker script
git-svn-id: trunk@48659 -
2021-02-12 21:39:31 +00:00
nickysn
c5cac5f554 * set the default debug info type to dbg_dwarf2 for the WebAssembly targets
git-svn-id: branches/wasm@48444 -
2021-01-28 15:55:31 +00:00
nickysn
64bb0359d2 * synchronized with trunk
git-svn-id: branches/wasm@48412 -
2021-01-24 23:38:35 +00:00
Jonas Maebe
9df70f08b1 * fix linker map generation on Darwin
git-svn-id: trunk@48401 -
2021-01-24 17:15:40 +00:00
florian
1f49e633b6 + modified patch by Christo Crause: if the target support, the switch -Xu can be used to generate the executable as an uf2 file
git-svn-id: trunk@48394 -
2021-01-24 14:21:03 +00:00
yury
75491ae21c * Removed/ifdefed the assigned and unused variables.
git-svn-id: trunk@48391 -
2021-01-24 13:58:17 +00:00
yury
64c586b86d * Removed/ifdefed lots of unused variables.
git-svn-id: trunk@48384 -
2021-01-24 12:24:01 +00:00
nickysn
5b2b1beec3 * use ld_embedded instead of ld_wasm for the linker id for the wasm32 embedded target
git-svn-id: branches/wasm@48366 -
2021-01-24 01:48:57 +00:00
nickysn
f77ae51751 * the wasm target (now 'embedded') moved to the i_embed/t_embed units
git-svn-id: branches/wasm@48365 -
2021-01-24 01:45:35 +00:00
nickysn
986ee16d3d * changed the name of the 'wasm' system to 'embedded'
git-svn-id: branches/wasm@48364 -
2021-01-24 01:04:51 +00:00
nickysn
732db97f7c * system_wasm_info renamed system_wasm32_embedded_info
git-svn-id: branches/wasm@48363 -
2021-01-24 01:03:57 +00:00
nickysn
807c743e35 * system identifier system_wasm32_wasm renamed system_wasm32_embedded
git-svn-id: branches/wasm@48362 -
2021-01-24 01:01:39 +00:00
nickysn
b865995339 * system_wasi_info renamed system_wasm32_wasi_info
git-svn-id: branches/wasm@48361 -
2021-01-24 00:58:37 +00:00
nickysn
888368bb5e + added ifdefs to set the source info for WASI
git-svn-id: branches/wasm@48360 -
2021-01-24 00:56:58 +00:00
nickysn
14bca0d0dd - removed debug writeln from the WASI linker invocation code
git-svn-id: branches/wasm@48314 -
2021-01-22 03:11:08 +00:00
nickysn
f5f15e3dbf + added startup code for WASI
git-svn-id: branches/wasm@48304 -
2021-01-22 00:41:51 +00:00
nickysn
4165c893be * synchronized with trunk
git-svn-id: branches/wasm@48292 -
2021-01-21 23:16:12 +00:00
Károly Balogh
429bbb5c64 powerpc-amiga: fixed the vlink linker script to handle fpc.resources and fpc.reshandles sections. at least fixes building projects with resources with vlink, otherwise untested.
git-svn-id: trunk@48254 -
2021-01-21 03:06:21 +00:00
nickysn
91ee50679f - disable the --allow-undefined linker option when linking for WASI
git-svn-id: branches/wasm@48250 -
2021-01-21 01:45:47 +00:00
nickysn
23e7e9530e + enable linker map file creation for the llvm WebAssembly linker. Note: this requires LLVM 12, which is not yet released.
git-svn-id: branches/wasm@48249 -
2021-01-20 23:55:19 +00:00
nickysn
c89a049102 + print 'linking' message for the WASI target
git-svn-id: branches/wasm@48247 -
2021-01-20 23:33:32 +00:00
nickysn
91e9558f5b * synchronized with trunk
git-svn-id: branches/wasm@47766 -
2020-12-12 23:20:33 +00:00