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