Revert "modpost: skip ELF local symbols during section mismatch check"
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 21 May 2023 16:04:06 +0000 (01:04 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 28 May 2023 07:24:07 +0000 (16:24 +0900)
commit17b53f10aba7c17e92bcf713179bc577cba059b7
treed21115f103dfb4d431c742f91b445aa9333bed20
parentc584476d477e7617478dc9a305350629aa155f5c
Revert "modpost: skip ELF local symbols during section mismatch check"

This reverts commit a4d26f1a0958bb1c2b60c6f1e67c6f5d43e2647b.

The variable 'fromsym' never starts with ".L" since commit 87e5b1e8f257
("module: Sync code of is_arm_mapping_symbol()").

In other words, Pattern 6 is now dead code.

Previously, the .LANCHOR1 hid the symbols listed in Pattern 2.

87e5b1e8f257 provided a better solution.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
scripts/mod/modpost.c