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>
@@ -965,11 +965,11 @@
AS_BIGPICFLAGS= -K PIC
#
# Default label for CTF sections
#
-CTFCVTFLAGS= -i -L VERSION
+CTFCVTFLAGS= -L VERSION
#
# Override to pass module-specific flags to ctfmerge. Currently used only by
# krtld to turn on fuzzy matching, and source-level debugging to inhibit
# stripping.
@@ -988,15 +988,18 @@
CTFCONVERT_O = $(CTFCONVERT) $(CTFCVTFLAGS) $@
# Rules (normally from make.rules) and macros which are used for post
# processing files. Normally, these do stripping of the comment section
# automatically.
-# RELEASE_CM: Should be editted to reflect the release.
-# POST_PROCESS_O: Post-processing for `.o' files.
+# RELEASE_CM: Should be edited to reflect the release.
+# POST_PROCESS_O: Post-processing for `.o' files (typically C source)
+# POST_PROCESS_S_O: Post-processing for `.o' files built from asssembly
+# POST_PROCESS_CC_O: Post-processing for `.o' files built from C++
# POST_PROCESS_A: Post-processing for `.a' files (currently null).
# POST_PROCESS_SO: Post-processing for `.so' files.
# POST_PROCESS: Post-processing for executable files (no suffix).
+#
# Note that these macros are not completely generalized as they are to be
# used with the file name to be processed following.
#
# It is left as an exercise to Release Engineering to embellish the generation
# of the release comment string.
@@ -1044,10 +1047,12 @@
STRIP_STABS= $(STRIP) -x $@
$(SRCDBGBLD)STRIP_STABS= :
POST_PROCESS_O=
+POST_PROCESS_S_O=
+POST_PROCESS_CC_O=
POST_PROCESS_A=
POST_PROCESS_SO= $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
$(ELFSIGN_OBJECT)
POST_PROCESS= $(PROCESS_COMMENT) $@ ; $(STRIP_STABS) ; \
$(ELFSIGN_OBJECT)
@@ -1089,11 +1094,11 @@
$(PROCESS_COMMENT) $%
$(AR) $(ARFLAGS) $@ $%
$(RM) $%
.s.o:
$(COMPILE.s) -o $@ $<
- $(POST_PROCESS_O)
+ $(POST_PROCESS_S_O)
.s.a:
$(COMPILE.s) -o $% $<
$(PROCESS_COMMENT) $%
$(AR) $(ARFLAGS) $@ $%
$(RM) $%
@@ -1100,11 +1105,11 @@
.cc:
$(LINK.cc) -o $@ $< $(LDLIBS)
$(POST_PROCESS)
.cc.o:
$(COMPILE.cc) $(OUTPUT_OPTION) $<
- $(POST_PROCESS_O)
+ $(POST_PROCESS_CC_O)
.cc.a:
$(COMPILE.cc) -o $% $<
$(AR) $(ARFLAGS) $@ $%
$(PROCESS_COMMENT) $%
$(RM) $%