On 10/08/2015 05:35 AM, David Edelsohn wrote:
The recent patches to move GCC exception handling tables on AIX to
read-only data changed the EH data format from absolute pointers to
data-relative or pc-relative, but the offset was encoded as 32 bit,
which isn't robust in 64-bit mode. This patch adjusts the definition
to selects the encoding based on 32 bit versus 64 bit mode.
I would appreciate any additional eyes on the new design to check if
Andrew and I missed anything.
Bootstrapped on powerpc-ibm-aix7.1.0.0 and tested with g++.dg/eh
Thanks, David
* config/rs6000/xcoff.h (ASM_PREFERRED_EH_DATA_FORMAT): Use 64-bit
encoding in 64-bit mode.
The rs6000 port doesn't have any kind of "code model" to select the size of the
application here?
I guess considering the way the aix calling convention uses its TOC slices you
wouldn't have needed one yet. Perhaps eating the extra space is the most robust.
r~