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/cmd/sgs/rtld/Makefile.targ
+++ new/usr/src/cmd/sgs/rtld/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.
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]
↓ open down ↓ |
17 lines elided |
↑ open up ↑ |
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright 2010 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 #
26 26 # Copyright 2019 OmniOS Community Edition (OmniOSce) Association.
27 27 #
28 +# Copyright (c) 2019, Joyent, Inc.
29 +#
28 30
29 31 # Don't generate separate sections for this module
30 32 pics/debugdata.o := XFFLAG=
31 33
32 34 # Since we use RTLD rather than DYNLIB, we must explicitly hook in ctfmerge.
33 35 $(RTLD) := CTFMERGE_POST = $(CTFMERGE_LIB)
34 36
35 37 pics/%.o: %.s
36 38 $(BUILD.s)
37 - $(POST_PROCESS_O)
39 + $(POST_PROCESS_S_O)
38 40
39 41 pics/%.o: $(CRTSRCS)/%.s
40 42 $(BUILD.s)
41 - $(POST_PROCESS_O)
43 + $(POST_PROCESS_S_O)
42 44
43 45 pics/%.o: %.c
44 46 $(COMPILE.c) -o $@ $<
45 47 $(POST_PROCESS_O)
46 48
47 49 pics/%.o: ../common/%.c
48 50 $(COMPILE.c) -o $@ $<
49 51 $(POST_PROCESS_O)
50 52
51 53 pics/%.o: $(VAR_AVLDIR)/%.c
52 54 $(COMPILE.c) -o $@ $<
53 55 $(POST_PROCESS_O)
54 56
55 57 pics/%.o: $(VAR_DTRDIR)/%.c
56 58 $(COMPILE.c) -o $@ $<
57 59 $(POST_PROCESS_O)
58 60
59 61 pics/%.o: $(SGSTOOLS)/common/%.c
60 62 $(COMPILE.c) -o $@ $<
61 63 $(POST_PROCESS_O)
62 64
63 65 pics/%.o: $(SRCBASE)/uts/$(PLAT)/krtld/%.c
64 66 $(COMPILE.c) -o $@ $<
65 67 $(POST_PROCESS_O)
66 68
67 69 pics/elfcap.o: $(ELFCAP)/elfcap.c
68 70 $(COMPILE.c) -o $@ $(ELFCAP)/elfcap.c
69 71 $(POST_PROCESS_O)
70 72
71 73 $(RTLD): pics $(PICS) $(CRTS)
72 74 $(LD_USE_PROTO)ld -o $@ -dy -G $(DYNFLAGS) $(CRTI) $(PICS) \
73 75 $(LDLIBS) $(CRTN)
74 76 $(POST_PROCESS_SO)
75 77
76 78 delete:
77 79 -$(RM) $(RTLD)
78 80
79 81 $(ROOTFS_LIBDIR)/%: %
80 82 $(INS.file)
81 83
82 84 $(ETCLIBDIR)/%: %
83 85 $(INS.file)
84 86
85 87 include $(SRC)/lib/Makefile.targ
86 88 include $(SRC)/cmd/sgs/Makefile.targ
87 89
88 90 # Derived source and header files (messaging).
89 91
90 92 catalog: $(BLTMESG)
91 93
92 94 chkmsg := SGSMSGCHK=../common/rtld.chk.msg
93 95
94 96 chkmsg: $(SRCS) $(CHKSRCS)
95 97 sh $(CHKMSG) $(CHKMSGFLAGS) $(SRCS) $(CHKSRCS)
96 98
97 99 $(BLTDEFS) + \
98 100 $(BLTDATA) : $(SGSMSGTARG)
99 101 $(SGSMSG) $(SGSMSGFLAGS2) $(SGSMSGTARG)
100 102
101 103 $(BLTMESG) : $(SGSMSGALL)
102 104 $(SGSMSG) $(SGSMSGFLAGS1) $(SGSMSGALL)
↓ open down ↓ |
51 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX