x86, boot: Move intcall() to the .inittext section
authorH. Peter Anvin <hpa@linux.intel.com>
Sat, 4 Jan 2014 22:29:08 +0000 (14:29 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Sat, 4 Jan 2014 22:29:08 +0000 (14:29 -0800)
The .inittext section tries to aggregate all functions which are
needed to get a message out in the case of a load failure.  However,
putchar() uses intcall(), so intcall() should be in the .inittext
section.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Link: http://lkml.kernel.org/n/tip-twxm8igouzbmsklmf6lfyq0w@git.kernel.org
arch/x86/boot/bioscall.S

index 507793739ea58f0e26104bd36d6f734cc60f91e1..d401b4a262b09aacf56fb74fcadbfc03fe9595bb 100644 (file)
@@ -1,6 +1,6 @@
 /* -----------------------------------------------------------------------
  *
- *   Copyright 2009 Intel Corporation; author H. Peter Anvin
+ *   Copyright 2009-2014 Intel Corporation; author H. Peter Anvin
  *
  *   This file is part of the Linux kernel, and is made available under
  *   the terms of the GNU General Public License version 2 or (at your
@@ -14,7 +14,7 @@
  */
 
        .code16
-       .text
+       .section ".inittext","ax"
        .globl  intcall
        .type   intcall, @function
 intcall:
This page took 0.025628 seconds and 5 git commands to generate.