Re: [PATCH] Fix building on x86_64 with binutils 2.41

2024-02-02 Thread Simon Horman
On Tue, Jan 30, 2024 at 04:14:31AM -0600, Michel Lind via B4 Relay wrote: > From: Michel Lind > > Newer versions of the GNU assembler (observed with binutils 2.41) will > complain about the ".arch i386" in files assembled with "as --64", > with the message "Error: 64bit mode not supported on

[PATCH] Fix building on x86_64 with binutils 2.41

2024-01-30 Thread Michel Lind via B4 Relay
From: Michel Lind Newer versions of the GNU assembler (observed with binutils 2.41) will complain about the ".arch i386" in files assembled with "as --64", with the message "Error: 64bit mode not supported on 'i386'". Fix by moving ".arch i386" below the relevant ".code32" directive, so that