]> git.ipfire.org Git - thirdparty/gcc.git/commit
Redefine ASM_PREFERRED_EH_DATA_FORMAT for ppc[64]-vxworks
authorOlivier Hainque <hainque@adacore.com>
Sat, 20 Apr 2024 11:43:56 +0000 (08:43 -0300)
committerOlivier Hainque <hainque@adacore.com>
Tue, 21 Oct 2025 08:10:30 +0000 (08:10 +0000)
commita3c0112f554c676f6155db75ccab9d8393ed763c
tree3cf010a29284722a609f6302360308f7b514ad0d
parent3de6d254a9674be48b6bb277777b48aaf819ca68
Redefine ASM_PREFERRED_EH_DATA_FORMAT for ppc[64]-vxworks

This patch redefines ASM_PREFERRED_EH_DATA_FORMAT from the
otherwise inherited linux variant, preventing DW_EH_PE_indirect
in 64bit DKMs, where they are not strictly
needed and where the runtime load could resolve the DW.refs to
symbols of the same name within a different DKM loaded previously.

gcc/
* config/rs6000/vxworks.h (ASM_PREFERRED_EH_DATA_FORMAT):
Redefine.
gcc/config/rs6000/vxworks.h