[PATCH 3/5] kbuild: add arch specific post-module-link pass

Nicholas Piggin npiggin at gmail.com
Fri Aug 5 23:56:44 AEST 2016

On Fri,  5 Aug 2016 22:12:01 +1000
Nicholas Piggin <npiggin at gmail.com> wrote:

> Add an option for architectures to pass over modules after they are
> linked. powerpc will use this to fix up alternate instruction patch
> relocations.

For that matter, now I think about it, I'd like to have this generic
postmod pass for the vmlinux as well. And it would be  to call into
the arch Makefile rather than just supply a tool.

Currently powerpc deals with it by adding dependencies on its zImage
target, but it would be really nice to be able to fix that while we're
here too. Is that going to work?


More information about the Linuxppc-dev mailing list