* config/tc-mips.h (TC_SEGMENT_INFO_TYPE): Declare per-segment

label_list.
	* config/tc-mips.c (label_list): Define per-segment label_list.
	(mips_clear_insn_labels, mips_move_labels, mips16_mark_labels,
	append_insn, s_align, s_cons, s_float_cons, s_gpword, s_gpdword,
	mips_from_file_after_relocs, mips_define_label): Use per-segment
	label_list.
This commit is contained in:
Thiemo Seufer
2006-06-23 16:26:13 +00:00
parent d58c2e3acd
commit a8dbcb8573
3 changed files with 67 additions and 28 deletions

View File

@@ -58,6 +58,9 @@ extern void mips_handle_align (struct frag *);
#define MAX_MEM_FOR_RS_ALIGN_CODE (1 + 2)
struct insn_label_list;
#define TC_SEGMENT_INFO_TYPE struct insn_label_list *
/* Tell assembler that we have an itbl_mips.h header file to include. */
#define HAVE_ITBL_CPU