diff options
author | Nick Clifton <nickc@redhat.com> | 2001-06-13 16:46:05 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-06-13 16:46:05 +0000 |
commit | 2bc0a1288fbbffa1cf4065846939204e0efd13e1 (patch) | |
tree | 7f7ae464e992b219eeb3c618df694a4b1be3e98b /gas/config/tc-sh.c | |
parent | 74b5b66abe01b1a5284d64f28df8b99ac737bb87 (diff) | |
download | gdb-2bc0a1288fbbffa1cf4065846939204e0efd13e1.zip gdb-2bc0a1288fbbffa1cf4065846939204e0efd13e1.tar.gz gdb-2bc0a1288fbbffa1cf4065846939204e0efd13e1.tar.bz2 |
Stop sh-coff port from trying to call dwarf2 debug functions
Diffstat (limited to 'gas/config/tc-sh.c')
-rw-r--r-- | gas/config/tc-sh.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c index 0bc1d5c..5e7b23a 100644 --- a/gas/config/tc-sh.c +++ b/gas/config/tc-sh.c @@ -97,8 +97,10 @@ const pseudo_typeS md_pseudo_table[] = {"2byte", s_uacons, 2}, {"4byte", s_uacons, 4}, {"8byte", s_uacons, 8}, +#ifdef BFD_ASSEMBLER {"file", dwarf2_directive_file, 0 }, {"loc", dwarf2_directive_loc, 0 }, +#endif {0, 0, 0} }; @@ -1945,7 +1947,9 @@ md_assemble (str) } } +#ifdef BFD_ASSEMBLER dwarf2_emit_insn (size); +#endif } /* This routine is called each time a label definition is seen. It |