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/libtnfctl/Makefile.com
+++ new/usr/src/lib/libtnfctl/Makefile.com
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 2006 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 -# Copyright (c) 2018, Joyent, Inc.
25 +# Copyright (c) 2019, Joyent, Inc.
26 26
27 27 LIBRARY= libtnfctl.a
28 28 VERS= .1
29 29 OBJECTS.c= open.o \
30 30 prb_child.o \
31 31 prb_shmem.o \
32 32 prb_proc.o \
33 33 prb_lmap.o \
34 34 prb_rtld.o \
35 35 prb_findexec.o \
36 36 prb_status.o \
37 37 util.o \
38 38 traverse.o \
39 39 sym.o \
40 40 elf.o \
41 41 continue.o \
42 42 checklib.o \
43 43 probes.o \
44 44 probes_ext.o \
45 45 close.o \
46 46 targmem.o \
47 47 comb.o \
48 48 kernel_int.o \
49 49 kernel.o \
50 50 internal.o \
51 51 status.o
52 52
53 53
54 54 OBJECTS.s= $(MACH)_assm.o
55 55
56 56 OBJECTS= $(OBJECTS.c) $(OBJECTS.s)
57 57
58 58 include ../../Makefile.lib
59 59
60 60 # We omit $(OBJECTS.s:%.o=%.s) in the next line, because lint no like
61 61 SRCS= $(OBJECTS.c:%.o=../%.c)
62 62
63 63 LIBS= $(DYNLIB)
64 64
65 65 HDRS= tnfctl.h
66 66 ROOTHDRDIR= $(ROOT)/usr/include/tnf
67 67 ROOTHDRS= $(HDRS:%=$(ROOTHDRDIR)/%)
68 68 CHECKHDRS= $(HDRS:%.h=%.check)
69 69 $(ROOTHDRS) := FILEMODE = 0644
70 70 CHECKHDRS = $(HDRS:%.h=%.check)
71 71
72 72 LDLIBS += -lc -lelf
73 73
74 74 CPPFLAGS += -I$(SRC)/lib/libtnfprobe -D_REENTRANT -I$(SRC)/cmd/sgs/include
75 75
76 76 LINTFLAGS += -y
77 77
78 78 CERRWARN += -_gcc=-Wno-uninitialized
79 79 CERRWARN += -_gcc=-Wno-empty-body
80 80 CERRWARN += -_gcc=-Wno-parentheses
81 81
82 82 # not linted
83 83 SMATCH=off
84 84
85 85 ASFLAGS += -P
86 86
87 87 $(ROOTHDRS) := FILEMODE = 644
88 88
89 89 .KEEP_STATE:
90 90
91 91 all: $(LIBS)
92 92
93 93 install_h: $(ROOTHDRDIR) $(ROOTHDRS)
94 94
95 95 lint:
96 96 $(LINT.c) $(SRCS)
97 97
98 98 check: $(CHECKHDRS)
99 99
↓ open down ↓ |
64 lines elided |
↑ open up ↑ |
100 100 $(ROOTLIBDIR) $(ROOTHDRDIR):
101 101 $(INS.dir)
102 102
103 103 $(ROOTHDRDIR)/% : %
104 104 $(INS.file)
105 105
106 106 BUILD.s= $(AS) $< -o $@
107 107
108 108 objs/%.o pics/%.o: ../%.s
109 109 $(COMPILE.s) -o $@ $<
110 - $(POST_PROCESS_O)
110 + $(POST_PROCESS_S_O)
111 111
112 112 objs/%.o pics/%.o: ../%.c
113 113 $(COMPILE.c) -o $@ $<
114 114 $(POST_PROCESS_O)
115 115
116 116
117 117 %.o: ../%.c
118 118 $(COMPILE.c) -o $@ $<
119 119 $(POST_PROCESS_O)
120 120
121 121 include ../../Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX