linux/arch/powerpc
Nicholas Piggin fce01acf83 powerpc/64e: fix CONFIG_RELOCATABLE build warnings
CONFIG_RELOCATABLE=y causes build warnings from unresolved relocations.
Fix these by using TOC addressing for these cases.

Commit 24d33ac5b8 ("powerpc/64s: Make prom_init require RELOCATABLE")
caused some 64e configs to select RELOCATABLE resulting in these
warnings, but the underlying issue was already there.

This passes basic qemu testing.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210630074621.2109197-3-npiggin@gmail.com
2021-06-30 22:21:19 +10:00
..
boot powerpc/boot: Add a boot wrapper for Microwatt 2021-06-21 21:16:32 +10:00
configs powerpc/configs: Enable STACK_TRACER and FTRACE_SYSCALLS in some of the configs 2021-06-25 14:47:19 +10:00
crypto crypto: powepc/sha1 - remove unneeded semicolon 2021-03-07 15:13:14 +11:00
include powerpc/ptrace: Refactor regs_set_return_{msr/ip} 2021-06-26 00:12:39 +10:00
kernel powerpc/64e: fix CONFIG_RELOCATABLE build warnings 2021-06-30 22:21:19 +10:00
kexec powerpc: mark local variables around longjmp as volatile 2021-06-25 14:47:20 +10:00
kvm powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
lib powerpc/64: use interrupt restart table to speed up return from interrupt 2021-06-25 00:06:56 +10:00
math-emu powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
mm powerpc/64s: fix hash page fault interrupt handler 2021-06-30 22:21:19 +10:00
net powerpc/bpf: Use bctrl for making function calls 2021-06-25 14:47:19 +10:00
perf powerpc/pmu: Make the generic compat PMU use the architected events 2021-06-25 14:47:20 +10:00
platforms powerpc/pseries/vas: Include irqdomain.h 2021-06-25 14:53:47 +10:00
purgatory powerpc/kexec: Don't use .machine ppc64 in trampoline_64.S 2021-04-08 21:17:43 +10:00
sysdev powerpc/64s: avoid reloading (H)SRR registers if they are still valid 2021-06-25 00:06:55 +10:00
tools
xmon powerpc: mark local variables around longjmp as volatile 2021-06-25 14:47:20 +10:00
Kbuild
Kconfig powerpc: Add Microwatt platform 2021-06-21 21:15:26 +10:00
Kconfig.debug powerpc: Make PPC_IRQ_SOFT_MASK_DEBUG depend on PPC64 2021-06-25 00:07:09 +10:00
Makefile powerpc/Makefile: Add ppc32/ppc64_randconfig targets 2021-05-23 20:51:35 +10:00
Makefile.postlink