* config/tc-sh.h (struct sh_segment_info_type): Define.
authorIan Lance Taylor <ian@airs.com>
Thu, 16 May 1996 19:57:12 +0000 (19:57 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 16 May 1996 19:57:12 +0000 (19:57 +0000)
commitbccbc0aa84e92cb7d48e8221552bd4edcb876811
tree6cfc6f316cb9dd6bb15c863bf49f4c99f7b39d4e
parentf4e769dc02fd968cb5a9e845cd544fd158ca4269
* config/tc-sh.h (struct sh_segment_info_type): Define.
(TC_SEGMENT_INFO_TYPE): Define.
(sh_frob_label): Declare.
(tc_frob_label): Define.
(sh_flush_pending_output): Declare.
(md_flush_pending_output): Define.
* config/tc-sh.c (md_assemble): If relaxing, emit a R_SH_CODE
  reloc before the instruction if necessary.
(sh_frob_label): New function.
(sh_flush_pending_output): New function.
(sh_coff_frob_file): Ignore ALIGN, CODE, DATA, and LABEL relocs
when looking for the reloc for the target of .uses.
(md_convert_frag): Fix printf format (%0xlx to 0x%lx).
(sh_force_relocation): Force CODE, DATA, and LABEL relocs to be
emitted.
(md_apply_fix): Ignore CODE, DATA, and LABEL relocs.
(sh_coff_reloc_mangle): Force CODE, DATA, and LABEL relocs to use
the absolute symbol.
gas/config/tc-sh.c