Commit Graph

1224 Commits

Author SHA1 Message Date
nickysn
692ec2fcba * synchronized with trunk
git-svn-id: branches/z80@44623 -
2020-04-06 22:14:42 +00:00
nickysn
9922956115 * use the sdcc-sdldz80 linker instead of sdcc-sdld on the Z80
git-svn-id: branches/z80@44616 -
2020-04-05 22:33:20 +00:00
florian
e8fabb752a + basic xtensa-linux support in the compiler
git-svn-id: trunk@44611 -
2020-04-05 21:12:12 +00:00
nickysn
6dcc12f19b * use the .ihx file name, instead of .elf for the z80-embedded output, because it is in Intel hex
format, not ELF

git-svn-id: branches/z80@44608 -
2020-04-05 20:51:54 +00:00
nickysn
891939d7ea + add the -n option first to the sdcc-sdld linker, so it doesn't echo all the data on the screen. For
debugging purposes, this can be overriden with the -k-p fpc option.

git-svn-id: branches/z80@44607 -
2020-04-05 20:50:31 +00:00
nickysn
b1047523c8 * moved $MAP earlier in the command line of sdcc-sdld
git-svn-id: branches/z80@44606 -
2020-04-05 20:48:37 +00:00
nickysn
9d5a07a59a + allow passing extra options to the sdcc-sdld linker via the -k option
git-svn-id: branches/z80@44605 -
2020-04-05 20:36:42 +00:00
nickysn
5b0f177b62 + create linker map file generation added for sdcc-sdld
git-svn-id: branches/z80@44604 -
2020-04-05 20:32:25 +00:00
nickysn
77406b1560 * delete the linker response file after linking with sdld
git-svn-id: branches/z80@44603 -
2020-04-05 20:26:53 +00:00
nickysn
e73a57652f + initial support for the sdcc-sdld linker for the z80-embedded target
git-svn-id: branches/z80@44602 -
2020-04-05 17:46:06 +00:00
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