Lines Matching +full:build +full:- +full:rules

23         Usage: gendwarfksyms [options] elf-object-file ... < symbol-list
26 -d, --debug Print debugging information
27 --dump-dies Dump DWARF DIE contents
28 --dump-die-map Print debugging information about die_map changes
29 --dump-types Dump type strings
30 --dump-versions Dump expanded type strings used for symbol versions
31 -s, --stable Support kABI stability features
32 -T, --symtypes file Write a symtypes file
33 -h, --help Print this message
42 versions for exports in stand-alone assembly code.
67 symtypes files during a kernel build, set `KBUILD_SYMTYPES=1`.
71 one-letter prefix followed by "#" and the name of the type. Four
84 produces C-style type strings, gendwarfksyms uses the same simple parsed
85 DWARF format produced by **--dump-dies**, but with type references
97 features are all gated behind the **--stable** command line flag and are
99 build, set `KBUILD_GENDWARFKSYMS_STABLE=1`.
107 4.1. kABI rules
110 kABI rules allow distributions to fine-tune certain parts
112 versions are calculated. These rules are defined in the
114 consist of simple null-terminated strings with the following structure::
119 the rules. The fields are as follows:
121 - `version`: Ensures backward compatibility for future changes to the
123 - `type`: Indicates the type of rule being applied.
124 - `target`: Specifies the target of the rule, typically the fully
126 - `value`: Provides rule-specific data.
128 The following helper macro, for example, can be used to specify rules
138 Currently, only the rules discussed in this section are supported, but
139 the format is extensible enough to allow further rules to be added as
148 it may not be possible to drop includes without breaking the build, the
149 `declonly` rule can be used to specify a type as declaration-only, even
154 - `type`: "declonly"
155 - `target`: The fully qualified name of the target data structure
156 (as shown in **--dump-dies** output).
157 - `value`: This field is ignored.
181 - `type`: "enumerator_ignore"
182 - `target`: The fully qualified name of the target enum
183 (as shown in **--dump-dies** output) and the name of the
185 - `value`: This field is ignored.
206 - `type`: "enumerator_value"
207 - `target`: The fully qualified name of the target enum
208 (as shown in **--dump-dies** output) and the name of the
210 - `value`: Integer value used for the field.
231 distribution maintainers can pre-emptively reserve space in the
234 alignment holes can potentially be used instead. While kABI rules could
288 /* a 4-byte alignment hole */
308 With **--stable**, both versions produce the same symbol version.