]> code.ossystems Code Review - openembedded-core.git/commit
kexec-tools: fix for "Unhandled rela relocation: R_X86_64_PLT32" error
authorMingli Yu <Mingli.Yu@windriver.com>
Thu, 30 Aug 2018 08:36:25 +0000 (16:36 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Sep 2018 22:43:34 +0000 (23:43 +0100)
commit734a1bb8944caef1336f3a9cc98ea104d6be1f57
treed122ef35d0ac211be83fd37fe167133224f6c117
parent29d790cdeff19e520a35ec5902d6deaae8665492
kexec-tools: fix for "Unhandled rela relocation: R_X86_64_PLT32" error

In response to a change in binutils, commit b21ebf2fb4c
(x86: Treat R_X86_64_PLT32 as R_X86_64_PC32) was applied to
the linux kernel during the 4.16 development cycle and has
since been backported to earlier stable kernel series. The
change results in the failure message as below when rebooting
via kexec.
 # kexec -l /boot/bzImage --append="console=ttyS0,115200 root=/dev/sda1"
 Unhandled rela relocation: R_X86_64_PLT32

Fix this by replicating the change in kexec.

Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/kexec/kexec-tools/0001-kexec-fix-for-Unhandled-rela-relocation-R_X86_64_PLT.patch [new file with mode: 0644]
meta/recipes-kernel/kexec/kexec-tools_2.0.17.bb