aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-xtensa.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2007-11-02 00:45:34 +0000
committerBob Wilson <bob.wilson@acm.org>2007-11-02 00:45:34 +0000
commit6a7eedfedcbe83b936a8be8abc489f0202205c7a (patch)
tree92eff89fd4932cf95b6e2d33b8bd5835947940fa /gas/config/tc-xtensa.h
parente4342ca3b861207ab18a2e240b0f675d5c6448fd (diff)
downloadgdb-6a7eedfedcbe83b936a8be8abc489f0202205c7a.zip
gdb-6a7eedfedcbe83b936a8be8abc489f0202205c7a.tar.gz
gdb-6a7eedfedcbe83b936a8be8abc489f0202205c7a.tar.bz2
* config/tc-xtensa.c (xtensa_symbol_new_hook): New.
(xtensa_mark_difference_of_two_symbols): New. (xtensa_post_relax_hook): Call xtensa_mark_difference_of_two_symbols. * config/tc-xtensa.h (xtensa_symfield_type): Add next_expr_symbol. (tc_symbol_new_hook): Define.
Diffstat (limited to 'gas/config/tc-xtensa.h')
-rw-r--r--gas/config/tc-xtensa.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-xtensa.h b/gas/config/tc-xtensa.h
index 86980c0..d3ae024 100644
--- a/gas/config/tc-xtensa.h
+++ b/gas/config/tc-xtensa.h
@@ -275,6 +275,7 @@ typedef struct xtensa_symfield_type
{
unsigned int is_loop_target : 1;
unsigned int is_branch_target : 1;
+ symbolS *next_expr_symbol;
} xtensa_symfield_type;
@@ -338,6 +339,7 @@ extern char *xtensa_section_rename (char *);
#define tc_fix_adjustable(fix) xtensa_fix_adjustable (fix)
#define tc_frob_label(sym) xtensa_frob_label (sym)
#define tc_unrecognized_line(ch) xtensa_unrecognized_line (ch)
+#define tc_symbol_new_hook(sym) xtensa_symbol_new_hook (sym)
#define md_do_align(a,b,c,d,e) xtensa_flush_pending_output ()
#define md_elf_section_change_hook xtensa_elf_section_change_hook
#define md_end xtensa_end