public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] newlib/configure.host: Set have_init_fini to no for OpenRISC
@ 2018-11-05  9:02 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2018-11-05  9:02 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=8ac94ca7bbe4ceddafe6583ee4766d3c15b18ac8

commit 8ac94ca7bbe4ceddafe6583ee4766d3c15b18ac8
Author: Stafford Horne <shorne@gmail.com>
Date:   Sat Nov 3 07:00:02 2018 +0900

    newlib/configure.host: Set have_init_fini to no for 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>

Diff:
---
 newlib/configure.host | 1 +
 1 file changed, 1 insertion(+)

diff --git a/newlib/configure.host b/newlib/configure.host
index 27bce36..6c49cb7 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-05  9:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-05  9:02 [newlib-cygwin] newlib/configure.host: Set have_init_fini to no for OpenRISC Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).