newlib/configure.host: Set have_init_fini to no for OpenRISC
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
@@ -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
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_arrayonly and not provide theinit()andfini()functions. Disable the function usage by default as its no longer needed.Signed-off-by Stafford Horne <[email protected]>--- newlib/configure.host | 1 + 1 file changed, 1 insertion(+)newlib/configure.host +1
-0@@ -279,6 +279,7 @@ case "${host_cpu}" in ;; or1k*|or1knd*) machine_dir=or1k + have_init_fini=no ;; powerpc*) machine_dir=powerpcSignature · 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>
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_arrayonly and not provide theinit()andfini()functions. Disable the function usage by default as its no longer needed.Signed-off-by Stafford Horne <[email protected]>--- newlib/configure.host | 1 + 1 file changed, 1 insertion(+)
Quoted 16 lines
Quoted 14 lines
newlib/configure.host +1
-0@@ -279,6 +279,7 @@ case "${host_cpu}" in ;; or1k*|or1knd*) machine_dir=or1k + have_init_fini=no ;; powerpc*) machine_dir=powerpcSignature · 1 line
2.17.2Pushed.
Thank you,
-Stafford