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/uts/intel/aes/Makefile
+++ new/usr/src/uts/intel/aes/Makefile
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 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
22 22 #
23 23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 #
26 -# This makefile drives the production of the AES KEF provider.
26 +# Copyright (c) 2019, Joyent, Inc.
27 27 #
28 -# Intel implementation architecture dependent
29 -#
30 28
31 29 #
32 30 # Path to the base of the uts directory tree (usually /usr/src/uts).
33 31 #
34 32 UTSBASE = ../..
35 33 COM_DIR = $(COMMONBASE)/crypto/aes
36 34
37 35 #
38 36 # Define the module and object file sets.
39 37 #
40 38 MODULE = aes
41 39 LINTS = $(AESPROV_OBJS:%.o=$(LINTS_DIR)/%.ln)
42 40 AESPROV_OBJS_32 =
43 41 AESPROV_OBJS_64 = aes_amd64.o aes_intel.o aeskey.o
44 42 AESPROV_OBJS += $(AESPROV_OBJS_$(CLASS))
45 43 OBJECTS = $(AESPROV_OBJS:%=$(OBJS_DIR)/%)
46 44 ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
47 45
48 46 #
49 47 # Include common rules.
50 48 #
51 49 include $(UTSBASE)/intel/Makefile.intel
52 50
53 51 #
54 52 # Define targets
55 53 #
56 54 ALL_TARGET = $(BINARY)
57 55 LINT_TARGET = $(MODULE).lint
58 56 INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
59 57
60 58 #
61 59 # Linkage dependencies
62 60 #
63 61 LDFLAGS += -dy -Nmisc/kcf
64 62
65 63 CPPFLAGS += -I$(COM_DIR) -I$(COM_DIR)/..
66 64 CPPFLAGS += -DCRYPTO_PROVIDER_NAME=\"$(MODULE)\"
67 65 AS_CPPFLAGS += -I../../$(PLATFORM)
68 66
69 67 #
70 68 # Default build targets.
71 69 #
72 70 .KEEP_STATE:
73 71
74 72 def: $(DEF_DEPS)
75 73
76 74 all: $(ALL_DEPS)
77 75
78 76 clean: $(CLEAN_DEPS)
79 77
80 78 clobber: $(CLOBBER_DEPS)
81 79
82 80 lint: $(LINT_DEPS)
83 81
84 82 modlintlib: $(MODLINTLIB_DEPS)
85 83
86 84 clean.lint: $(CLEAN_LINT_DEPS)
87 85
88 86 install: $(INSTALL_DEPS)
89 87
↓ open down ↓ |
50 lines elided |
↑ open up ↑ |
90 88 #
91 89 # Include common targets.
92 90 #
93 91 include $(UTSBASE)/intel/Makefile.targ
94 92
95 93 $(OBJS_DIR)/%.ln: $(COM_DIR)/amd64/%.c
96 94 @($(LHEAD) $(LINT.c) $(COM_DIR)/amd64/${@F:.ln=.c} $(LTAIL))
97 95
98 96 $(OBJS_DIR)/%.o: $(COM_DIR)/amd64/%.c
99 97 $(COMPILE.c) -o $@ $(COM_DIR)/amd64/${@F:.o=.c}
100 - $(POST_PROCESS_O)
98 + $(CTFCONVERT_O)
101 99
102 100 $(OBJS_DIR)/%.o: $(COM_DIR)/amd64/%.s
103 101 $(COMPILE.s) -o $@ $(COM_DIR)/amd64/${@F:.o=.s}
104 - $(POST_PROCESS_O)
105 102
106 103 $(OBJS_DIR)/%.ln: $(COM_DIR)/amd64/%.s
107 104 @($(LHEAD) $(LINT.s) $(COM_DIR)/amd64/${@F:.ln=.s} $(LTAIL))
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX