aboutsummaryrefslogtreecommitdiffstats
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorJan Beulich <[email protected]>2009-08-25 13:50:53 +0000
committerIngo Molnar <[email protected]>2009-08-25 13:54:16 +0000
commitc62e43202e7cf50ca24bce58b255df7bf5de69d0 (patch)
tree7db630d5e57496b417afdc67efeb8905b8f45d4d /lib/flex_array.c
parentx86: Fix an incorrect argument of reserve_bootmem() (diff)
downloadkernel-c62e43202e7cf50ca24bce58b255df7bf5de69d0.tar.gz
kernel-c62e43202e7cf50ca24bce58b255df7bf5de69d0.zip
x86: Fix build with older binutils and consolidate linker script
binutils prior to 2.17 can't deal with the currently possible situation of a new segment following the per-CPU segment, but that new segment being empty - objcopy misplaces the .bss (and perhaps also the .brk) sections outside of any segment. However, the current ordering of sections really just appears to be the effect of cumulative unrelated changes; re-ordering things allows to easily guarantee that the segment following the per-CPU one is non-empty, and at once eliminates the need for the bogus data.init2 segment. Once touching this code, also use the various data section helper macros from include/asm-generic/vmlinux.lds.h. -v2: fix !SMP builds. Signed-off-by: Jan Beulich <[email protected]> Cc: <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions