Fix ARM_TARGET2_DWARF_FORMAT for vxworks

2018-10-03  Jérôme Lambourg  <lambourg@adacore.com>

	* config/arm/vxworks.h (ARM_TARGET2_DWARF_FORMAT): Adjust to
	DW_EH_PE_pcrel | DW_EH_PE_indirect for RTPs.

From-SVN: r264808
This commit is contained in:
Jerome Lambourg 2018-10-03 09:31:36 +00:00 committed by Olivier Hainque
parent f2db460264
commit e7df9e44c6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-10-03 Jérôme Lambourg <lambourg@adacore.com>
* 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 <mliska@suse.cz>
PR gcov-profile/86109

View File

@ -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