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/sha2/Makefile
+++ new/usr/src/uts/intel/sha2/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.
↓ 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 2009 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 -#
26 -# This makefile drives the production of the sha2 crypto kernel module.
27 -#
28 -# intel architecture dependent
29 -#
25 +# Copyright (c) 2019, Joyent, Inc.
30 26
31 27 #
32 28 # Path to the base of the uts directory tree (usually /usr/src/uts).
33 29 #
34 30 UTSBASE = ../..
35 31 COMDIR = $(COMMONBASE)/crypto
36 32
37 33 #
38 34 # Define the module and object file sets.
39 35 #
40 36 MODULE = sha2
41 37 SHA2_OBJS_32 =
42 38 SHA2_OBJS_64 = sha512-x86_64.o sha256-x86_64.o
43 39 SHA2_OBJS += $(SHA2_OBJS_$(CLASS))
44 40 OBJECTS = $(SHA2_OBJS:%=$(OBJS_DIR)/%)
45 41 LINTS = $(SHA2_OBJS:%.o=$(LINTS_DIR)/%.ln)
46 42 ROOTMODULE = $(ROOT_CRYPTO_DIR)/$(MODULE)
47 43 ROOTLINK = $(ROOT_MISC_DIR)/$(MODULE)
48 44
49 45 #
50 46 # Include common rules.
51 47 #
52 48 include $(UTSBASE)/intel/Makefile.intel
53 49
54 50 #
55 51 # Override defaults
56 52 #
57 53 CLEANFILES += sha512-x86_64.s sha256-x86_64.s
58 54
59 55 #
60 56 # Define targets
61 57 #
62 58 ALL_TARGET = $(BINARY)
63 59 LINT_TARGET = $(MODULE).lint
64 60 INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
65 61
66 62 #
67 63 # Linkage dependencies
68 64 #
69 65 LDFLAGS += -dy -Nmisc/kcf
70 66
71 67 CFLAGS += -I$(COMDIR)
72 68 LINTFLAGS += -I$(COMDIR)
73 69
74 70 CERRWARN += -_gcc=-Wno-switch
75 71 CERRWARN += -_gcc=-Wno-uninitialized
76 72
77 73 #
78 74 # Default build targets.
79 75 #
80 76 .KEEP_STATE:
81 77
82 78 def: $(DEF_DEPS)
83 79
84 80 all: $(ALL_DEPS)
85 81
86 82 clean: $(CLEAN_DEPS)
87 83
88 84 clobber: $(CLOBBER_DEPS)
89 85
90 86 lint: $(LINT_DEPS)
91 87
92 88 modlintlib: $(MODLINTLIB_DEPS)
93 89
94 90 clean.lint: $(CLEAN_LINT_DEPS)
95 91
96 92 install: $(INSTALL_DEPS)
97 93
↓ open down ↓ |
58 lines elided |
↑ open up ↑ |
98 94 $(ROOTLINK): $(ROOT_MISC_DIR) $(ROOTMODULE)
99 95 -$(RM) $@; ln $(ROOTMODULE) $@
100 96
101 97 #
102 98 # Include common targets.
103 99 #
104 100 include $(UTSBASE)/intel/Makefile.targ
105 101
106 102 $(OBJS_DIR)/%.o: %.s
107 103 $(COMPILE.s) -o $@ ${@F:.o=.s}
108 - $(POST_PROCESS_O)
109 104
110 105 $(OBJS_DIR)/%.ln: %.s
111 106 @($(LHEAD) $(LINT.c) ${@F:.ln=.s} $(LTAIL))
112 107
113 108 sha512-x86_64.s: $(COMDIR)/sha2/amd64/sha512-x86_64.pl
114 109 $(PERL) $? $@
115 110
116 111 sha256-x86_64.s: $(COMDIR)/sha2/amd64/sha512-x86_64.pl
117 112 $(PERL) $? $@
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX