From: Jerome Lambourg Date: Wed, 3 Oct 2018 09:31:36 +0000 (+0000) Subject: Fix ARM_TARGET2_DWARF_FORMAT for vxworks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7df9e44c68164cfdd0dcc8d848d480054c4e6b3;p=gcc.git Fix ARM_TARGET2_DWARF_FORMAT for vxworks 2018-10-03 Jérôme Lambourg * config/arm/vxworks.h (ARM_TARGET2_DWARF_FORMAT): Adjust to DW_EH_PE_pcrel | DW_EH_PE_indirect for RTPs. From-SVN: r264808 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a6e1a8ebdf0..f17bee7ea79 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-10-03 Jérôme Lambourg + + * config/arm/vxworks.h (ARM_TARGET2_DWARF_FORMAT): Adjust to + DW_EH_PE_pcrel | DW_EH_PE_indirect for RTPs. + 2018-10-03 Martin Liska PR gcov-profile/86109 diff --git a/gcc/config/arm/vxworks.h b/gcc/config/arm/vxworks.h index fc0e411f6af..a484944d3bf 100644 --- a/gcc/config/arm/vxworks.h +++ b/gcc/config/arm/vxworks.h @@ -125,7 +125,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see #undef ARM_TARGET2_DWARF_FORMAT #define ARM_TARGET2_DWARF_FORMAT \ - (TARGET_VXWORKS_RTP ? DW_EH_PE_pcrel : DW_EH_PE_absptr) + (TARGET_VXWORKS_RTP ? (DW_EH_PE_pcrel | DW_EH_PE_indirect) : DW_EH_PE_absptr) /* There is no default multilib. */ #undef MULTILIB_DEFAULTS