diff options
author | Mark Johnston <markj@FreeBSD.org> | 2018-06-11 16:33:36 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2018-06-11 16:33:36 +0000 |
commit | ecbde90073aef9166e77cecf61bd80c15a707a53 (patch) | |
tree | cc0da5144d369f24409705af70445b8e2777f59b /cddl/contrib | |
parent | c34bf300692e3f57d7099c81c6076761b0a138b4 (diff) | |
download | src-ecbde90073aef9166e77cecf61bd80c15a707a53.tar.gz src-ecbde90073aef9166e77cecf61bd80c15a707a53.zip |
Process CUs with a language attribute of DW_LANG_Mips_Assembler.
At the moment ctfconvert(1) does not do much with such CUs, but
that may not be true in the future, and we run ctfconvert on several
assembly files during the build.
X-MFC with: r334883
Notes
Notes:
svn path=/head/; revision=334961
Diffstat (limited to 'cddl/contrib')
-rw-r--r-- | cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c b/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c index 16000eddaaa9..8f8bcda82237 100644 --- a/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c +++ b/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c @@ -1982,10 +1982,11 @@ dw_read(tdata_t *td, Elf *elf, char *filename __unused) case DW_LANG_C_plus_plus_03: case DW_LANG_C_plus_plus_11: case DW_LANG_C_plus_plus_14: + case DW_LANG_Mips_Assembler: break; default: terminate("file contains DWARF for unsupported " - "language %d", lang); + "language %#x", lang); } else warning("die %llu: failed to get language attribute: %s\n", |