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:
>
> Should not it be something like
> ---
>
> diff --git a/arch/x86/kernel/acpi/realmode/wakeup.lds.S b/arch/x86/kernel/acpi/realmode/wakeup.lds.S
> index 22fab6c..cccf62d 100644
> --- a/arch/x86/kernel/acpi/realmode/wakeup.lds.S
> +++ b/arch/x86/kernel/acpi/realmode/wakeup.lds.S
> @@ -12,11 +12,6 @@ ENTRY(_start)
>
> SECTIONS
> {
> - . = HEADER_OFFSET;
> - .header : {
> - *(.header)
> - }
> -
> . = 0;
> .text : {
> *(.text*)
> @@ -53,6 +48,11 @@ SECTIONS
> . = ALIGN(16);
> _end = .;
>
> + . = HEADER_OFFSET;
> + .header : {
> + *(.header)
> + }
> +
> /DISCARD/ : {
> *(.note*)
> }
> ---
> - Cyrill -

Yes. This was the way I originally had it, then Pavel decided to move
the header to the end.

-hpa


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