lkml.org 
[lkml]   [2009]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/14] x86, boot: align the .bss section in the decompressor
[H. Peter Anvin - Fri, May 08, 2009 at 10:03:34AM -0700]
| Cyrill Gorcunov wrote:
| > |
| > | diff --git a/arch/x86/boot/compressed/vmlinux.lds.S b/arch/x86/boot/compressed/vmlinux.lds.S
| > | index 0d26c92..27c168d 100644
| > | --- a/arch/x86/boot/compressed/vmlinux.lds.S
| > | +++ b/arch/x86/boot/compressed/vmlinux.lds.S
| > | @@ -42,6 +42,7 @@ SECTIONS
| > | *(.data.*)
| > | _edata = . ;
| > | }
| > | + . = ALIGN(32);
| > | .bss : {
| > | _bss = . ;
| > | *(.bss)
| > | --
| > | 1.6.0.6
| > |
| >
| > Hi Peter, should not it be ALIGN(8) rather? I thought
| > we keep these sections as tight as possible in a sake
| > of limitation of setup code size. Perhaps I miss something.
| >
|
| This isn't the setup code at all. This is the actual kernel, although
| in its compressed form. Furthermore, this is the bss, so it doesn't
| affect the compressed image size.
|
| -hpa
|

yeah, unfortunately I reveal that when my mail already gone.
though I don't understand why 32 is there... could you please?

-- Cyrill


\
 
 \ /
  Last update: 2009-05-08 19:19    [W:0.060 / U:0.180 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site