On Mon, 15 Mar 2021 14:41:59 +1100, Michael Ellerman wrote: > The ".machine" directive allows changing the machine for which code is > being generated. It's equivalent to passing an -mcpu option on the > command line. > > Although it can be useful, it's generally a bad idea because it adds > another way to influence code generation separate from the flags > passed via the build system. ie. if we need to build different pieces > of code with different flags we should do that via our Makefiles, not > using ".machine". > > [...]
Applied to powerpc/next. [1/1] powerpc/kexec: Don't use .machine ppc64 in trampoline_64.S https://git.kernel.org/powerpc/c/acd4dfeb49c8ec1071b1e67683c5779e97fdc5b9 cheers