summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorKris Van Hees <kris.van.hees@oracle.com>2025-03-07 11:53:28 -0500
committerMasahiro Yamada <masahiroy@kernel.org>2025-03-15 21:22:52 +0900
commit87bb368d0637c466a8a77433837056f981d01991 (patch)
treef44cf70a02bf19dc1fd37fcca0599146f4513433 /scripts/generate_rust_analyzer.py
parenteb47ee018173f144f10eb38a3f7bd9f17ec6329e (diff)
kbuild: exclude .rodata.(cst|str)* when building ranges
The .rodata.(cst|str)* sections are often resized during the final linking and since these sections do not cover actual symbols there is no need to include them in the modules.builtin.ranges data. When these sections were included in processing and resizing occurred, modules were reported with ranges that extended beyond their true end, causing subsequent symbols (in address order) to be associated with the wrong module. Fixes: 5f5e7344322f ("kbuild: generate offset range data for builtin modules") Cc: stable@vger.kernel.org Signed-off-by: Kris Van Hees <kris.van.hees@oracle.com> Reviewed-by: Jack Vogel <jack.vogel@oracle.com> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions