K 10 svn:author V 3 dim K 8 svn:date V 27 2019-09-09T18:42:41.073367Z K 7 svn:log V 453 Use -znorelro for kernel modules, when they are linked as shared binaries (e.g. on any arch except amd64 and mips). Otherwise, with lld 9, after https://reviews.llvm.org/rLLD356117, the modules will get an additional PT_LOAD segment, which blows up kldxref, since that has a hardcoded limit of 3 segments. I could have alternatively bumped up that limit, but since kernel modules do not use relro, the simplest workaround is to explicitly disable it. END