Skip to content

Commit 2216cf6

Browse files
Hui Sumasahir0y
authored andcommitted
scripts: update the comments of kallsyms support
update the comments of kallsyms support. Fixes: af73d78 ("kbuild: Remove debug info from kallsyms linking") Signed-off-by: Hui Su <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent a3c7ca2 commit 2216cf6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/link-vmlinux.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,14 +369,14 @@ if [ -n "${CONFIG_KALLSYMS}" ]; then
369369
# kallsyms support
370370
# Generate section listing all symbols and add it into vmlinux
371371
# It's a three step process:
372-
# 1) Link .tmp_vmlinux1 so it has all symbols and sections,
372+
# 1) Link .tmp_vmlinux.kallsyms1 so it has all symbols and sections,
373373
# but __kallsyms is empty.
374374
# Running kallsyms on that gives us .tmp_kallsyms1.o with
375375
# the right size
376-
# 2) Link .tmp_vmlinux2 so it now has a __kallsyms section of
376+
# 2) Link .tmp_vmlinux.kallsyms2 so it now has a __kallsyms section of
377377
# the right size, but due to the added section, some
378378
# addresses have shifted.
379-
# From here, we generate a correct .tmp_kallsyms2.o
379+
# From here, we generate a correct .tmp_vmlinux.kallsyms2.o
380380
# 3) That link may have expanded the kernel image enough that
381381
# more linker branch stubs / trampolines had to be added, which
382382
# introduces new names, which further expands kallsyms. Do another

0 commit comments

Comments
 (0)