From: Franck Bui-Huu <fbuihuu@gmail.com>
To: Andrew Sharp <andy.sharp@onstor.com>
Cc: macro@linux-mips.org, linux-mips <linux-mips@linux-mips.org>
Subject: Re: [PATCH 3/4] vmlinux.ld.S: correctly indent .data section
Date: Fri, 19 Oct 2007 09:54:44 +0200 [thread overview]
Message-ID: <471862C4.8090305@gmail.com> (raw)
In-Reply-To: <20071018145723.4e4153c1@ripper.onstor.net>
Andrew Sharp wrote:
> On Thu, 18 Oct 2007 23:12:32 +0200 Franck Bui-Huu <fbuihuu@gmail.com>
> wrote:
>
>> 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
>
> at least fix the text while you're here: 'a bug a gcc bug'
>
>> + * 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
>
> is that utf-8 or something? probably should remove that.
>
> sorry for the picayunes, but hey as long as you're here changing the
> indenting ~:^)
>
>
Okay I'll fix them.
Thanks
Franck
next prev parent reply other threads:[~2007-10-19 7:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-18 21:12 [RFC] Add .bss.{init,exit} sections [take #2] Franck Bui-Huu
2007-10-18 21:12 ` [PATCH 1/4] Add .bss.{init,exit} sections Franck Bui-Huu
2007-10-18 21:12 ` [PATCH 2/4] Add .init.bss section for MIPS Franck Bui-Huu
2007-10-18 21:12 ` [PATCH 3/4] vmlinux.ld.S: correctly indent .data section Franck Bui-Huu
[not found] ` <20071018145723.4e4153c1@ripper.onstor.net>
2007-10-19 7:54 ` Franck Bui-Huu [this message]
2007-10-29 18:40 ` Ralf Baechle
2007-10-18 21:12 ` [PATCH 4/4] Use __bzero to clear .bss Franck Bui-Huu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=471862C4.8090305@gmail.com \
--to=fbuihuu@gmail.com \
--cc=andy.sharp@onstor.com \
--cc=linux-mips@linux-mips.org \
--cc=macro@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox