Re: [RS6000] Don't put large integer constants in TOC for -mcmodel=medium

2018-11-13 Thread Segher Boessenkool
On Tue, Nov 13, 2018 at 01:53:20PM +1030, Alan Modra wrote: > For -mcmodel=medium we can use toc-relative addressing to access > constants placed in read-only data, which is better since they can be > merged when in .rodata.cst8. > > Bootstrapped etc. powerpc64le-linux. OK? Okay, thanks! Seghe

[RS6000] Don't put large integer constants in TOC for -mcmodel=medium

2018-11-12 Thread Alan Modra
For -mcmodel=medium we can use toc-relative addressing to access constants placed in read-only data, which is better since they can be merged when in .rodata.cst8. Bootstrapped etc. powerpc64le-linux. OK? * config/rs6000/linux64.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Exclude intege