aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-d10v.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-10 14:31:23 +0000
committerAlan Modra <amodra@gmail.com>2009-09-10 14:31:23 +0000
commit800f6ec8e25806362f05460ed0e8804b60a59960 (patch)
tree1ca4fb7e1180338817157dc5f8d6918d1bd24327 /gas/config/tc-d10v.h
parentf2e25d931f7fd4e07eea1a0698bfe6aef33087b6 (diff)
downloadgdb-800f6ec8e25806362f05460ed0e8804b60a59960.zip
gdb-800f6ec8e25806362f05460ed0e8804b60a59960.tar.gz
gdb-800f6ec8e25806362f05460ed0e8804b60a59960.tar.bz2
gas/
* config/tc-d10v.c: Include dwarf2dbg.h. (write_long, write_1_short, write_2_short): Call dwarf2_emit_insn. (d10v_frob_label): New function. * config/tc-d10v.h (d10v_frob_label): Declare. (tc_frob_label): Define as d10v_frob_label. gas/testsuite/ * gas/lns/lns-common-1.s: Use two nops between each .loc. * gas/lns/lns.exp: Don't exclude d10v.
Diffstat (limited to 'gas/config/tc-d10v.h')
-rw-r--r--gas/config/tc-d10v.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/gas/config/tc-d10v.h b/gas/config/tc-d10v.h
index 43b5e7f..39f3704 100644
--- a/gas/config/tc-d10v.h
+++ b/gas/config/tc-d10v.h
@@ -1,5 +1,5 @@
/* tc-d10v.h -- Header file for tc-d10v.c.
- Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005, 2007
+ Copyright 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2005, 2007, 2009
Free Software Foundation, Inc.
Written by Martin Hunt, Cygnus Support.
@@ -46,17 +46,11 @@ long md_pcrel_from_section (struct fix *, segT);
#define md_number_to_chars number_to_chars_bigendian
int d10v_cleanup (void);
+void d10v_frob_label (symbolS *);
#define md_after_pass_hook() d10v_cleanup ()
#define md_cleanup() d10v_cleanup ()
#define md_do_align(a,b,c,d,e) d10v_cleanup ()
-#define tc_frob_label(sym) \
- do \
- { \
- d10v_cleanup (); \
- symbol_set_frag (sym, frag_now); \
- S_SET_VALUE (sym, (valueT) frag_now_fix ()); \
- } \
- while (0)
+#define tc_frob_label(sym) d10v_frob_label (sym)
#define tc_fix_adjustable(FIX) d10v_fix_adjustable(FIX)
bfd_boolean d10v_fix_adjustable (struct fix *);