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,975 **** AS_BIGPICFLAGS= -K PIC # # Default label for CTF sections # ! CTFCVTFLAGS= -i -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. --- 965,975 ---- AS_BIGPICFLAGS= -K PIC # # Default label for CTF sections # ! 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,1002 **** 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. # 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. --- 988,1005 ---- 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 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,1053 **** --- 1047,1058 ---- 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,1099 **** $(PROCESS_COMMENT) $% $(AR) $(ARFLAGS) $@ $% $(RM) $% .s.o: $(COMPILE.s) -o $@ $< ! $(POST_PROCESS_O) .s.a: $(COMPILE.s) -o $% $< $(PROCESS_COMMENT) $% $(AR) $(ARFLAGS) $@ $% $(RM) $% --- 1094,1104 ---- $(PROCESS_COMMENT) $% $(AR) $(ARFLAGS) $@ $% $(RM) $% .s.o: $(COMPILE.s) -o $@ $< ! $(POST_PROCESS_S_O) .s.a: $(COMPILE.s) -o $% $< $(PROCESS_COMMENT) $% $(AR) $(ARFLAGS) $@ $% $(RM) $%
*** 1100,1110 **** .cc: $(LINK.cc) -o $@ $< $(LDLIBS) $(POST_PROCESS) .cc.o: $(COMPILE.cc) $(OUTPUT_OPTION) $< ! $(POST_PROCESS_O) .cc.a: $(COMPILE.cc) -o $% $< $(AR) $(ARFLAGS) $@ $% $(PROCESS_COMMENT) $% $(RM) $% --- 1105,1115 ---- .cc: $(LINK.cc) -o $@ $< $(LDLIBS) $(POST_PROCESS) .cc.o: $(COMPILE.cc) $(OUTPUT_OPTION) $< ! $(POST_PROCESS_CC_O) .cc.a: $(COMPILE.cc) -o $% $< $(AR) $(ARFLAGS) $@ $% $(PROCESS_COMMENT) $% $(RM) $%