Re: [PATCH] or1k: Add mcmodel option to handle large GOTs

2021-04-20 Thread Jeff Law via Gcc-patches
On 4/20/2021 6:12 PM, Stafford Horne wrote: On Tue, Apr 20, 2021 at 05:20:39PM -0600, Jeff Law wrote: On 4/18/2021 6:10 PM, Stafford Horne via Gcc-patches wrote: When building libgeos we get an error with: linux-uclibc/9.3.0/crtbeginS.o: in function `__do_global_dtors_aux': crtst

Re: [PATCH] or1k: Add mcmodel option to handle large GOTs

2021-04-20 Thread Stafford Horne via Gcc-patches
On Tue, Apr 20, 2021 at 05:20:39PM -0600, Jeff Law wrote: > > On 4/18/2021 6:10 PM, Stafford Horne via Gcc-patches wrote: > > When building libgeos we get an error with: > > > > linux-uclibc/9.3.0/crtbeginS.o: in function `__do_global_dtors_aux': > > crtstuff.c:(.text+0x118): relocation

Re: [PATCH] or1k: Add mcmodel option to handle large GOTs

2021-04-20 Thread Jeff Law via Gcc-patches
On 4/18/2021 6:10 PM, Stafford Horne via Gcc-patches wrote: When building libgeos we get an error with: linux-uclibc/9.3.0/crtbeginS.o: in function `__do_global_dtors_aux': crtstuff.c:(.text+0x118): relocation truncated to fit: R_OR1K_GOT16 against symbol `__cxa_finalize' defined in

[PATCH] or1k: Add mcmodel option to handle large GOTs

2021-04-18 Thread Stafford Horne via Gcc-patches
When building libgeos we get an error with: linux-uclibc/9.3.0/crtbeginS.o: in function `__do_global_dtors_aux': crtstuff.c:(.text+0x118): relocation truncated to fit: R_OR1K_GOT16 against symbol `__cxa_finalize' defined in .text section in /home/shorne/work/openrisc/3eb9f9d0f6d8274b