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>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/libumem/Makefile.targ
+++ new/usr/src/lib/libumem/Makefile.targ
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 # Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
25 +# Copyright (c) 2019, Joyent, Inc.
25 26 #
26 27
27 28 #
28 29 # We build each flavor in a separate make invocation to improve clarity(!) in
29 30 # Makefile.com. The subordinate makes have $(CURTYPE) set to indicate the
30 31 # flavor they're supposed to build. This causes the correct set of source
31 32 # files and compiler and linker flags to be selected.
32 33 #
33 34
34 35 install: $(TYPES:%=install.%)
35 36
36 37 install.library: all.library $(INSTALL_DEPS_library)
37 38 install.standalone: all.standalone $(INSTALL_DEPS_standalone)
38 39
39 40 all: $(TYPES:%=all.%)
40 41
41 42 $(TYPES:%=all.%):
42 43 @$(MAKE) $@.targ CURTYPE=$(@:all.%=%)
43 44
44 45 all.library.targ: $(LIBS)
45 46 all.standalone.targ: $(STANDLIBRARY)
46 47
47 48 lint: $(TYPES:%=lint.%)
48 49
49 50 $(TYPES:%=lint.%):
50 51 @$(MAKE) lintcheck CURTYPE=$(@:lint.%=%)
51 52
52 53 $(STANDLIBRARY): $(OBJS) $(LINKTEST_OBJ)
53 54 $(LD) $(BREDUCE) $(ZDEFS) $(LDFLAGS) -o $@.linktest $(OBJS) $(LINKTEST_OBJ)
54 55 rm $@.linktest
55 56 $(LD) $(LDFLAGS) -o $@ $(OBJS)
56 57
57 58 clobber: $(TYPES:%=clobber.%)
58 59
59 60 $(TYPES:%=clobber.%):
60 61 @$(MAKE) clobber.targ CURTYPE=$(@:clobber.%=%)
61 62
62 63 clobber.targ: clean
63 64 -$(RM) $(CLOBBERTARGFILES)
64 65
65 66 # include library targets
66 67 include ../../Makefile.targ
↓ open down ↓ |
32 lines elided |
↑ open up ↑ |
67 68
68 69 $(PICS): pics
69 70 $(OBJS): objs
70 71
71 72 objs/%.o pics/%.o: $(ISASRCDIR)/%.c
72 73 $(COMPILE.c) -o $@ $<
73 74 $(POST_PROCESS_O)
74 75
75 76 objs/%.o pics/%.o: $(ISASRCDIR)/%.s
76 77 $(COMPILE.s) -o $@ $<
77 - $(POST_PROCESS_O)
78 + $(POST_PROCESS_S_O)
78 79
79 80 objs/%.o pics/%.o: ../common/%.c
80 81 $(COMPILE.c) -o $@ $<
81 82 $(POST_PROCESS_O)
82 83
83 84 # install rule for lint library target
84 85 $(ROOTLINTDIR)/%: ../common/%
85 86 $(INS.file)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX