All of lore.kernel.org
 help / color / mirror / Atom feed
* [OpenRISC] [PATCH] newlib/configure.host: Set have_init_fini to no for OpenRISC
@ 2018-11-02 22:00 Stafford Horne
  2018-11-05  9:03 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Stafford Horne @ 2018-11-02 22:00 UTC (permalink / raw)
  To: openrisc

The new GCC port for OpenRISC will use the init_fini_array only and not
provide the init() and fini() functions.  Disable the function usage by
default as its no longer needed.

Signed-off-by: Stafford Horne <shorne@gmail.com>
---
 newlib/configure.host | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newlib/configure.host b/newlib/configure.host
index 27bce36a1..6c49cb750 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -279,6 +279,7 @@ case "${host_cpu}" in
 	;;
   or1k*|or1knd*)
 	machine_dir=or1k
+	have_init_fini=no
 	;;
   powerpc*)
 	machine_dir=powerpc
-- 
2.17.2


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [OpenRISC] [PATCH] newlib/configure.host: Set have_init_fini to no for OpenRISC
  2018-11-02 22:00 [OpenRISC] [PATCH] newlib/configure.host: Set have_init_fini to no for OpenRISC Stafford Horne
@ 2018-11-05  9:03 ` Corinna Vinschen
  2018-11-05 21:41   ` Stafford Horne
  0 siblings, 1 reply; 3+ messages in thread
From: Corinna Vinschen @ 2018-11-05  9:03 UTC (permalink / raw)
  To: openrisc

On Nov  3 07:00, Stafford Horne wrote:
> The new GCC port for OpenRISC will use the init_fini_array only and not
> provide the init() and fini() functions.  Disable the function usage by
> default as its no longer needed.
> 
> Signed-off-by: Stafford Horne <shorne@gmail.com>
> ---
>  newlib/configure.host | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/newlib/configure.host b/newlib/configure.host
> index 27bce36a1..6c49cb750 100644
> --- a/newlib/configure.host
> +++ b/newlib/configure.host
> @@ -279,6 +279,7 @@ case "${host_cpu}" in
>  	;;
>    or1k*|or1knd*)
>  	machine_dir=or1k
> +	have_init_fini=no
>  	;;
>    powerpc*)
>  	machine_dir=powerpc
> -- 
> 2.17.2

Pushed.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.librecores.org/pipermail/openrisc/attachments/20181105/4450a28b/attachment-0001.sig>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [OpenRISC] [PATCH] newlib/configure.host: Set have_init_fini to no for OpenRISC
  2018-11-05  9:03 ` Corinna Vinschen
@ 2018-11-05 21:41   ` Stafford Horne
  0 siblings, 0 replies; 3+ messages in thread
From: Stafford Horne @ 2018-11-05 21:41 UTC (permalink / raw)
  To: openrisc

On Mon, Nov 05, 2018 at 10:03:29AM +0100, Corinna Vinschen wrote:
> On Nov  3 07:00, Stafford Horne wrote:
> > The new GCC port for OpenRISC will use the init_fini_array only and not
> > provide the init() and fini() functions.  Disable the function usage by
> > default as its no longer needed.
> > 
> > Signed-off-by: Stafford Horne <shorne@gmail.com>
> > ---
> >  newlib/configure.host | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/newlib/configure.host b/newlib/configure.host
> > index 27bce36a1..6c49cb750 100644
> > --- a/newlib/configure.host
> > +++ b/newlib/configure.host
> > @@ -279,6 +279,7 @@ case "${host_cpu}" in
> >  	;;
> >    or1k*|or1knd*)
> >  	machine_dir=or1k
> > +	have_init_fini=no
> >  	;;
> >    powerpc*)
> >  	machine_dir=powerpc
> > -- 
> > 2.17.2
> 
> Pushed.

Thank you,

-Stafford

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-11-05 21:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-02 22:00 [OpenRISC] [PATCH] newlib/configure.host: Set have_init_fini to no for OpenRISC Stafford Horne
2018-11-05  9:03 ` Corinna Vinschen
2018-11-05 21:41   ` Stafford Horne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.