summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorJann Horn <jannh@google.com>2024-02-21 21:26:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-29 17:35:50 +0200
commitc3ce2e8a568f00f78d887f2669606898d49d2b16 (patch)
tree92be8918309bd637d6820ff24246bee53f67cfc3 /init
parent76274d10bec865e2c228438eb3994ac21a8b117d (diff)
downloadlinux-c3ce2e8a568f00f78d887f2669606898d49d2b16.tar.gz
linux-c3ce2e8a568f00f78d887f2669606898d49d2b16.tar.bz2
linux-c3ce2e8a568f00f78d887f2669606898d49d2b16.zip
kallsyms: get rid of code for absolute kallsyms
[ Upstream commit 64e166099b69bfc09f667253358a15160b86ea43 ] Commit cf8e8658100d ("arch: Remove Itanium (IA-64) architecture") removed the last use of the absolute kallsyms. Signed-off-by: Jann Horn <jannh@google.com> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/all/20240221202655.2423854-1-jannh@google.com/ [masahiroy@kernel.org: rebase the code and reword the commit description] Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Stable-dep-of: 020925ce9299 ("kallsyms: Do not cleanup .llvm.<hash> suffix before sorting symbols") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig18
1 files changed, 0 insertions, 18 deletions
diff --git a/init/Kconfig b/init/Kconfig
index d8a971b804d3..6e97693b675f 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1789,24 +1789,6 @@ config KALLSYMS_ABSOLUTE_PERCPU
depends on KALLSYMS
default X86_64 && SMP
-config KALLSYMS_BASE_RELATIVE
- bool
- depends on KALLSYMS
- default y
- help
- Instead of emitting them as absolute values in the native word size,
- emit the symbol references in the kallsyms table as 32-bit entries,
- each containing a relative value in the range [base, base + U32_MAX]
- or, when KALLSYMS_ABSOLUTE_PERCPU is in effect, each containing either
- an absolute value in the range [0, S32_MAX] or a relative value in the
- range [base, base + S32_MAX], where base is the lowest relative symbol
- address encountered in the image.
-
- On 64-bit builds, this reduces the size of the address table by 50%,
- but more importantly, it results in entries whose values are build
- time constants, and no relocation pass is required at runtime to fix
- up the entries based on the runtime load address of the kernel.
-
# end of the "standard kernel features (expert users)" menu
config ARCH_HAS_MEMBARRIER_CALLBACKS