summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2016-04-13 02:47:23 +0200
committerMartin Roth <martinroth@google.com>2016-04-13 17:36:39 +0200
commit9551cf47093e4a471c4859eb9ed8e9bbf51a3afc (patch)
treeee94bb68c0c22da4373f49123657e76d4d14dab0 /util
parentc5b0e3b566c5371479ad255dbe030c3f00fcd11c (diff)
downloadcoreboot-9551cf47093e4a471c4859eb9ed8e9bbf51a3afc.tar.xz
romcc: Increase base address in linux ld script
Newer versions of Linux implement a sysctl variable called vm.mmap_min_addr that controls the minimum address a virtual memory mapping may have[1]. It is usually set to 64KiB. Map the start of the segment specified in util/romcc/tests/ldscript.ld to 128KiB, just to be sure. [1]: https://www.kernel.org/doc/Documentation/sysctl/vm.txt Change-Id: I72a5c65ca5e7d3a77d6ec897ae3287e3ea05cc2f Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/14277 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util')
-rw-r--r--util/romcc/tests/ldscript.ld2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/romcc/tests/ldscript.ld b/util/romcc/tests/ldscript.ld
index 249ebd5c19..fed99ea6fd 100644
--- a/util/romcc/tests/ldscript.ld
+++ b/util/romcc/tests/ldscript.ld
@@ -3,7 +3,7 @@ ENTRY(_start)
SECTIONS
{
- . = 0x1000;
+ . = 0x20000;
__cpu_reset = 0xdeadbeef;
.text . : {
. = ALIGN(16);