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/brand/shared/brand/Makefile.com
+++ new/usr/src/lib/brand/shared/brand/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.
15 15 # If applicable, add the following below this CDDL HEADER, with the
↓ open down ↓ |
15 lines elided |
↑ open up ↑ |
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 (c) 2010, Oracle and/or its affiliates. All rights reserved.
23 23 #
24 24 # Copyright 2013 Nexenta Systems, Inc. All rights reserved.
25 25 #
26 +# Copyright (c) 2019, Joyent, Inc.
27 +#
26 28
27 29 COBJS = brand_util.o
28 30 ASOBJS = crt.o handler.o runexe.o
29 31 OFFSETS_SRC = ../common/offsets.in
30 32 OFFSETS_H = assym.h
31 33 OBJECTS = $(COBJS) $(ASOBJS)
32 34 CLOBBERFILES += $(OFFSETS_H)
33 35
34 36 include $(SRC)/lib/Makefile.lib
35 37
36 38 SRCDIR = ../common
37 39 CSRCS = $(COBJS:%o=../common/%c)
38 40 ASSRCS = $(ASOBJS:%o=$(ISASRCDIR)/%s)
39 41 SRCS = $(CSRCS) $(ASSRCS)
40 42
41 43 #
42 44 # Ugh, this is a gross hack. Our assembly routines uses lots of defines
43 45 # to simplify variable access. All these defines work fine for amd64
44 46 # compiles because when compiling for amd64 we use the GNU assembler,
45 47 # gas. For 32-bit code we use the Sun assembler, as. Unfortunatly
46 48 # as does not handle certian constructs that gas does. So rather than
47 49 # make our code less readable, we'll just use gas to compile our 32-bit
48 50 # code as well.
49 51 #
50 52 i386_AS = $(amd64_AS)
51 53
52 54 CPPFLAGS += -D_REENTRANT -U_ASM -I. -I../sys
53 55 CFLAGS += $(CCVERBOSE)
54 56 ASFLAGS = -P $(ASFLAGS_$(CURTYPE)) -D_ASM -I. -I../sys
55 57
56 58 .KEEP_STATE:
57 59
58 60 #
59 61 # build the offset header before trying to compile any files. (it's included
60 62 # by brand_misc.h, so it's needed for all objects, not just assembly ones.)
61 63 #
62 64 # Note we have to build assym.h via its dependency on pics/% so that the
63 65 # target dependent assignment of CTF_FLAGS will be there, otherwise make
64 66 # will see two different commands to build it (endless rebuilds).
65 67 #
66 68 all: pics .WAIT $$(PICS)
↓ open down ↓ |
31 lines elided |
↑ open up ↑ |
67 69
68 70 lint: lintcheck
69 71
70 72 $(OBJECTS:%=pics/%): $(OFFSETS_H)
71 73
72 74 $(OFFSETS_H): $(OFFSETS_SRC)
73 75 $(OFFSETS_CREATE) < $(OFFSETS_SRC) >$@
74 76
75 77 pics/%.o: $(ISASRCDIR)/%.s
76 78 $(COMPILE.s) -o $@ $<
77 - $(POST_PROCESS_O)
79 + $(POST_PROCESS_S_O)
78 80
79 81 include $(SRC)/lib/Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX