diff options
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r-- | gas/config/tc-ppc.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index c5eaac8..bd09149 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -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 |