diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-07-16 16:26:41 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-07-16 16:26:41 +0000 |
commit | becfe05e6138362a050fd8003c7adaf4c9c39c57 (patch) | |
tree | 802d5cd408cdbe2a72ec1b9b28e4b2539ab494dc /gas/config/tc-hppa.h | |
parent | 1e9cf5658626de55a962fbd239dcc38854981b3d (diff) | |
download | gdb-becfe05e6138362a050fd8003c7adaf4c9c39c57.zip gdb-becfe05e6138362a050fd8003c7adaf4c9c39c57.tar.gz gdb-becfe05e6138362a050fd8003c7adaf4c9c39c57.tar.bz2 |
* config/tc-hppa.h (tc_frob_label): Define.
* config/tc-mips.c: Many changes to support simple assembler
optimization.
(insn_label, prev_insn, prev_prev_insn, dummy_opcode,
prev_insn_valid, prev_insn_frag, prev_insn_where,
prev_insn_fixp, prev_insn_is_delay_slot): New static
variables.
(insn_uses_reg, mips_no_prev_insn, mips_emit_delays,
mips_align, s_stringer, s_mips_space): New static functions.
(mips_define_label): New global function.
(md_pseudo_table): For "ascii", "asciz", "asciiz", call
s_stringer. Changed argument to float_cons from 0 or 1 to 'f'
or 'd'. For "space" call s_mips_space.
(md_begin): Call mips_no_prev_insn.
(append_insn): Only insert necessary NOP instructions.
(macro): Call mips_emit_delays before setting mips_noreorder.
Increment and decrement mips_noreorder rather than using
save_reorder_condition. Don't bother to use noreorder in
M_L_DOB and M_L_DAB, since append_insn will not insert a NOP.
(md_atof): Handle floating point numbers correctly for both
big and little endian targets.
(s_align, s_cons): Call mips_align rather than frag_align.
(s_change_seg, s_cons): Call mips_emit_delays.
(s_float_cons): Let float_cons do the work.
(s_mipsset): Call mips_emit_delays when setting noreorder.
* config/tc-mips.h (tc_frob_label): Define to be
mips_define_label.
Diffstat (limited to 'gas/config/tc-hppa.h')
-rw-r--r-- | gas/config/tc-hppa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h index 308863f..821ec3d 100644 --- a/gas/config/tc-hppa.h +++ b/gas/config/tc-hppa.h @@ -468,6 +468,8 @@ extern struct default_space_dict pa_def_spaces[]; space. */ +#define tc_frob_label(sym) pa_define_label (sym) + typedef struct label_symbol_struct { symbolS *lss_label; /* the label symbol */ |