]> Git Repo - linux.git/commit
linux/export: fix reference to exported functions for parisc64
authorMasahiro Yamada <[email protected]>
Tue, 5 Sep 2023 18:46:57 +0000 (03:46 +0900)
committerHelge Deller <[email protected]>
Tue, 12 Sep 2023 15:42:00 +0000 (17:42 +0200)
commit08700ec705043eb0cee01b35cf5b9d63f0230d12
tree0b7c635f2955abf2d811a405d2fa5ff1d1c2640e
parente5ef93d02d6c9cc3a14e7348481c9e41a528caa1
linux/export: fix reference to exported functions for parisc64

John David Anglin reported parisc has been broken since commit
ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost").

Like ia64, parisc64 uses a function descriptor. The function
references must be prefixed with P%.

Also, symbols prefixed $$ from the library have the symbol type
STT_LOPROC instead of STT_FUNC. They should be handled as functions
too.

Fixes: ddb5cdbafaaa ("kbuild: generate KSYMTAB entries by modpost")
Reported-by: John David Anglin <[email protected]>
Tested-by: John David Anglin <[email protected]>
Tested-by: Helge Deller <[email protected]>
Closes: https://lore.kernel.org/linux-parisc/[email protected]/T/#u
Signed-off-by: Masahiro Yamada <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
include/linux/export-internal.h
scripts/mod/modpost.c
This page took 0.062039 seconds and 4 git commands to generate.