mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
Stop sh-coff port from trying to call dwarf2 debug functions
This commit is contained in:
@ -1,5 +1,9 @@
|
|||||||
2001-06-13 Nick Clifton <nickc@cambridge.redhat.com>
|
2001-06-13 Nick Clifton <nickc@cambridge.redhat.com>
|
||||||
|
|
||||||
|
* config/tc-sh.c (md_pseudo_table): Only intercept the .file and
|
||||||
|
.loc pseudos if the dfwarf2 functions are available.
|
||||||
|
(md_assemble): Only call dwarf2_emit_insn if it is available.
|
||||||
|
|
||||||
* expr.c: Fix typo in comment.
|
* expr.c: Fix typo in comment.
|
||||||
|
|
||||||
2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
|
2001-06-12 Nick Clifton <nickc@cambridge.redhat.com>
|
||||||
|
@ -97,8 +97,10 @@ const pseudo_typeS md_pseudo_table[] =
|
|||||||
{"2byte", s_uacons, 2},
|
{"2byte", s_uacons, 2},
|
||||||
{"4byte", s_uacons, 4},
|
{"4byte", s_uacons, 4},
|
||||||
{"8byte", s_uacons, 8},
|
{"8byte", s_uacons, 8},
|
||||||
|
#ifdef BFD_ASSEMBLER
|
||||||
{"file", dwarf2_directive_file, 0 },
|
{"file", dwarf2_directive_file, 0 },
|
||||||
{"loc", dwarf2_directive_loc, 0 },
|
{"loc", dwarf2_directive_loc, 0 },
|
||||||
|
#endif
|
||||||
{0, 0, 0}
|
{0, 0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -1945,7 +1947,9 @@ md_assemble (str)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef BFD_ASSEMBLER
|
||||||
dwarf2_emit_insn (size);
|
dwarf2_emit_insn (size);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This routine is called each time a label definition is seen. It
|
/* This routine is called each time a label definition is seen. It
|
||||||
|
Reference in New Issue
Block a user