]> Git Repo - linux.git/commit
vmlinux.lds: fix .data..init_task output section (fix popwerpc boot)
authorSam Ravnborg <[email protected]>
Tue, 13 Jul 2010 09:39:42 +0000 (11:39 +0200)
committerBenjamin Herrenschmidt <[email protected]>
Fri, 23 Jul 2010 03:45:12 +0000 (13:45 +1000)
commitda5e37efe8704fc2b354626467f80f73c5e3c020
tree093fdbf2ef2d30e6405ceaaa2ccfbe658a7fdd7b
parent3fdfd99051fbc210464378cd44a4b8914282bac3
vmlinux.lds: fix .data..init_task output section (fix popwerpc boot)

The .data..init_task output section was missing
a load offset causing a popwerpc target to fail to boot.

Sean MacLennan tracked it down to the definition of
INIT_TASK_DATA_SECTION().

There are only two users of INIT_TASK_DATA_SECTION()
in the kernel today: cris and popwerpc.
cris do not support relocatable kernels and is thus not
impacted by this change.

Fix INIT_TASK_DATA_SECTION() to specify load offset like
all other output sections.

Reported-by: Sean MacLennan <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
Signed-off-by: Benjamin Herrenschmidt <[email protected]>
include/asm-generic/vmlinux.lds.h
This page took 0.051394 seconds and 4 git commands to generate.