aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1997-11-05 00:45:23 +0000
committerDoug Evans <dje@google.com>1997-11-05 00:45:23 +0000
commitd57d82d7e58b6cb623ad0c9fc0092bd4c8847c29 (patch)
treefadfe7e1f0d0a56582f3ea1a5e2aa90ff988fef8 /gdb
parent86cb8d868dc566fb7813a7478b32c1e77f632836 (diff)
downloadbinutils-d57d82d7e58b6cb623ad0c9fc0092bd4c8847c29.zip
binutils-d57d82d7e58b6cb623ad0c9fc0092bd4c8847c29.tar.gz
binutils-d57d82d7e58b6cb623ad0c9fc0092bd4c8847c29.tar.bz2
* write.c (print_fixup): Use TC_FIX_DATA_PRINT (if defined) to
print out MD fields of fix. * frags.c (frag_var, frag_variant): Use TC_FRAG_INIT macro (if defined) to initialize MD fields in frag. * as.h (struct frag, ns32k support): Rename ns32k to fr_ns32k. Delete pcrel_adjust. Add fr_opcode_fragP, fr_opcode_offset. * config/tc-ns32k.h: Add comments. Remove obsolete BFD_FAST_SECTION_FILL definition, change prototypes for fix_new_ns32k and fix_new_ns32k_exp to add new arguments opcode_frag and opcode_offset and remove pcrel_adjust. (TC_FIX_TYPE): add opcode_fragP and opcode_offset fields. (TC_FIX_DATA_PRINT): new macro to print out TC_FIX_TYPE. (TC_FRAG_INIT): new macro to initialize machine dependent field in frags. (frag_opcode_frag, frag_opcode_offset, frag_bsr): macros to access MD fields in frag structure. (fix_im_disp, fix_bit_fixP, fix_opcode_frag, fix_opcode_offset, fix_bsr): macros to access MD fields in fix structure. * config/tc-ns32k.c: Avoid overlength lines. Align comments. Don't use struct opcode_location as these fields are now in the frag structure. (convert_iif): Call frag_more as it is needed instead of trying to allocate for the whole insn. Avoid call of frag_more with negative argument. (md_pcrel_adjust, md_fix_pcrel_adjust, md_apply_fix, md_estimate_size_before_relax, md_pcrel_from, tc_aout_fix_to_chars): use accessor macros to get md fields in fix and frag structures. (fix_new_ns32k, fix_new_ns32k_exp): add new arguments opcode_frag and opcode_offset and remove pcrel_adjust. (convert_iif, cons_fix_new_ns32k): call fix_new_ns32k, fix_new_ns32k_exp with changed arguments.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions