sh: Make PAGE_OFFSET configurable.
nommu needs to be able to shift PAGE_OFFSET, so we switch it to a non-user-visible CONFIG_PAGE_OFFSET and use that in the few places where it matters. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@ -13,7 +13,7 @@ OUTPUT_ARCH(sh)
|
||||
ENTRY(_start)
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x80000000 + CONFIG_MEMORY_START + CONFIG_ZERO_PAGE_OFFSET;
|
||||
. = CONFIG_PAGE_OFFSET + CONFIG_MEMORY_START + CONFIG_ZERO_PAGE_OFFSET;
|
||||
_text = .; /* Text and read-only data */
|
||||
text = .; /* Text and read-only data */
|
||||
.empty_zero_page : {
|
||||
|
Reference in New Issue
Block a user