• Sam Ravnborg's avatar
    x86, vmlinux.lds: unify data output sections · 1f6397ba
    Sam Ravnborg authored
    For 64 bit the following functional changes are introduced:
    
     - .data.page_aligned has moved
     - .data.cacheline_aligned has moved
     - .data.read_mostly has moved
     - ALIGN() moved out of output section for .data.cacheline_aligned
     - ALIGN() moved out of output section for .data.page_aligned
    
    Notice that 32 bit and 64 bit has different location of _edata.
    .data_nosave is 32 bit only as 64 bit is special due to PERCPU.
    
    [ Impact: 32-bit: cleanup, 64-bit: use 32-bit linker script ]
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    Cc: Tim Abbott <tabbott@MIT.EDU>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    LKML-Reference: <1240991249-27117-7-git-send-email-sam@ravnborg.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    1f6397ba
vmlinux_32.lds.S 2.84 KB