Commit:     c6b33cc4e9882b44f1b0c36396f420076e04a4e2
Parent:     9883a13c72dbf8c518814b6091019643cdb34429
Author:     Segher Boessenkool <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 2 11:41:47 2007 +0530
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Jan 2 13:44:11 2007 -0800

    [PATCH] Fix insta-reboot with "i386: Relocatable kernel support"
    Commit 968de4f02621db35b8ae5239c8cfc6664fb872d8 ("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 <[EMAIL PROTECTED]>
    Acked-by: Jean Delvare <[EMAIL PROTECTED]>
    Cc: Eric W. Biederman <[EMAIL PROTECTED]>
    Cc: Andi Kleen <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 arch/i386/boot/compressed/head.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/i386/boot/compressed/head.S b/arch/i386/boot/compressed/head.S
index f395a4b..3517a32 100644
--- a/arch/i386/boot/compressed/head.S
+++ b/arch/i386/boot/compressed/head.S
@@ -28,7 +28,7 @@
 #include <asm/page.h>
 #include <asm/boot.h>
-.section ".text.head"
+.section ".text.head","ax",@progbits
        .globl startup_32
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to