freebsd-dev/sys
Leandro Lupori e2edff4167 [PowerPC64] Don't mark module data as static
Fixes panic when loading ipfw.ko and if_epair.ko built with modern compiler.

Similar to arm64 and riscv, when using a modern compiler (!gcc4.2), code
generated tries to access data in the wrong location, causing kernel panic
(data storage interrupt trap) when loading if_epair and ipfw.

Issue was reproduced with kernel/module compiled using gcc8 and clang8. It
affects both ELFv1 and ELFv2 ABI environments.

PR:		232387
Submitted by:	alfredo.junior_eldorado.org.br
Reported by:	Mark Millard
Reviewed by:	jhibbits
Differential Revision:	https://reviews.freebsd.org/D20461
2019-06-25 17:15:44 +00:00
..
amd64 amd64 pmap: block on turnstile for lock-less DI. 2019-06-23 21:21:11 +00:00
arm Remove a couple of harmless stray references to nandfs. 2019-06-25 16:39:25 +00:00
arm64 arm64 acpi_iort: add some error handling 2019-06-24 21:24:55 +00:00
bsm
cam Replay r349342 by imp accidentally reverted by r349352 2019-06-25 06:14:31 +00:00
cddl Minimize aggsum_compare(&arc_size, arc_c) calls. 2019-06-14 20:04:28 +00:00
compat LinuxKPI: Additions to rcu list. 2019-06-21 18:48:07 +00:00
conf Remove a couple of harmless stray references to nandfs. 2019-06-25 16:39:25 +00:00
contrib The definition of icmptypes in ip_compt.h is dead code as it already 2019-06-25 07:04:47 +00:00
crypto
ddb ddb show proc typo 2019-06-22 05:35:23 +00:00
dev Remove NAND and NANDFS support 2019-06-25 04:50:09 +00:00
dts
fs Free all allocated unit IDs in cuse(3) after the client character 2019-06-25 11:46:01 +00:00
gdb
geom Remove NAND and NANDFS support 2019-06-25 04:50:09 +00:00
gnu
i386 sys: Remove DEV_RANDOM device option 2019-06-21 00:16:30 +00:00
isa
kern Remove a couple of harmless stray references to nandfs. 2019-06-25 16:39:25 +00:00
kgssapi Make the warning intervals for deprecated crypto algorithms tunable. 2019-06-11 23:00:55 +00:00
libkern Separate kernel crc32() implementation to its own header (gsb_crc32.h) and 2019-06-17 19:49:08 +00:00
mips sys: Remove DEV_RANDOM device option 2019-06-21 00:16:30 +00:00
modules Remove NAND and NANDFS support 2019-06-25 04:50:09 +00:00
net [PowerPC64] Don't mark module data as static 2019-06-25 17:15:44 +00:00
net80211
netgraph
netinet Convert all IPv4 and IPv6 multicast memberships into using a STAILQ 2019-06-25 11:54:41 +00:00
netinet6 Convert all IPv4 and IPv6 multicast memberships into using a STAILQ 2019-06-25 11:54:41 +00:00
netipsec netipsec key_register: check for M_NOWAIT alloc failure 2019-06-25 15:43:52 +00:00
netpfil Convert all IPv4 and IPv6 multicast memberships into using a STAILQ 2019-06-25 11:54:41 +00:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed
opencrypto Move declaration of warninterval out from under COMPAT_FREEBSD32. 2019-06-11 23:28:07 +00:00
powerpc powerpc: Transition to Secure-PLT, like most other OSs 2019-06-25 00:40:44 +00:00
riscv sys: Remove DEV_RANDOM device option 2019-06-21 00:16:30 +00:00
rpc
security
sparc64 sys: Remove DEV_RANDOM device option 2019-06-21 00:16:30 +00:00
sys [PowerPC64] Don't mark module data as static 2019-06-25 17:15:44 +00:00
teken
tests
tools
ufs Add FIOBMAP2 ioctl 2019-06-20 14:13:10 +00:00
vm vm_map_protect may return an INVALID_ARGUMENT or PROTECTION_FAILURE 2019-06-25 07:44:37 +00:00
x86
xdr
xen
Makefile