Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2018 16:33:36 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334961 - head/cddl/contrib/opensolaris/tools/ctf/cvt
Message-ID:  <201806111633.w5BGXaNF053934@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Mon Jun 11 16:33:36 2018
New Revision: 334961
URL: https://svnweb.freebsd.org/changeset/base/334961

Log:
  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

Modified:
  head/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c

Modified: head/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c
==============================================================================
--- head/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c	Mon Jun 11 16:31:42 2018	(r334960)
+++ head/cddl/contrib/opensolaris/tools/ctf/cvt/dwarf.c	Mon Jun 11 16:33:36 2018	(r334961)
@@ -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",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806111633.w5BGXaNF053934>