* config/tc-ppc.h (tc_fix_adjustable): Define.

(ppc_pe_fix_adjustable): Declare.
	* config/tc-ppc.c (ppc_pe_fix_adjustable): New function.
This commit is contained in:
Ian Lance Taylor 1995-09-28 16:17:53 +00:00
parent 20d1e233b6
commit 11b072f46c
2 changed files with 15 additions and 0 deletions

View file

@ -1,3 +1,9 @@
Thu Sep 28 12:09:19 1995 Ian Lance Taylor <ian@cygnus.com>
* config/tc-ppc.h (tc_fix_adjustable): Define.
(ppc_pe_fix_adjustable): Declare.
* config/tc-ppc.c (ppc_pe_fix_adjustable): New function.
Thu Sep 28 01:11:58 1995 Doug Evans <dje@deneb.cygnus.com>
* config/tc-arm.h (TARGET_FORMAT): Define for arm-coff.

View file

@ -2977,6 +2977,15 @@ ppc_pe_function (ignore)
demand_empty_rest_of_line ();
}
/* Don't adjust TOC relocs to use the section symbol. */
int
ppc_pe_fix_adjustable (fix)
fixS *fix;
{
return fix->fx_r_type != BFD_RELOC_PPC_TOC16;
}
#endif
#ifdef OBJ_XCOFF