From becfe05e6138362a050fd8003c7adaf4c9c39c57 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 16 Jul 1993 16:26:41 +0000 Subject: * 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. --- gas/config/tc-hppa.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gas/config/tc-hppa.h') 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 */ -- cgit v1.1