parisc: Enable HAVE_ARCH_PREL32_RELOCATIONS
Helge Deller
maintainerPATCH 1/1 parisc: Enable HAVE_ARCH_PREL32_RELOCATIONS
Enable HAVE_ARCH_PREL32_RELOCATIONS for 64-bit kernels, which will save some bytes in the final binary.
Signed-off-by Helge Deller <[email protected]>
---
arch/parisc/Kconfig +1 -0
@@ -73,6 +73,7 @@ config PARISC select NEED_DMA_MAP_STATE select NEED_SG_DMA_LENGTH select HAVE_ARCH_KGDB + select HAVE_ARCH_PREL32_RELOCATIONS if 64BIT select HAVE_KPROBES select HAVE_KRETPROBES select HAVE_DYNAMIC_FTRACE if $(cc-option,-fpatchable-function-entry=1,1)
Helge Deller
maintainerQuoted 2 lines · Helge Deller
Enable
HAVE_ARCH_PREL32_RELOCATIONSfor 64-bit kernels, which will save some bytes in the final binary.
FYI - ignore this patch.
It will not work without adding dereference_function_descriptor() calls where the addresses are resolved.
Quoted 2 lines
--- a/arch/parisc/Kconfig
arch/parisc/Kconfig +1
-0+ select HAVE_ARCH_PREL32_RELOCATIONS if 64BIT