diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-09-28 16:17:53 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-09-28 16:17:53 +0000 |
commit | 11b072f46c3c02c198a27b5abb0184778a2d0b73 (patch) | |
tree | fb6244ec1cc811b6d6d0c6d0b6bac18b550721f6 /gas/config/tc-ppc.c | |
parent | 20d1e233b6205ea365f26f63c085bf99b7e861f7 (diff) | |
download | gdb-11b072f46c3c02c198a27b5abb0184778a2d0b73.zip gdb-11b072f46c3c02c198a27b5abb0184778a2d0b73.tar.gz gdb-11b072f46c3c02c198a27b5abb0184778a2d0b73.tar.bz2 |
* config/tc-ppc.h (tc_fix_adjustable): Define.
(ppc_pe_fix_adjustable): Declare.
* config/tc-ppc.c (ppc_pe_fix_adjustable): New function.
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 |