summaryrefslogtreecommitdiffstats
path: root/scripts/setlocalversion
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2018-10-23 15:15:35 -0700
committerMasahiro Yamada <yamada.masahiro@socionext.com>2018-11-21 23:57:32 +0900
commit5818c683a619c534c113e1f66d24f636defc29bc (patch)
tree578923fbf0c0cda1be816c465aa46547c7e44bad /scripts/setlocalversion
parent813af51f5d30a2da6a2523c08465f9726e51772e (diff)
modpost: validate symbol names also in find_elf_symbol
If an ARM mapping symbol shares an address with a valid symbol, find_elf_symbol can currently return the mapping symbol instead, as the symbol is not validated. This can result in confusing warnings: WARNING: vmlinux.o(.text+0x18f4028): Section mismatch in reference from the function set_reset_devices() to the variable .init.text:$x.0 This change adds a call to is_valid_name to find_elf_symbol, similarly to how it's already used in find_elf_symbol2. Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/setlocalversion')
0 files changed, 0 insertions, 0 deletions