Commit c6b33cc4 authored by Committed by Linus Torvalds
[PATCH] Fix insta-reboot with "i386: Relocatable kernel support"
Commit 968de4f0 ("i386: Relocatable kernel support") caused problems for people with old binutils versions that didn't mark ".text.*" sections automatically allocated. So we should use .section command to specifically mark .text.head section as AX (allocatable and executable) to solve the problem. This should be unnecessary with binutils 2.15 and later, which is already three years old, but it doesn't hurt supporting older toolchains where possible. Signed-off-by: Vivek Goyal <firstname.lastname@example.org> Acked-by: Jean Delvare <email@example.com> Cc: Eric W. Biederman <firstname.lastname@example.org> Cc: Andi Kleen <email@example.com> Signed-off-by: Linus Torvalds <firstname.lastname@example.org>
Showing with 1 addition and 1 deletion