From: "Cyrill Gorcunov" <gorcunov@gmail.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: "H. Peter Anvin" <hpa@zytor.com>,
"Sam Ravnborg" <sam@ravnborg.org>,
"Mikael Pettersson" <mikpe@it.uu.se>,
"Pavel Machek" <pavel@ucw.cz>,
tglx@linutronix.de, mingo@redhat.com,
linux-kernel@vger.kernel.org
Subject: Re: 2.6.26-rc1 on x86: ld: warning: dot moved backwards before `.text'
Date: Mon, 12 May 2008 10:16:54 +0400 [thread overview]
Message-ID: <aa79d98a0805112316x48551fafn12e5e1a75671646a@mail.gmail.com> (raw)
In-Reply-To: <aa79d98a0805112115s7879d4e8q2fc97512e35fc1c8@mail.gmail.com>
On Mon, May 12, 2008 at 8:15 AM, Cyrill Gorcunov <gorcunov@gmail.com> wrote:
> On Mon, May 12, 2008 at 1:22 AM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
>> On Sunday, 11 of May 2008, Cyrill Gorcunov wrote:
>>> [H. Peter Anvin - Sun, May 11, 2008 at 11:25:54AM -0700]
>>> > Cyrill Gorcunov wrote:
>>> >> Hi Peter,
>>> >> actually I only doubt about exactly position of this headers - I mean
>>> >> meguess it better should be _before_ "_end" not after. Since the others
>>> >> script uses (acpi/wakeup_rm.S):
>>> >> wakeup_code_start:
>>> >> .incbin "arch/x86/kernel/acpi/realmode/wakeup.bin"
>>> >> wakeup_code_end:
>>> >> and kernel uses these wakeup_code_* marks to save/restore memory I think
>>> >> it should be like
>>> >> . = HEADER_OFFSET;
>>> >> .header : {
>>> >> ...
>>> >> }
>>> >> . = ALIGN(16);
>>> >> _end = .;
>>> >> /DISCARD/ ...
>>> >
>>> > Yes, I believe that's correct.
>>> >
>>> > -hpa
>>> >
>>>
>>> Thanks for review, Peter, I'll cook a patch and wait for
>>> Pavel's opinion ;-)
>>
>> I've tested the appended one. If that's what you mean, we'll ask Ingo to take
>> it.
>>
>> Thanks,
>> Rafael
>>
>>
>> ---
>> arch/x86/kernel/acpi/realmode/wakeup.lds.S | 10 +++++-----
>> 1 file changed, 5 insertions(+), 5 deletions(-)
>>
>> Index: linux-2.6/arch/x86/kernel/acpi/realmode/wakeup.lds.S
>> ===================================================================
>> --- linux-2.6.orig/arch/x86/kernel/acpi/realmode/wakeup.lds.S
>> +++ linux-2.6/arch/x86/kernel/acpi/realmode/wakeup.lds.S
>> @@ -12,11 +12,6 @@ ENTRY(_start)
>>
>> SECTIONS
>> {
>> - . = HEADER_OFFSET;
>> - .header : {
>> - *(.header)
>> - }
>> -
>> . = 0;
>> .text : {
>> *(.text*)
>> @@ -50,6 +45,11 @@ SECTIONS
>> __bss_end = .;
>> }
>>
>> + . = HEADER_OFFSET;
>> + .header : {
>> + *(.header)
>> + }
>> +
>> . = ALIGN(16);
>> _end = .;
>>
>>
>
> Thanks Rafael,
>
> it's exactly what I meant - http://lkml.org/lkml/2008/5/11/120 ;)
>
Heh, now we have even two patches (exactly the same in contents). So, Ingo,
could you pick up any patch, please? ;-) (i'm in office now without access to
my linux machine, so I can't send the patch with my and Rafael's sign-offs)
next prev parent reply other threads:[~2008-05-12 6:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-10 20:18 Mikael Pettersson
2008-05-10 20:23 ` Rafael J. Wysocki
2008-05-10 20:25 ` H. Peter Anvin
2008-05-10 20:56 ` Rafael J. Wysocki
2008-05-11 18:52 ` Pavel Machek
2008-05-10 21:16 ` Sam Ravnborg
2008-05-11 15:44 ` Cyrill Gorcunov
2008-05-11 18:15 ` H. Peter Anvin
2008-05-11 18:24 ` Cyrill Gorcunov
2008-05-11 18:25 ` H. Peter Anvin
2008-05-11 18:29 ` Cyrill Gorcunov
2008-05-11 21:22 ` Rafael J. Wysocki
2008-05-12 4:15 ` Cyrill Gorcunov
2008-05-12 6:16 ` Cyrill Gorcunov [this message]
2008-05-12 6:52 ` Pavel Machek
2008-05-11 18:54 ` Pavel Machek
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=aa79d98a0805112316x48551fafn12e5e1a75671646a@mail.gmail.com \
--to=gorcunov@gmail.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpe@it.uu.se \
--cc=mingo@redhat.com \
--cc=pavel@ucw.cz \
--cc=rjw@sisk.pl \
--cc=sam@ravnborg.org \
--cc=tglx@linutronix.de \
/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
all inboxes | Powered by JetHome®