diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-11-15 02:42:21 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-11-23 12:44:24 +0900 |
commit | afa0459daa7b08c7b2c879705b69d39b734a11d0 (patch) | |
tree | 68d221aea26c4a920b4871e64c4913fde978d75f /scripts/dtc/dtc-lexer.l | |
parent | 7ecaf069da52e472d393f03e79d721aabd724166 (diff) | |
download | linux-stable-afa0459daa7b08c7b2c879705b69d39b734a11d0.tar.gz linux-stable-afa0459daa7b08c7b2c879705b69d39b734a11d0.tar.bz2 linux-stable-afa0459daa7b08c7b2c879705b69d39b734a11d0.zip |
modpost: add a helper to get data pointed by a symbol
When CONFIG_MODULE_REL_CRCS is enabled, the value of __crc_* is not
an absolute value, but the address to the CRC data embedded in the
.rodata section.
Getting the data pointed by the symbol value is somewhat complex.
Split it out into a new helper, sym_get_data().
I will reuse it to refactor namespace_from_kstrtabns() in the next
commit.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/dtc/dtc-lexer.l')
0 files changed, 0 insertions, 0 deletions