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

Jim Wilson <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <CAFyWVaZBFrrWo5j62SyjnjMCYuH=29T6igiJMFOEZc+H1O9YWw@mail.gmail.com>
On Fri, Jul 27, 2018 at 1:28 AM, Sebastian Huber
<[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.