Skip to contentSkip to conversation

newlib/configure.host: Set have_init_fini to no for OpenRISC

PATCH New Stafford Horne 2 participants 3 messages Nov 2, 2018 – Nov 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 newlib/configure.host | 1 +
 1 file changed, 1 insertion(+)
newlib/configure.host +1 -0
index 27bce36a1..6c49cb750 100644
@@ -279,6 +279,7 @@ case "${host_cpu}" in
 	;;
   or1k*|or1knd*)
 	machine_dir=or1k
+	have_init_fini=no
 	;;
   powerpc*)
 	machine_dir=powerpc
Signature · 1 line
2.17.2
#1 lore raw

PATCH 1/1 newlib/configure.host: Set have_init_fini to no for OpenRISC

Quoted 23 lines · Stafford Horne

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.

---
 newlib/configure.host | 1 +
 1 file changed, 1 insertion(+)
newlib/configure.host +1 -0
index 27bce36a1..6c49cb750 100644
@@ -279,6 +279,7 @@ case "${host_cpu}" in
 	;;
   or1k*|or1knd*)
 	machine_dir=or1k
+	have_init_fini=no
 	;;
   powerpc*)
 	machine_dir=powerpc
Signature · 1 line
2.17.2

Pushed.

Thanks,
Corinna

Signature · 10 lines
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>
#2 lore raw

PATCH 1/1 newlib/configure.host: Set have_init_fini to no for OpenRISC

Quoted 10 lines · Corinna Vinschen
Quoted 9 lines · Stafford Horne

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.

---
 newlib/configure.host | 1 +
 1 file changed, 1 insertion(+)
Quoted 16 lines
Quoted 14 lines
newlib/configure.host +1 -0
index 27bce36a1..6c49cb750 100644
@@ -279,6 +279,7 @@ case "${host_cpu}" in
 	;;
   or1k*|or1knd*)
 	machine_dir=or1k
+	have_init_fini=no
 	;;
   powerpc*)
 	machine_dir=powerpc
Signature · 1 line
2.17.2

Pushed.

Thank you,

-Stafford