diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-07-24 18:18:39 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-07-24 18:18:39 +0000 |
commit | a91c6b08851fab0519eefdccded4580c702d7bba (patch) | |
tree | 2cf313750de1fd254a66a8e64a45dc58f9d26cc0 /bfd | |
parent | eae0538f9c455c9f85699f489fa114b5103ae830 (diff) | |
download | gdb-a91c6b08851fab0519eefdccded4580c702d7bba.zip gdb-a91c6b08851fab0519eefdccded4580c702d7bba.tar.gz gdb-a91c6b08851fab0519eefdccded4580c702d7bba.tar.bz2 |
* config/tc-sh.c (md_pseudo_table): Add "uses".
(s_uses): New static function.
(sh_coff_frob_file): New function.
(md_convert_frag): Call subseg_change before calling fix_new.
(sh_handle_align): New function.
(SWITCH_TABLE): Define.
(sh_force_relocation): New function.
(md_apply_fix): Handle R_SH_USES, R_SH_COUNT and R_SH_ALIGN.
(sh_coff_reloc_mangle): Likewise. Also handle switch table
entries.
* config/tc-sh.h (HANDLE_ALIGN): Define.
(sh_handle_align): Declare.
(TC_FORCE_RELOCATION): Define.
(sh_force_relocation): Declare.
(TC_COUNT_RELOC): Simplify; rely on TC_FORCE_RELOCATION instead.
(tc_frob_file): Define.
(sh_coff_frob_file): Declare.
* config/obj-coff.c (write_object_file): Call tc_frob_file if it
is defined.
(fixup_mdeps): Call HANDLE_ALIGN if it is defined.
(TC_FORCE_RELOCATION): Define if not defined.
(fixup_segment): Use TC_FORCE_RELOCATION to decide whether to
clear the symbol fields of fixP.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions