Hello,

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.

We have been using this in production compilers for many years now.

Committing to mainline after a successful sanity-check build for
--target=powerpc-wrs-vxworks7r2.

2025-10-21  Olivier Hainque  <[email protected]>

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

Attachment: 0001-Redefine-ASM_PREFERRED_EH_DATA_FORMAT-for-ppc-64-vxw.patch
Description: Binary data

Reply via email to