lkml.org 
[lkml]   [2009]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 11/14] powerpc: Use macros for .data.page_aligned section.
    On Mon, 27 Apr 2009, Tim Abbott wrote:

    > +++ b/arch/powerpc/kernel/vmlinux.lds.S
    > @@ -222,6 +222,7 @@ SECTIONS
    >
    > #ifdef CONFIG_PPC32
    > .data : AT(ADDR(.data) - LOAD_OFFSET) {
    > + PAGE_ALIGNED_DATA
    > DATA_DATA
    > *(.sdata)
    > *(.got.plt) *(.got)

    Just noticed that PAGE_ALIGNED_DATA is only being added for CONFIG_PPC32.

    Since there will be several more FOO_DATA macros being added to the .data
    section, I think the right fix is to first unify the two .data output
    section definitions, and then convert to using PAGE_ALIGNED_DATA.

    -Tim Abbott


    \
     
     \ /
      Last update: 2009-04-28 06:23    [W:4.108 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site