[PATCH] RISC-V: Do not use _init/_fini
Jim Wilson
jimw@sifive.com
Fri Jul 27 16:23:00 GMT 2018
On Fri, Jul 27, 2018 at 1:28 AM, Sebastian Huber
<sebastian.huber@embedded-brains.de> wrote:
> diff --git a/newlib/libc/misc/local.h b/newlib/libc/misc/local.h
> new file mode 100644
> index 000000000..dc16e11b7
> --- /dev/null
> +++ b/newlib/libc/misc/local.h
> @@ -0,0 +1,29 @@
> ...
> +#if defined __riscv
> +#define _MISC_NO_INIT_FINI
> +#endif
I think this should be in newlib/configure.host instead. To keep all
of the RISC-V settings in one place instead of scattered all around.
Jim
More information about the Newlib
mailing list