riscv: use LLVM tools instead of GNU toolchain

Now that we use LLVM 9, RISC-V support in LLVM has far fewer bugs and we
can avoid the GNU toolchain.

  * replace GNU linker with lld
  * replace GCC with clang

Additionally, RISC-V was promoted to stable so it can be enabled by
default in CI.
This commit is contained in:
Ayke van Laethem
2019-11-29 19:12:51 +01:00
committed by Ron Evans
parent 06647aab24
commit d441f0152f
5 changed files with 11 additions and 12 deletions
+5
View File
@@ -47,6 +47,11 @@ SECTIONS
. = ALIGN(4);
_ebss = .; /* used by startup code */
} >RAM
/DISCARD/ :
{
*(.eh_frame) /* causes 'no memory region specified' error in lld */
}
}
/* For the memory allocator. */