2005-05-01 15:59:10 +00:00
|
|
|
*.a
|
|
|
|
*.aux
|
2012-11-14 09:55:00 +00:00
|
|
|
*.bc
|
2005-05-01 15:59:10 +00:00
|
|
|
*.bin
|
2011-05-23 18:55:42 +00:00
|
|
|
*.bz2
|
2016-05-23 22:09:38 +00:00
|
|
|
*.c.[012]*.*
|
2011-05-23 18:55:42 +00:00
|
|
|
*.cis
|
2005-05-01 15:59:10 +00:00
|
|
|
*.cpio
|
2008-10-16 05:01:48 +00:00
|
|
|
*.csp
|
|
|
|
*.dsp
|
2005-05-01 15:59:10 +00:00
|
|
|
*.dvi
|
2008-10-16 05:01:48 +00:00
|
|
|
*.elf
|
2005-05-01 15:59:10 +00:00
|
|
|
*.eps
|
2008-09-01 22:09:51 +00:00
|
|
|
*.fw
|
2011-05-23 18:55:42 +00:00
|
|
|
*.gcno
|
|
|
|
*.gcov
|
2008-10-16 05:01:48 +00:00
|
|
|
*.gen.S
|
2005-05-01 15:59:10 +00:00
|
|
|
*.gif
|
|
|
|
*.grep
|
|
|
|
*.grp
|
|
|
|
*.gz
|
|
|
|
*.html
|
2007-05-23 20:58:03 +00:00
|
|
|
*.i
|
2005-05-01 15:59:10 +00:00
|
|
|
*.jpeg
|
|
|
|
*.ko
|
2012-11-14 09:55:00 +00:00
|
|
|
*.ll
|
2005-05-01 15:59:10 +00:00
|
|
|
*.log
|
|
|
|
*.lst
|
2011-05-23 18:55:42 +00:00
|
|
|
*.lzma
|
|
|
|
*.lzo
|
|
|
|
*.mo
|
2007-05-23 20:58:03 +00:00
|
|
|
*.moc
|
kbuild: create *.mod with full directory path and remove MODVERDIR
While descending directories, Kbuild produces objects for modules,
but do not link final *.ko files; it is done in the modpost.
To keep track of modules, Kbuild creates a *.mod file in $(MODVERDIR)
for every module it is building. Some post-processing steps read the
necessary information from *.mod files. This avoids descending into
directories again. This mechanism was introduced in 2003 or so.
Later, commit 551559e13af1 ("kbuild: implement modules.order") added
modules.order. So, we can simply read it out to know all the modules
with directory paths. This is easier than parsing the first line of
*.mod files.
$(MODVERDIR) has a flat directory structure, that is, *.mod files
are named only with base names. This is based on the assumption that
the module name is unique across the tree. This assumption is really
fragile.
Stephen Rothwell reported a race condition caused by a module name
conflict:
https://lkml.org/lkml/2019/5/13/991
In parallel building, two different threads could write to the same
$(MODVERDIR)/*.mod simultaneously.
Non-unique module names are the source of all kind of troubles, hence
commit 3a48a91901c5 ("kbuild: check uniqueness of module names")
introduced a new checker script.
However, it is still fragile in the build system point of view because
this race happens before scripts/modules-check.sh is invoked. If it
happens again, the modpost will emit unclear error messages.
To fix this issue completely, create *.mod with full directory path
so that two threads never attempt to write to the same file.
$(MODVERDIR) is no longer needed.
Since modules with directory paths are listed in modules.order, Kbuild
is still able to find *.mod files without additional descending.
I also killed cmd_secanalysis; scripts/mod/sumversion.c computes MD4 hash
for modules with MODULE_VERSION(). When CONFIG_DEBUG_SECTION_MISMATCH=y,
it occurs not only in the modpost stage, but also during directory
descending, where sumversion.c may parse stale *.mod files. It would emit
'No such file or directory' warning when an object consisting a module is
renamed, or when a single-obj module is turned into a multi-obj module or
vice versa.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
2019-07-17 06:17:57 +00:00
|
|
|
*.mod
|
2005-05-01 15:59:10 +00:00
|
|
|
*.mod.c
|
|
|
|
*.o
|
2007-07-31 07:37:26 +00:00
|
|
|
*.o.*
|
2011-05-23 18:55:42 +00:00
|
|
|
*.order
|
2005-05-01 15:59:10 +00:00
|
|
|
*.orig
|
|
|
|
*.out
|
2011-05-23 18:55:42 +00:00
|
|
|
*.patch
|
2005-05-01 15:59:10 +00:00
|
|
|
*.pdf
|
2012-11-14 09:55:00 +00:00
|
|
|
*.plist
|
2005-05-01 15:59:10 +00:00
|
|
|
*.png
|
2011-05-23 18:55:42 +00:00
|
|
|
*.pot
|
2005-05-01 15:59:10 +00:00
|
|
|
*.ps
|
|
|
|
*.rej
|
|
|
|
*.s
|
|
|
|
*.sgml
|
|
|
|
*.so
|
2008-10-16 05:01:48 +00:00
|
|
|
*.so.dbg
|
2007-05-23 20:58:03 +00:00
|
|
|
*.symtypes
|
|
|
|
*.tab.c
|
|
|
|
*.tab.h
|
2005-05-01 15:59:10 +00:00
|
|
|
*.tex
|
|
|
|
*.ver
|
2005-05-05 23:15:52 +00:00
|
|
|
*.xml
|
2011-05-23 18:55:42 +00:00
|
|
|
*.xz
|
2020-07-30 19:08:41 +00:00
|
|
|
*.zst
|
2005-05-01 15:59:10 +00:00
|
|
|
*_MODULES
|
|
|
|
*_vga16.c
|
2005-04-16 22:25:56 +00:00
|
|
|
*~
|
2011-05-23 18:55:42 +00:00
|
|
|
\#*#
|
2007-05-23 20:58:03 +00:00
|
|
|
*.9
|
2005-05-01 15:59:10 +00:00
|
|
|
.*
|
2011-05-23 18:55:42 +00:00
|
|
|
.*.d
|
2007-10-17 06:30:30 +00:00
|
|
|
.mm
|
2005-05-01 15:59:10 +00:00
|
|
|
53c700_d.h
|
|
|
|
CVS
|
|
|
|
ChangeSet
|
2011-05-23 18:55:42 +00:00
|
|
|
GPATH
|
|
|
|
GRTAGS
|
|
|
|
GSYMS
|
|
|
|
GTAGS
|
2005-07-16 15:43:49 +00:00
|
|
|
Image
|
2008-10-16 05:01:48 +00:00
|
|
|
Module.markers
|
2005-05-01 15:59:10 +00:00
|
|
|
Module.symvers
|
|
|
|
PENDING
|
|
|
|
SCCS
|
|
|
|
System.map*
|
|
|
|
TAGS
|
2011-05-23 18:55:42 +00:00
|
|
|
aconf
|
|
|
|
af_names.h
|
2005-04-16 22:25:56 +00:00
|
|
|
aic7*reg.h*
|
|
|
|
aic7*reg_print.c*
|
2005-05-01 15:59:10 +00:00
|
|
|
aic7*seq.h*
|
2005-04-16 22:25:56 +00:00
|
|
|
aicasm
|
|
|
|
aicdb.h*
|
2011-05-23 18:55:42 +00:00
|
|
|
altivec*.c
|
2007-05-02 17:27:21 +00:00
|
|
|
asm-offsets.h
|
|
|
|
asm_offsets.h
|
2005-04-16 22:25:56 +00:00
|
|
|
autoconf.h*
|
2009-10-22 19:38:26 +00:00
|
|
|
av_permissions.h
|
2005-04-16 22:25:56 +00:00
|
|
|
bbootsect
|
|
|
|
binkernel.spec
|
|
|
|
bootsect
|
2008-10-16 05:01:48 +00:00
|
|
|
bounds.h
|
2005-04-16 22:25:56 +00:00
|
|
|
bsetup
|
|
|
|
btfixupprep
|
|
|
|
build
|
|
|
|
bvmlinux
|
|
|
|
bzImage*
|
2011-05-23 18:55:42 +00:00
|
|
|
capability_names.h
|
2011-01-06 00:27:15 +00:00
|
|
|
capflags.c
|
2005-04-16 22:25:56 +00:00
|
|
|
classlist.h*
|
|
|
|
comp*.log
|
2005-05-01 15:59:10 +00:00
|
|
|
compile.h*
|
2007-05-23 20:58:03 +00:00
|
|
|
conf
|
2005-04-16 22:25:56 +00:00
|
|
|
config
|
|
|
|
config-*
|
2011-05-23 18:55:42 +00:00
|
|
|
config.mak
|
|
|
|
config.mak.autogen
|
2005-04-16 22:25:56 +00:00
|
|
|
conmakehash
|
|
|
|
consolemap_deftbl.c*
|
2008-10-16 05:01:48 +00:00
|
|
|
cpustr.h
|
2005-05-01 15:59:10 +00:00
|
|
|
crc32table.h*
|
2005-04-16 22:25:56 +00:00
|
|
|
cscope.*
|
2008-10-16 05:01:48 +00:00
|
|
|
defkeymap.c
|
2005-04-16 22:25:56 +00:00
|
|
|
devlist.h*
|
2017-01-16 22:31:15 +00:00
|
|
|
devicetable-offsets.h
|
2011-05-23 18:55:42 +00:00
|
|
|
dnotify_test
|
|
|
|
dslm
|
2017-01-16 22:31:15 +00:00
|
|
|
dtc
|
2007-05-23 20:58:03 +00:00
|
|
|
elf2ecoff
|
2005-05-01 15:59:10 +00:00
|
|
|
elfconfig.h*
|
2011-01-06 00:27:15 +00:00
|
|
|
evergreen_reg_safe.h
|
2005-04-16 22:25:56 +00:00
|
|
|
fixdep
|
2009-10-22 19:38:26 +00:00
|
|
|
flask.h
|
2005-04-16 22:25:56 +00:00
|
|
|
fore200e_mkfirm
|
|
|
|
fore200e_pca_fw.c*
|
2007-05-23 20:58:03 +00:00
|
|
|
gconf
|
2019-04-29 14:53:50 +00:00
|
|
|
gconf-cfg
|
2005-04-16 22:25:56 +00:00
|
|
|
gen-devlist
|
2005-05-01 15:59:10 +00:00
|
|
|
gen_crc32table
|
|
|
|
gen_init_cpio
|
2009-10-17 19:33:34 +00:00
|
|
|
generated
|
2009-10-22 19:38:26 +00:00
|
|
|
genheaders
|
2005-04-16 22:25:56 +00:00
|
|
|
genksyms
|
2007-05-23 20:58:03 +00:00
|
|
|
*_gray256.c
|
2011-05-23 18:55:42 +00:00
|
|
|
hpet_example
|
|
|
|
hugepage-mmap
|
|
|
|
hugepage-shm
|
2008-10-16 05:01:48 +00:00
|
|
|
ihex2fw
|
2011-01-06 00:27:15 +00:00
|
|
|
inat-tables.c
|
2005-04-16 22:25:56 +00:00
|
|
|
initramfs_list
|
2011-01-06 00:27:15 +00:00
|
|
|
int16.c
|
|
|
|
int1.c
|
|
|
|
int2.c
|
|
|
|
int32.c
|
|
|
|
int4.c
|
|
|
|
int8.c
|
2005-05-01 15:59:10 +00:00
|
|
|
kallsyms
|
2008-10-16 05:01:48 +00:00
|
|
|
keywords.c
|
2005-04-16 22:25:56 +00:00
|
|
|
ksym.c*
|
|
|
|
ksym.h*
|
2017-01-16 22:31:15 +00:00
|
|
|
*lex.c
|
|
|
|
*lex.*.c
|
2011-05-23 18:55:42 +00:00
|
|
|
linux
|
2005-05-01 15:59:10 +00:00
|
|
|
logo_*.c
|
2005-04-16 22:25:56 +00:00
|
|
|
logo_*_clut224.c
|
|
|
|
logo_*_mono.c
|
2005-08-03 18:49:18 +00:00
|
|
|
mach-types
|
2005-07-16 15:43:49 +00:00
|
|
|
mach-types.h
|
2007-05-23 20:58:03 +00:00
|
|
|
machtypes.h
|
2005-04-16 22:25:56 +00:00
|
|
|
map
|
2011-05-23 18:55:42 +00:00
|
|
|
map_hugetlb
|
2007-05-23 20:58:03 +00:00
|
|
|
mconf
|
2019-04-29 14:53:50 +00:00
|
|
|
mconf-cfg
|
2007-05-23 20:58:03 +00:00
|
|
|
miboot*
|
2005-05-01 15:59:10 +00:00
|
|
|
mk_elfconfig
|
2007-05-23 20:58:03 +00:00
|
|
|
mkboot
|
|
|
|
mkbugboot
|
2008-10-16 05:01:48 +00:00
|
|
|
mkcpustr
|
2005-04-16 22:25:56 +00:00
|
|
|
mkdep
|
2007-05-23 20:58:03 +00:00
|
|
|
mkprep
|
2011-05-23 18:55:42 +00:00
|
|
|
mkregtable
|
2005-05-01 15:59:10 +00:00
|
|
|
mktables
|
2007-05-23 20:58:03 +00:00
|
|
|
mktree
|
unicode: refactor the rule for regenerating utf8data.h
scripts/mkutf8data is used only when regenerating utf8data.h,
which never happens in the normal kernel build. However, it is
irrespectively built if CONFIG_UNICODE is enabled.
Moreover, there is no good reason for it to reside in the scripts/
directory since it is only used in fs/unicode/.
Hence, move it from scripts/ to fs/unicode/.
In some cases, we bypass build artifacts in the normal build. The
conventional way to do so is to surround the code with ifdef REGENERATE_*.
For example,
- 7373f4f83c71 ("kbuild: add implicit rules for parser generation")
- 6aaf49b495b4 ("crypto: arm,arm64 - Fix random regeneration of S_shipped")
I rewrote the rule in a more kbuild'ish style.
In the normal build, utf8data.h is just shipped from the check-in file.
$ make
[ snip ]
SHIPPED fs/unicode/utf8data.h
CC fs/unicode/utf8-norm.o
CC fs/unicode/utf8-core.o
CC fs/unicode/utf8-selftest.o
AR fs/unicode/built-in.a
If you want to generate utf8data.h based on UCD, put *.txt files into
fs/unicode/, then pass REGENERATE_UTF8DATA=1 from the command line.
The mkutf8data tool will be automatically compiled to generate the
utf8data.h from the *.txt files.
$ make REGENERATE_UTF8DATA=1
[ snip ]
HOSTCC fs/unicode/mkutf8data
GEN fs/unicode/utf8data.h
CC fs/unicode/utf8-norm.o
CC fs/unicode/utf8-core.o
CC fs/unicode/utf8-selftest.o
AR fs/unicode/built-in.a
I renamed the check-in utf8data.h to utf8data.h_shipped so that this
will work for the out-of-tree build.
You can update it based on the latest UCD like this:
$ make REGENERATE_UTF8DATA=1 fs/unicode/
$ cp fs/unicode/utf8data.h fs/unicode/utf8data.h_shipped
Also, I added entries to .gitignore and dontdiff.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2019-04-28 17:45:36 +00:00
|
|
|
mkutf8data
|
2005-05-01 15:59:10 +00:00
|
|
|
modpost
|
2021-03-25 18:54:09 +00:00
|
|
|
modules-only.symvers
|
2011-01-06 00:27:15 +00:00
|
|
|
modules.builtin
|
2019-04-29 16:11:14 +00:00
|
|
|
modules.builtin.modinfo
|
kbuild: generate offset range data for builtin modules
Create file module.builtin.ranges that can be used to find where
built-in modules are located by their addresses. This will be useful for
tracing tools to find what functions are for various built-in modules.
The offset range data for builtin modules is generated using:
- modules.builtin: associates object files with module names
- vmlinux.map: provides load order of sections and offset of first member
per section
- vmlinux.o.map: provides offset of object file content per section
- .*.cmd: build cmd file with KBUILD_MODFILE
The generated data will look like:
.text 00000000-00000000 = _text
.text 0000baf0-0000cb10 amd_uncore
.text 0009bd10-0009c8e0 iosf_mbi
...
.text 00b9f080-00ba011a intel_skl_int3472_discrete
.text 00ba0120-00ba03c0 intel_skl_int3472_discrete intel_skl_int3472_tps68470
.text 00ba03c0-00ba08d6 intel_skl_int3472_tps68470
...
.data 00000000-00000000 = _sdata
.data 0000f020-0000f680 amd_uncore
For each ELF section, it lists the offset of the first symbol. This can
be used to determine the base address of the section at runtime.
Next, it lists (in strict ascending order) offset ranges in that section
that cover the symbols of one or more builtin modules. Multiple ranges
can apply to a single module, and ranges can be shared between modules.
The CONFIG_BUILTIN_MODULE_RANGES option controls whether offset range data
is generated for kernel modules that are built into the kernel image.
How it works:
1. The modules.builtin file is parsed to obtain a list of built-in
module names and their associated object names (the .ko file that
the module would be in if it were a loadable module, hereafter
referred to as <kmodfile>). This object name can be used to
identify objects in the kernel compile because any C or assembler
code that ends up into a built-in module will have the option
-DKBUILD_MODFILE=<kmodfile> present in its build command, and those
can be found in the .<obj>.cmd file in the kernel build tree.
If an object is part of multiple modules, they will all be listed
in the KBUILD_MODFILE option argument.
This allows us to conclusively determine whether an object in the
kernel build belong to any modules, and which.
2. The vmlinux.map is parsed next to determine the base address of each
top level section so that all addresses into the section can be
turned into offsets. This makes it possible to handle sections
getting loaded at different addresses at system boot.
We also determine an 'anchor' symbol at the beginning of each
section to make it possible to calculate the true base address of
a section at runtime (i.e. symbol address - symbol offset).
We collect start addresses of sections that are included in the top
level section. This is used when vmlinux is linked using vmlinux.o,
because in that case, we need to look at the vmlinux.o linker map to
know what object a symbol is found in.
And finally, we process each symbol that is listed in vmlinux.map
(or vmlinux.o.map) based on the following structure:
vmlinux linked from vmlinux.a:
vmlinux.map:
<top level section>
<included section> -- might be same as top level section)
<object> -- built-in association known
<symbol> -- belongs to module(s) object belongs to
...
vmlinux linked from vmlinux.o:
vmlinux.map:
<top level section>
<included section> -- might be same as top level section)
vmlinux.o -- need to use vmlinux.o.map
<symbol> -- ignored
...
vmlinux.o.map:
<section>
<object> -- built-in association known
<symbol> -- belongs to module(s) object belongs to
...
3. As sections, objects, and symbols are processed, offset ranges are
constructed in a straight-forward way:
- If the symbol belongs to one or more built-in modules:
- If we were working on the same module(s), extend the range
to include this object
- If we were working on another module(s), close that range,
and start the new one
- If the symbol does not belong to any built-in modules:
- If we were working on a module(s) range, close that range
Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com>
Reviewed-by: Nick Alcock <nick.alcock@oracle.com>
Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
Reviewed-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Tested-by: Sam James <sam@gentoo.org>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Tested-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2024-09-06 14:45:03 +00:00
|
|
|
modules.builtin.ranges
|
2019-10-29 12:38:07 +00:00
|
|
|
modules.nsdeps
|
2008-04-18 15:18:16 +00:00
|
|
|
modules.order
|
2005-04-16 22:25:56 +00:00
|
|
|
modversions.h*
|
2011-05-23 18:55:42 +00:00
|
|
|
nconf
|
2019-04-29 14:53:50 +00:00
|
|
|
nconf-cfg
|
2008-10-16 05:01:48 +00:00
|
|
|
ncscope.*
|
2005-06-23 07:10:09 +00:00
|
|
|
offset.h
|
2005-04-16 22:25:56 +00:00
|
|
|
oui.c*
|
2011-05-23 18:55:42 +00:00
|
|
|
page-types
|
2008-10-16 05:01:48 +00:00
|
|
|
parse.c
|
|
|
|
parse.h
|
2007-05-23 20:58:03 +00:00
|
|
|
patches*
|
|
|
|
pca200e.bin
|
|
|
|
pca200e_ecd.bin2
|
2011-05-23 18:55:42 +00:00
|
|
|
perf.data
|
|
|
|
perf.data.old
|
|
|
|
perf-archive
|
2007-05-23 20:58:03 +00:00
|
|
|
piggyback
|
2011-05-23 18:55:42 +00:00
|
|
|
piggy.gzip
|
2011-01-06 00:27:15 +00:00
|
|
|
piggy.S
|
2005-05-01 15:59:10 +00:00
|
|
|
pnmtologo
|
2005-04-16 22:25:56 +00:00
|
|
|
ppc_defs.h*
|
2005-05-01 15:59:10 +00:00
|
|
|
pss_boot.h
|
2007-05-23 20:58:03 +00:00
|
|
|
qconf
|
2019-04-29 14:53:50 +00:00
|
|
|
qconf-cfg
|
2011-01-06 00:27:15 +00:00
|
|
|
r100_reg_safe.h
|
|
|
|
r200_reg_safe.h
|
|
|
|
r300_reg_safe.h
|
|
|
|
r420_reg_safe.h
|
|
|
|
r600_reg_safe.h
|
2022-05-03 20:55:02 +00:00
|
|
|
randstruct.seed
|
2017-05-06 06:37:45 +00:00
|
|
|
randomize_layout_hash.h
|
|
|
|
randomize_layout_seed.h
|
2011-05-23 18:55:42 +00:00
|
|
|
recordmcount
|
2007-05-23 20:58:03 +00:00
|
|
|
relocs
|
2011-05-23 18:55:42 +00:00
|
|
|
rlim_names.h
|
2011-01-06 00:27:15 +00:00
|
|
|
rn50_reg_safe.h
|
|
|
|
rs600_reg_safe.h
|
|
|
|
rv515_reg_safe.h
|
2007-05-23 20:58:03 +00:00
|
|
|
series
|
2005-04-16 22:25:56 +00:00
|
|
|
setup
|
2007-07-31 07:37:26 +00:00
|
|
|
setup.bin
|
|
|
|
setup.elf
|
2017-01-16 22:31:15 +00:00
|
|
|
sortextable
|
2007-05-23 20:58:03 +00:00
|
|
|
sImage
|
2005-04-16 22:25:56 +00:00
|
|
|
sm_tbl*
|
|
|
|
split-include
|
2008-10-16 05:01:48 +00:00
|
|
|
syscalltab.h
|
2011-01-06 00:27:15 +00:00
|
|
|
tables.c
|
2005-04-16 22:25:56 +00:00
|
|
|
tags
|
2011-05-23 18:55:42 +00:00
|
|
|
test_get_len
|
2007-05-23 20:58:03 +00:00
|
|
|
tftpboot.img
|
2008-04-18 15:28:35 +00:00
|
|
|
timeconst.h
|
2005-04-16 22:25:56 +00:00
|
|
|
times.h*
|
2005-05-01 15:59:10 +00:00
|
|
|
trix_boot.h
|
2006-09-22 19:37:56 +00:00
|
|
|
utsrelease.h*
|
2008-10-16 05:01:48 +00:00
|
|
|
vdso-syms.lds
|
2007-10-17 06:30:30 +00:00
|
|
|
vdso.lds
|
2008-10-16 05:01:48 +00:00
|
|
|
vdso32-int80-syms.lds
|
|
|
|
vdso32-syms.lds
|
|
|
|
vdso32-syscall-syms.lds
|
|
|
|
vdso32-sysenter-syms.lds
|
|
|
|
vdso32.lds
|
|
|
|
vdso32.so.dbg
|
|
|
|
vdso64.lds
|
|
|
|
vdso64.so.dbg
|
2005-04-16 22:25:56 +00:00
|
|
|
version.h*
|
2011-05-23 18:55:42 +00:00
|
|
|
vmImage
|
2005-04-16 22:25:56 +00:00
|
|
|
vmlinux
|
|
|
|
vmlinux-*
|
2007-05-23 20:58:03 +00:00
|
|
|
vmlinux.aout
|
2011-05-23 18:55:42 +00:00
|
|
|
vmlinux.bin.all
|
2008-10-16 05:01:48 +00:00
|
|
|
vmlinux.lds
|
2021-03-05 09:27:07 +00:00
|
|
|
vmlinux.map
|
modpost: generate vmlinux.symvers and reuse it for the second modpost
The full build runs modpost twice, first for vmlinux.o and second for
modules.
The first pass dumps all the vmlinux symbols into Module.symvers, but
the second pass parses vmlinux again instead of reusing the dump file,
presumably because it needs to avoid accumulating stale symbols.
Loading symbol info from a dump file is faster than parsing an ELF object.
Besides, modpost deals with various issues to parse vmlinux in the second
pass.
A solution is to make the first pass dumps symbols into a separate file,
vmlinux.symvers. The second pass reads it, and parses module .o files.
The merged symbol information is dumped into Module.symvers in the same
way as before.
This makes further modpost cleanups possible.
Also, it fixes the problem of 'make vmlinux', which previously overwrote
Module.symvers, throwing away module symbols.
I slightly touched scripts/link-vmlinux.sh so that vmlinux is re-linked
when you cross this commit. Otherwise, vmlinux.symvers would not be
generated.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
2020-06-01 05:57:11 +00:00
|
|
|
vmlinux.symvers
|
2011-05-23 18:55:42 +00:00
|
|
|
vmlinuz
|
2011-01-06 00:27:15 +00:00
|
|
|
voffset.h
|
2005-04-16 22:25:56 +00:00
|
|
|
vsyscall.lds
|
2008-10-16 05:01:48 +00:00
|
|
|
vsyscall_32.lds
|
2005-05-01 15:59:10 +00:00
|
|
|
wanxlfw.inc
|
2005-05-05 23:15:52 +00:00
|
|
|
uImage
|
2007-05-23 20:58:03 +00:00
|
|
|
unifdef
|
2024-08-08 08:57:07 +00:00
|
|
|
utf8data.c
|
2008-10-16 05:01:48 +00:00
|
|
|
wakeup.bin
|
|
|
|
wakeup.elf
|
|
|
|
wakeup.lds
|
2007-05-23 20:58:03 +00:00
|
|
|
zImage*
|
2011-01-06 00:27:15 +00:00
|
|
|
zoffset.h
|