summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2023-02-08 01:41:56 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-17 08:50:32 +0100
commit05650b267e67f9a0d4b9d7c508ce1f7cfc4755b3 (patch)
treeffe55da8b127430683b9b2207e5b9dc57f3bde73 /Makefile
parentbf899a4b1220da9944c4f88f2c9c9669f7cf3fbe (diff)
downloadlinux-stable-05650b267e67f9a0d4b9d7c508ce1f7cfc4755b3.tar.gz
linux-stable-05650b267e67f9a0d4b9d7c508ce1f7cfc4755b3.tar.bz2
linux-stable-05650b267e67f9a0d4b9d7c508ce1f7cfc4755b3.zip
UML: define RUNTIME_DISCARD_EXIT
commit b99ddbe8336ee680257c8ab479f75051eaa49dcf upstream. With CONFIG_VIRTIO_UML=y, GNU ld < 2.36 fails to link UML vmlinux (w/wo CONFIG_LD_SCRIPT_STATIC). `.exit.text' referenced in section `.uml.exitcall.exit' of arch/um/drivers/virtio_uml.o: defined in discarded section `.exit.text' of arch/um/drivers/virtio_uml.o collect2: error: ld returned 1 exit status This fix is similar to the following commits: - 4b9880dbf3bd ("powerpc/vmlinux.lds: Define RUNTIME_DISCARD_EXIT") - a494398bde27 ("s390: define RUNTIME_DISCARD_EXIT to fix link error with GNU ld < 2.36") - c1c551bebf92 ("sh: define RUNTIME_DISCARD_EXIT") Fixes: 99cb0d917ffa ("arch: fix broken BuildID for arm64 and riscv") Reported-by: SeongJae Park <sj@kernel.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Tested-by: SeongJae Park <sj@kernel.org> Signed-off-by: Richard Weinberger <richard@nod.at> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions