Sami Tolvanen
b6293e6c90
modpost: validate symbol names also in find_elf_symbol
...
[ Upstream commit 5818c683a6 ]
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 >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2019-02-12 19:47:01 +01:00
..
2018-07-18 01:18:05 +09:00
2018-08-22 23:21:43 +09:00
2018-08-22 23:21:36 +09:00
2018-08-26 11:41:08 -07:00
2018-01-19 10:09:41 -08:00
2018-05-17 22:43:35 +09:00
2019-01-26 09:32:39 +01:00
2019-02-12 19:47:01 +01:00
2018-11-27 16:13:07 +01:00
2018-06-05 19:22:35 +02:00
2018-07-29 11:08:38 +09:00
2018-07-18 01:18:05 +09:00
2018-05-17 22:44:57 +09:00
2018-04-07 19:04:02 +09:00
2018-07-18 01:18:05 +09:00
2018-04-09 16:47:28 +02:00
2018-05-17 17:34:43 +02:00
2018-06-28 13:36:39 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-09-04 16:45:02 -07:00
2019-01-13 09:50:57 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-22 23:21:40 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-08-14 08:58:56 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-01-31 17:18:34 -08:00
2018-09-09 09:14:07 +09:00
2017-11-02 11:10:55 +01:00
2018-07-02 11:25:00 -06:00
2018-05-04 06:21:06 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-07-08 09:32:32 +09:00
2018-06-05 09:04:37 -07:00
2018-03-26 02:01:24 +09:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-06-08 18:56:00 +09:00
2018-06-25 23:21:13 +09:00
2018-08-22 10:52:48 -07:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:18 +09:00
2017-11-02 11:10:55 +01:00
2018-05-29 22:04:12 +09:00
2018-08-30 11:37:08 +02:00
2018-06-11 09:16:22 +09:00
2018-08-06 13:36:20 -06:00
2017-11-02 11:10:55 +01:00
2018-04-07 08:50:34 +10:00
2017-11-02 11:10:55 +01:00
2018-08-24 08:22:08 +09:00
2018-07-18 01:18:05 +09:00
2017-11-17 17:45:29 -08:00
2018-12-05 19:32:01 +01:00
2018-08-09 21:51:17 +09:00
2017-11-14 18:25:40 -08:00
2018-01-18 09:37:53 +09:00
2018-07-24 16:11:07 -07:00
2017-11-17 17:45:29 -08:00
2018-07-18 01:18:05 +09:00
2018-02-06 18:32:47 -08:00
2018-06-11 09:14:08 +09:00
2018-08-24 08:22:08 +09:00
2018-08-03 00:47:00 +09:00
2018-07-06 22:04:03 +09:00
2018-08-24 08:22:08 +09:00
2018-07-06 22:04:03 +09:00
2018-08-10 20:19:58 -07:00
2017-11-02 11:10:55 +01:00
2017-11-17 17:45:29 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-03-26 02:01:19 +09:00
2017-11-17 16:10:01 -08:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-05-29 22:04:12 +09:00
2018-05-29 22:04:12 +09:00
2018-09-04 14:45:18 +08:00
2018-11-27 16:13:08 +01:00
2018-12-19 19:19:50 +01:00
2018-08-23 18:48:43 -07:00
2018-05-04 06:21:06 -04:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2018-09-05 08:12:09 -06:00
2018-07-18 19:32:54 -07:00
2018-12-08 12:59:06 +01:00
2018-07-07 17:44:52 +02:00
2017-11-02 11:10:55 +01:00