Print this page
10816 ctf_dwarf_convert_type() relies on un-initialized id
10817 ctfconvert -i option is mis-handled
10818 Improve ctfconvert error messages
10819 ctfconvert should handle empty dies
10820 ctfconvert -i never converts
10821 bad free in ctf_dwarf_init_die
10815 shouldn't build gcore.c as part of kmdb
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>


   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  22 # Copyright 2015 Gary Mills
  23 # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
  24 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  25 # Copyright (c) 2015, Joyent, Inc.
  26 #
  27 #
  28 # Definitions common to libraries.
  29 #
  30 # include global definitions; SRC should be defined in the shell.
  31 # SRC is needed until RFE 1026993 is implemented.
  32 
  33 include         $(SRC)/Makefile.master
  34 
  35 LORDER=         lorder
  36 TSORT=          tsort
  37 
  38 #
  39 # By default, we define the source directory for libraries to be
  40 # one level up from the ISA-specific directory, where the code is
  41 # actually built.  Many libraries define a 'common' directory to
  42 # contain the source.  These libraries must redefine SRCDIR as:
  43 #       SRCDIR = ../common
  44 # Other variations are possible (../port, ../src, etc).
  45 #


 195 $(DYNLIB):=     DIR = pics
 196 $(DYNLIBCCC):=  DIR = pics
 197 
 198 SONAMECCC=      $(DYNLIBCCC)
 199 HSONAMECCC=     -h $(SONAMECCC)
 200 #
 201 # Keep in sync with the standard DYNFLAGS
 202 #
 203 $(DYNLIBCCC):=  DYNFLAGS = $(HSONAMECCC) $(ZTEXT) $(ZDEFS) \
 204                 $(MAPFILES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%) \
 205                 $(BDIRECT) $(NORUNPATH)
 206 
 207 
 208 # build rule for "portable" source
 209 objs/%.o pics/%.o: %.c
 210         $(COMPILE.c) -o $@ $<
 211         $(POST_PROCESS_O)
 212 
 213 objs/%.o pics/%.o: %.cc
 214         $(COMPILE.cc) -o $@ $<
 215         $(POST_PROCESS_O)
 216 
 217 .PRECIOUS: $(LIBS)
 218 
 219 # Define the majority text domain in this directory.
 220 TEXT_DOMAIN= SUNW_OST_OSLIB
 221 
 222 #
 223 # Target Architecture
 224 #
 225 TARGETMACH=     $(MACH)
 226 
 227 #
 228 # Allow people to define their own clobber rules.  Normal makefiles
 229 # shouldn't override this - they should override $(CLOBBERFILES) instead.
 230 #
 231 CLOBBERTARGFILES= $(LIBS) $(DYNLIB) $(CLOBBERFILES)
 232 
 233 #
 234 # Define the default ctfdiff invocation used to check a list of types
 235 # supplied by a user of a library. The goal is to validate that a given


   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
  22 # Copyright 2015 Gary Mills
  23 # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
  24 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
  25 # Copyright 2019, Joyent, Inc.
  26 #
  27 #
  28 # Definitions common to libraries.
  29 #
  30 # include global definitions; SRC should be defined in the shell.
  31 # SRC is needed until RFE 1026993 is implemented.
  32 
  33 include         $(SRC)/Makefile.master
  34 
  35 LORDER=         lorder
  36 TSORT=          tsort
  37 
  38 #
  39 # By default, we define the source directory for libraries to be
  40 # one level up from the ISA-specific directory, where the code is
  41 # actually built.  Many libraries define a 'common' directory to
  42 # contain the source.  These libraries must redefine SRCDIR as:
  43 #       SRCDIR = ../common
  44 # Other variations are possible (../port, ../src, etc).
  45 #


 195 $(DYNLIB):=     DIR = pics
 196 $(DYNLIBCCC):=  DIR = pics
 197 
 198 SONAMECCC=      $(DYNLIBCCC)
 199 HSONAMECCC=     -h $(SONAMECCC)
 200 #
 201 # Keep in sync with the standard DYNFLAGS
 202 #
 203 $(DYNLIBCCC):=  DYNFLAGS = $(HSONAMECCC) $(ZTEXT) $(ZDEFS) \
 204                 $(MAPFILES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%) \
 205                 $(BDIRECT) $(NORUNPATH)
 206 
 207 
 208 # build rule for "portable" source
 209 objs/%.o pics/%.o: %.c
 210         $(COMPILE.c) -o $@ $<
 211         $(POST_PROCESS_O)
 212 
 213 objs/%.o pics/%.o: %.cc
 214         $(COMPILE.cc) -o $@ $<
 215         $(POST_PROCESS_CC_O)
 216 
 217 .PRECIOUS: $(LIBS)
 218 
 219 # Define the majority text domain in this directory.
 220 TEXT_DOMAIN= SUNW_OST_OSLIB
 221 
 222 #
 223 # Target Architecture
 224 #
 225 TARGETMACH=     $(MACH)
 226 
 227 #
 228 # Allow people to define their own clobber rules.  Normal makefiles
 229 # shouldn't override this - they should override $(CLOBBERFILES) instead.
 230 #
 231 CLOBBERTARGFILES= $(LIBS) $(DYNLIB) $(CLOBBERFILES)
 232 
 233 #
 234 # Define the default ctfdiff invocation used to check a list of types
 235 # supplied by a user of a library. The goal is to validate that a given