This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] RISC-V: Do not use _init/_fini


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]