diff options
author | Nadav Amit <namit@vmware.com> | 2023-05-25 21:42:44 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2023-06-02 11:51:46 +0300 |
commit | 5516c89d58283413134f8d26960c6303d5d5bd89 (patch) | |
tree | 0d51ca4fa5c42871bed32f949bd18fe2986f6980 /net/nsh | |
parent | 2fe1e67e6987b6f05329740da79c8150a2205b0d (diff) | |
download | linux-5516c89d58283413134f8d26960c6303d5d5bd89.tar.xz |
x86/lib: Make get/put_user() exception handling a visible symbol
The .L-prefixed exception handling symbols of get_user() and put_user()
do get discarded from the symbol table of the final kernel image.
This confuses tools which parse that symbol table and try to map the
chunk of code to a symbol. And, in general, from toolchain perspective,
it is a good practice to have all code belong to a symbol, and the
correct one at that.
( Currently, objdump displays that exception handling chunk as part
of the previous symbol which is a "fallback" of sorts and not
correct. )
While at it, rename them to something more descriptive.
[ bp: Rewrite commit message, rename symbols. ]
Signed-off-by: Nadav Amit <namit@vmware.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20230525184244.2311-1-namit@vmware.com
Diffstat (limited to 'net/nsh')
0 files changed, 0 insertions, 0 deletions