lkml.org 
[lkml]   [2008]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.26-rc1 on x86: ld: warning: dot moved backwards before `.text'
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


\
 
 \ /
  Last update: 2008-05-11 20:33    [W:0.086 / U:3.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site