aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-cris.h
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-11-28 15:39:15 +0000
committerHans-Peter Nilsson <hp@axis.com>2000-11-28 15:39:15 +0000
commitfcdc20a4d36ad5f493f38a2ed089516c19709a36 (patch)
tree671c5b07b094eb0c8d4b37e4022f07b5d8a67176 /gas/config/tc-cris.h
parent16887944417d08b6ecedcdf183326b3c6ff7460e (diff)
downloadgdb-fcdc20a4d36ad5f493f38a2ed089516c19709a36.zip
gdb-fcdc20a4d36ad5f493f38a2ed089516c19709a36.tar.gz
gdb-fcdc20a4d36ad5f493f38a2ed089516c19709a36.tar.bz2
* config/tc-cris.c: Include dwarf2dbg.h.
(md_pseudo_table): Add .file and .loc. (md_assemble): Call dwarf2_emit_insn if generating ELF. (s_cris_file, s_cris_loc): New. * config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. * Makefile.am: Regenerate dependencies. * Makefile.in: Regenerate.
Diffstat (limited to 'gas/config/tc-cris.h')
-rw-r--r--gas/config/tc-cris.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-cris.h b/gas/config/tc-cris.h
index 85be242..4fdf309 100644
--- a/gas/config/tc-cris.h
+++ b/gas/config/tc-cris.h
@@ -126,6 +126,10 @@ extern void tc_cris_check_adjusted_broken_word PARAMS ((offsetT,
/* We don't want any implicit alignment, so we do nothing. */
#define TC_IMPLICIT_LCOMM_ALIGNMENT(SIZE, P2VAR)
+/* CRIS instructions, with operands and prefixes included, are a multiple
+ of two bytes long. */
+#define DWARF2_LINE_MIN_INSN_LENGTH 2
+
#endif /* TC_CRIS */
/*
* Local variables: