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>

*** 19,64 **** # CDDL HEADER END # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. - # Copyright 2016 Joyent, Inc. # # # libc build rules # # This first rule picks up optimized sources for libc variants. # pics/%.o: $(OPTIMIZED_LIBCBASE)/gen/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/crt/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/crt/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/gen/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/gen/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/gen/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/_stack_grow.o: $(LIBCBASE)/../$(TARGET_ARCH)/gen/_stack_grow.s $(BUILD.s) $(LIBCBASE)/../$(TARGET_ARCH)/gen/_stack_grow.s ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/fp/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) --- 19,64 ---- # CDDL HEADER END # # # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # + # Copyright (c) 2019, Joyent, Inc. # # libc build rules # # This first rule picks up optimized sources for libc variants. # pics/%.o: $(OPTIMIZED_LIBCBASE)/gen/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/crt/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/crt/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/gen/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/gen/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/gen/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/_stack_grow.o: $(LIBCBASE)/../$(TARGET_ARCH)/gen/_stack_grow.s $(BUILD.s) $(LIBCBASE)/../$(TARGET_ARCH)/gen/_stack_grow.s ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/fp/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O)
*** 66,100 **** $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/fp/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/fp/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/fp/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/sys/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../common/sys/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/sys/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(MACH)/sys/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(MACH)/sys/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) --- 66,100 ---- $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/fp/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/fp/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/fp/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/sys/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../common/sys/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/sys/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/../$(MACH)/sys/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/../$(MACH)/sys/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O)
*** 102,122 **** $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/sys/%.s $(BUILD.s) ! $(POST_PROCESS_O) # rules to build large file aware objects (xxx64.o from xxx.s or xxx.c) pics/%64.o: $(LIBCBASE)/../common/sys/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%64.o: $(LIBCBASE)/sys/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%64.o: $(LIBCBASE)/gen/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) --- 102,122 ---- $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/sys/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) # rules to build large file aware objects (xxx64.o from xxx.s or xxx.c) pics/%64.o: $(LIBCBASE)/../common/sys/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%64.o: $(LIBCBASE)/sys/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%64.o: $(LIBCBASE)/gen/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O)
*** 243,277 **** $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/threads/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/threads/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/threads/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/unwind/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/unwind/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../port/unwind/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(MACH)/unwind/%.s $(BUILD.s) ! $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../port/sys/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) --- 243,277 ---- $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/threads/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/threads/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/threads/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/unwind/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/unwind/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/../port/unwind/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/../$(MACH)/unwind/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) pics/%.o: $(LIBCBASE)/../port/sys/%.c $(COMPILE.c) -o $@ $< $(POST_PROCESS_O)
*** 279,294 **** $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/$(CRTSRCS)/%.s $(BUILD.s) ! $(POST_PROCESS_O) # $(SRC)/common rules pics/%.o: $(SRC)/common/atomic/$(TARGETMACH)/%.s $(BUILD.s) ! $(POST_PROCESS_O) $(COMOBJS:%=pics/%): $(SRC)/common/util/$$(@F:.o=.c) $(COMPILE.c) -o $@ $(SRC)/common/util/$(@F:.o=.c) $(POST_PROCESS_O) --- 279,294 ---- $(COMPILE.c) -o $@ $< $(POST_PROCESS_O) pics/%.o: $(LIBCBASE)/$(CRTSRCS)/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) # $(SRC)/common rules pics/%.o: $(SRC)/common/atomic/$(TARGETMACH)/%.s $(BUILD.s) ! $(POST_PROCESS_S_O) $(COMOBJS:%=pics/%): $(SRC)/common/util/$$(@F:.o=.c) $(COMPILE.c) -o $@ $(SRC)/common/util/$(@F:.o=.c) $(POST_PROCESS_O)