nickysn
87eae35e2f
* synchronize with trunk
...
git-svn-id: branches/z80@44584 -
2020-04-04 22:54:29 +00:00
Károly Balogh
3509d277d0
amiga: use -mtype vlink argument instead of -sc -sd when doing section gc. this prevents merging the bss section into the data section and is more compatible with pre-v2.0 OS versions. needs vlink 0.16b or newer
...
git-svn-id: trunk@44559 -
2020-04-04 11:08:45 +00:00
nickysn
50e5b07568
* synchronize with trunk
...
git-svn-id: branches/z80@44503 -
2020-04-01 22:43:55 +00:00
florian
1e0640c9e9
* Xtensa: FreeRTOS uses windowed calling convention
...
git-svn-id: trunk@44493 -
2020-04-01 20:08:21 +00:00
nickysn
a581ca4dce
* synchronized with trunk
...
git-svn-id: branches/z80@44474 -
2020-03-31 22:00:40 +00:00
florian
aab0884182
+ Xtensa: generate all helper files to fpc can successfully compile a single program
...
git-svn-id: trunk@44461 -
2020-03-31 19:33:10 +00:00
nickysn
3e3942e324
* synchronize with trunk
...
git-svn-id: branches/z80@44458 -
2020-03-31 19:18:42 +00:00
Károly Balogh
8bdcf4273d
* darwin: remove some leftover resource-spec structures from i_bsd, clean up some related darwin specific int/ext resource handling in options
...
git-svn-id: trunk@44455 -
2020-03-31 04:57:08 +00:00
nickysn
377f52ee69
+ started work on the sdcc-sdasz80 asm backend
...
git-svn-id: branches/z80@44445 -
2020-03-30 23:31:04 +00:00
nickysn
48b4cc34cb
* synchronized with trunk
...
git-svn-id: branches/z80@44414 -
2020-03-29 23:04:40 +00:00
nickysn
70abc8ce44
* switch to z80asm (instead of gas, which doesn't support z80) for system_z80_embedded
...
git-svn-id: branches/z80@44409 -
2020-03-29 19:52:51 +00:00
Jonas Maebe
10b15628ab
* split i/t_darwin from i/t_bsd, as they don't have that much in common
...
any more
git-svn-id: trunk@44407 -
2020-03-29 18:27:27 +00:00
florian
391512546e
+ initial FreeRTOS RTL support, largely based on the Embedded target, limited to Xtensa so far
...
git-svn-id: trunk@44400 -
2020-03-29 17:13:45 +00:00
nickysn
755fe97c51
* synchronize with trunk
...
git-svn-id: branches/z80@44397 -
2020-03-29 16:24:32 +00:00
Jonas Maebe
3b8979210d
* check target system instead of using an ifdef
...
git-svn-id: trunk@44394 -
2020-03-29 14:52:41 +00:00
nickysn
fd9f3a43ce
+ added cpu_sys_z80 to the tsystemcpu enum. Name is not cpu_z80, because that
...
conflicts with tcputype.
git-svn-id: branches/z80@44393 -
2020-03-29 14:25:53 +00:00
florian
2a957e77bf
+ Xtensa: initial implementation of tcgcpu.g_proc_entry
...
git-svn-id: trunk@44363 -
2020-03-25 21:17:04 +00:00
florian
729425447f
+ Xtensa: basic operations for Xtensa implemented
...
git-svn-id: trunk@44324 -
2020-03-21 12:49:46 +00:00
florian
9e40d536cb
+ Xtensa: initial skeleton completed
...
+ xtensa-embedded support in the compiler
git-svn-id: trunk@44318 -
2020-03-20 22:34:33 +00:00
svenbarth
9c088bda6a
* fix for Mantis #36706 : only link a library against the dynamic loader if we're not linking against the C library anyway
...
Note: I did not yet find a case where we *do* need to link a library against the loader; this will have to be investigated further, but for 3.2.0 this is safest
git-svn-id: trunk@44256 -
2020-03-02 22:04:36 +00:00
pierre
346118187b
Fix linking error, in which libc.so.6 is not found on aarch64-linux when libdl.so is loaded, by adding appropriate directory
...
git-svn-id: trunk@44215 -
2020-02-19 15:33:11 +00:00
florian
36058ca4d4
* based on a patch by Christo Crause: more compiler fixes for avrtiny, resolves #36646
...
git-svn-id: trunk@44103 -
2020-02-02 20:35:29 +00:00
florian
0af71da9cc
* armhf/armel aligns sections to 16 byte, so allow a maximum c alignment of 16
...
git-svn-id: trunk@44087 -
2020-02-01 22:31:12 +00:00
florian
6b47d9d9ed
* safecall support is meanwhile generic, so enabled for all linux targets
...
git-svn-id: trunk@44076 -
2020-01-31 21:58:49 +00:00
yury
1b3a3a7983
* Removed lot of unused local vars. It is useful to turn on the notes in options. :)
...
git-svn-id: trunk@44053 -
2020-01-28 18:45:33 +00:00
florian
670c61e760
* patch by Christo Crause: support for megaAVR 0 and tinyAVR 0/1, #36616 , part 1/3
...
git-svn-id: trunk@44036 -
2020-01-26 14:35:26 +00:00
florian
7b4292c94e
* patch by Robert Roland to support the RaspberryPi 2 as a bare metal embedded target, resolves #35236
...
git-svn-id: trunk@44027 -
2020-01-23 21:14:49 +00:00
yury
392fc0b637
* android: Changed additions to the linker script to prevent misalignment of the .data section. It fixes crash when linking using recent versions of LD where the "relro" option is default. Issue #35641 .
...
* android: Always pass "-z relro" to the linker.
git-svn-id: trunk@44002 -
2020-01-19 20:31:54 +00:00
Jeppe Johansen
2678522db5
- RISC-V: Add controller types for common RV32 MCUs.
...
- Adds initial controller units for these MCUs.
Code contributed by Michael Ring
git-svn-id: trunk@43935 -
2020-01-13 22:54:26 +00:00
florian
9926eb8dc6
* patch by Christo Crause: Passing a file name with extension to cross compiler
...
with -o causes error, fixed, resolves #36562
git-svn-id: trunk@43921 -
2020-01-12 20:57:52 +00:00
Jeppe Johansen
89a961f960
* Add support for generating map files for embedded target.
...
git-svn-id: trunk@43866 -
2020-01-05 17:00:50 +00:00
svenbarth
4ad7d552a1
* increase support for multilib binutils for RISC V by passing the correct ABI to the linker
...
git-svn-id: trunk@43789 -
2019-12-25 15:23:25 +00:00
florian
a20209e691
+ tf_init_final_units_by_calls
...
* arm-embedded generates direct calls for unit init/final now as well
git-svn-id: trunk@43771 -
2019-12-24 16:14:30 +00:00
florian
fe7d7aa1e7
* patch by Alfred to fix building on DragonFly OS, resolves #36450
...
git-svn-id: trunk@43696 -
2019-12-17 21:57:09 +00:00
florian
266daa62f1
* updated arm linker script as proposed by Alfred, resolves #36395
...
git-svn-id: trunk@43651 -
2019-12-05 20:07:16 +00:00
Jonas Maebe
54d3c26e27
* renamed abi_linux386_sysv to abi_i386_dynalignedstack, and also use it
...
for Darwin-based i386 platforms
git-svn-id: trunk@43650 -
2019-12-05 19:38:01 +00:00
florian
bdd36d20ac
* patch by Alfred: remove superfluous linker script entry, resolves #36345
...
git-svn-id: trunk@43570 -
2019-11-24 12:16:29 +00:00
Jonas Maebe
c22d39bcdf
* fixed linking on NetBSD/m68k after r36168
...
* fixed linking on target for NetBSD/m68k, and when cross-compiling for
Darwin from Windows after r36168
* enabled the use of the "-filelist" linker option for Darwin in all
cases (mantis #36273 )
git-svn-id: trunk@43485 -
2019-11-15 20:31:41 +00:00
florian
f20e6ff323
* update generic linker script
...
git-svn-id: trunk@43426 -
2019-11-09 16:58:58 +00:00
pierre
7d12e8cc6d
Avoid warnings for m68k compiler
...
git-svn-id: trunk@43391 -
2019-11-05 10:00:48 +00:00
Károly Balogh
421b06affe
morphos: in SDK 3.14, the binutils is finally upgraded to 2.32 (from 2.9.1), which makes section smartlinking working with binutils, and also has finally properly working stabs relocations for lineinfo, etc. so it's the default again both cross and native compilations
...
git-svn-id: trunk@43313 -
2019-10-26 22:24:00 +00:00
Jonas Maebe
6483b3f5e3
* fixed opt-in sysroot substitution again, renamed the three-argument version
...
TSearchPathList.AddPath() to AddLibraryPath() to make it clear it's only
to be used for adding library search paths (and replaced one case where
it was used for a source file search path with a call to the
two-argument version)
* also added some missing '=' prefixes to built-in library search paths,
and fixed wrong DirectoryExists checks in t_linux in case of using
a sysroot, cross-compiling or linking on target
git-svn-id: trunk@43312 -
2019-10-26 13:48:30 +00:00
Jonas Maebe
78fb35525f
* change convention for searching sysroot library paths to be the same as the
...
one used by GNU ld: only search for library paths in the sysroot if they
are built into the compiler or start with "=". Previously, all
user-provided library paths were also searched in the sysroot
(mantis #36198 )
git-svn-id: trunk@43279 -
2019-10-20 17:26:44 +00:00
pierre
9d765af693
Fix parsing error in GNU linker script, KEEP needs braces
...
git-svn-id: trunk@43197 -
2019-10-14 16:04:02 +00:00
florian
fb91899457
* adapted 16 byte alignment handling on linux: it is now assumed that the callee tries to clear the stack, so in the caller, the stack is re-adjusted
...
git-svn-id: trunk@43176 -
2019-10-12 21:51:13 +00:00
florian
35e11cd6d4
* several linux targets switches from stabs to dwarf
...
git-svn-id: trunk@43135 -
2019-10-05 20:48:32 +00:00
florian
df4ec9e8e3
* arm-linux uses dwarf debug info by default
...
git-svn-id: trunk@43133 -
2019-10-05 20:48:30 +00:00
florian
f6667a5143
* we have to use __tls_get_addr from the dyn. linker lib else tls on programs with pure pascal dyn. libraries fail
...
git-svn-id: trunk@43069 -
2019-09-25 21:19:01 +00:00
florian
bfd83911e4
* set stack alignment for i386-linux to 16 byte boundaries, this implies a fixed stack layout inside the subroutine code as well
...
git-svn-id: trunk@43014 -
2019-09-15 17:17:33 +00:00
nickysn
ae953214ee
* fixed quoting of the "description" wlink option on Windows
...
git-svn-id: trunk@42659 -
2019-08-12 12:58:16 +00:00