diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-07-19 16:14:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-07-19 16:14:49 +0000 |
commit | 5f8cb05eef130cf997c98010ece37f102e9c6d35 (patch) | |
tree | 7e87d903d3bd781dbd0eb1d55f33feff4770012c /gas/config/tc-m88k.h | |
parent | 4596bc7a868d1c11ec9b836f8420d3d0c38272c2 (diff) | |
download | gdb-5f8cb05eef130cf997c98010ece37f102e9c6d35.zip gdb-5f8cb05eef130cf997c98010ece37f102e9c6d35.tar.gz gdb-5f8cb05eef130cf997c98010ece37f102e9c6d35.tar.bz2 |
* config/tc-sh.c (sh_relax): Rename from relax, and make global.
Renamed all uses.
(insert): Pass a size of 2, not 4.
(build_relax): Remove unused len variable.
(md_show_usage): Mention -little option.
(md_convert_frag): Add segT argument. Rewrite to generate relocs
rather than to generate complete instructions here.
(md_apply_fix): Adjust and clarify R_SH_PCRELIMM8BY4 case for
changes in insert and md_pcrel_from. Add cases for R_SH_PCDISP
and R_SH_PCDISP8BY2.
(md_pcrel_from): Don't subtract 1, add 2.
(tc_coff_fix2rtype): Remove.
(sh_coff_reloc_mangle): New function.
* config/tc-sh.h (TC_COFF_FIX2RTYPE): Just return fx_r_type.
(sh_relax): Declare.
(TC_COUNT_RELOC): If relaxing, count PC relative relocs.
(TC_RELOC_MANGLE): Define.
(sh_coff_reloc_mangle): Declare.
(tc_coff_sizemachdep): Declare.
* tc.h (md_convert_frag): Add segT parameter to non BFD_ASSEMBLER
declaration.
* write.c (cvt_frag_to_fill): Add sec argument to non
BFD_ASSEMBLER version. Pass it to md_convert_frag.
(write_object_file): Pass SEG_TEXT to cvs_frag_to_fill.
* config/obj-coff.c (do_relocs_for): Pass segment info to
TC_RELOC_MANGLE.
(fixup_mdeps): Pass segment type to md_convert_frag.
* config/tc-a29k.c (md_convert_frag): Add segT argument.
* config/tc-h8300.c (md_convert_frag): Likewise.
* config/tc-h8500.c (md_convert_frag): Likewise.
* config/tc-i386.c (md_convert_frag): Likewise.
* config/tc-i860.c (md_convert_frag): Likewise.
* config/tc-i960.c (md_convert_frag): Likewise.
* config/tc-m68k.c (md_convert_frag): Likewise.
* config/tc-m88k.h (md_convert_frag): Likewise.
* config/tc-ns32k.c (md_convert_frag): Likewise.
* config/tc-rce.c (md_convert_frag): Likewise.
* config/tc-tahoe.c (md_convert_frag): Likewise.
* config/tc-vax.c (md_convert_frag): Likewise.
* config/tc-w65.c (md_convert_frag): Likewise.
* config/tc-z8k.c (md_convert_frag): Likewise.
* config/tc-h8300.h (TC_RELOC_MANGLE): Add segment argument.
* config/tc-h8500.h (TC_RELOC_MANGLE): Likewise.
* config/tc-rce.h (TC_RELOC_MANGLE): Likewise.
* config/tc-w65.h (TC_RELOC_MANGLE): Likewise.
* config/tc-z8k.h (TC_RELOC_MANGLE): Likewise.
Diffstat (limited to 'gas/config/tc-m88k.h')
-rw-r--r-- | gas/config/tc-m88k.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gas/config/tc-m88k.h b/gas/config/tc-m88k.h index afffbb1..9508b49 100644 --- a/gas/config/tc-m88k.h +++ b/gas/config/tc-m88k.h @@ -69,11 +69,7 @@ struct reloc_info_m88k /* Don't warn on word overflow; it happens on %hi relocs. */ #undef WARN_SIGNED_OVERFLOW_WORD -#ifndef BFD_ASSEMBLER -#define md_convert_frag(h,f) {as_fatal ("m88k convert_frag\n");} -#else #define md_convert_frag(b,s,f) {as_fatal ("m88k convert_frag\n");} -#endif /* We don't need to do anything special for undefined symbols. */ #define md_undefined_symbol(s) 0 |