SVNews r324510

NOTE: This service is experimental and subject to change! Use at your own risk!

2017-10-11 00:31:54 - r324510 by emaste (Ed Maste)

Complete list of files affected by revision r324510:

(Note: At the moment, these links point to ViewVC on They are probably slow. Do not overuse.)

   Contents     MODIFY   /stable/11  
  History   Contents   Diff   MODIFY   /stable/11/sys/conf/ldscript.amd64  

Commit message:

MFC r309151: Use explicit 0x200000 for the amd64 kernel physaddr

(instead of MAXPAGESIZE)

MAXPAGESIZE is not well defined by the GNU ld documentation.
Different linkers, and different versions of the same linker, use
different MAXPAGESIZE values. Current versions of GNU gold and LLVM's
lld use 4K. When set to 4K the kernel panics at boot due to an issue
with x86bios.

Here we want the kernel physaddr to be the amd64 superpage size, so use
that value (2MB) explicitly. With this change GNU gold and LLVM lld can
link a working amd64 kernel.

PR: 214718 (x86bios)
Sponsored by: The FreeBSD Foundation


Powered by Python FreeBSD support by secnetix GmbH & Co. KG

Page generated in 8 ms, 2 files printed. Current time is 2018-03-24 11:57:15. All times are in UTC/GMT.