mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
kexec-tools-klibc: Fix building on x86_64 with binutils 2.41
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 the assembler is no longer expecting 64-bit instructions to be used by the time that the ".arch i386" directive is encountered. Signed-off-by: Yoann Congal <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -15,7 +15,9 @@ SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kexec/kexec-tools.git;branc
|
||||
SRCREV = "5750980cdbbc33ef75bfba6660295b932376ce15"
|
||||
|
||||
BUILD_PATCHES = "file://0001-force-static-build.patch \
|
||||
file://0002-Adjust-the-order-of-headers-to-fix-build-for-musl.patch"
|
||||
file://0002-Adjust-the-order-of-headers-to-fix-build-for-musl.patch \
|
||||
file://Fix-building-on-x86_64-with-binutils-2.41.patch \
|
||||
"
|
||||
|
||||
KLIBC_PATCHES += " \
|
||||
file://0003-kexec-elf-rel-use-our-elf.h.patch \
|
||||
|
||||
Reference in New Issue
Block a user