linux-mips
[Top] [All Lists]

[PATCH 3/4] vmlinux.ld.S: correctly indent .data section

To: linux-mips@linux-mips.org
Subject: [PATCH 3/4] vmlinux.ld.S: correctly indent .data section
From: Franck Bui-Huu <fbuihuu@gmail.com>
Date: Thu, 18 Oct 2007 23:12:32 +0200
Cc: ralf@linux-mips.org, macro@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=8NtUPCwZHlM/NcI42ztGXlM2Ql6cWK9C+3iUGXkKtaw=; b=lIC17PqXiDPBtOHhbsPD2y3MVFwRHiGnJQ/bdpCMAs85P0ONWBcTRIXwPdYgGXJZUtzL82EUuDVU/iDCCBdGTyKSlxFPEwNrhu1ruIvOtXucYPF1nEWIEaVgewXLrcOp2Khrd8dFN9sQqPAfjtxH3UwqCtntBzeZf2BLk3PQuRY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=Wltjf0P5ycyouOziTfu3JFbxZLS/RMrA+BxiWG7/yHnlyNljgKyI1ncT5NpPHWV1q71wXk0UC/zepYwzXBea7OWD83NBLl4Z4Y3Be4xklE4A6aLkL5YLK9d/LR9QZe68rRc/faXQAZz4CLM2j6LXiGDNqQnpxLdpBxEMb6F7x0w=
In-reply-to: <1192741953-7040-1-git-send-email-fbuihuu@gmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1192741953-7040-1-git-send-email-fbuihuu@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com>
---
 arch/mips/kernel/vmlinux.lds.S |   32 +++++++++++++++++---------------
 1 files changed, 17 insertions(+), 15 deletions(-)

diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S
index e0a4dc0..2f6c225 100644
--- a/arch/mips/kernel/vmlinux.lds.S
+++ b/arch/mips/kernel/vmlinux.lds.S
@@ -55,21 +55,23 @@ SECTIONS
 
        /* writeable */
        .data : {       /* Data */
-         . = . + DATAOFFSET;           /* for CONFIG_MAPPED_KERNEL */
-         /*
-          * This ALIGN is needed as a workaround for a bug a gcc bug upto 4.1 
which
-          * limits the maximum alignment to at most 32kB and results in the 
following
-          * warning:
-          *
-          *  CC      arch/mips/kernel/init_task.o
-          * arch/mips/kernel/init_task.c:30: warning: alignment of 
â??init_thread_unionâ??
-          * is greater than maximum object file alignment.  Using 32768
-          */
-         . = ALIGN(_PAGE_SIZE);
-         *(.data.init_task)
-
-         DATA_DATA
-         CONSTRUCTORS
+               . = . + DATAOFFSET;             /* for CONFIG_MAPPED_KERNEL */
+               /*
+                * This ALIGN is needed as a workaround for a bug a
+                * gcc bug upto 4.1 which limits the maximum alignment
+                * to at most 32kB and results in the following
+                * warning:
+                *
+                *  CC      arch/mips/kernel/init_task.o
+                * arch/mips/kernel/init_task.c:30: warning: alignment
+                * of â??init_thread_unionâ?? is greater than maximum
+                * object file alignment.  Using 32768
+                */
+               . = ALIGN(_PAGE_SIZE);
+               *(.data.init_task)
+               
+               DATA_DATA
+               CONSTRUCTORS
        }
        _gp = . + 0x8000;
        .lit8 : {
-- 
1.5.3.4


<Prev in Thread] Current Thread [Next in Thread>