[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-port-amd64
Subject:    Re: Kernel linking with new binutils
From:       christos () astron ! com (Christos Zoulas)
Date:       2009-09-25 12:56:13
Message-ID: h9ield$7hp$1 () ger ! gmane ! org
[Download RAW message or body]

In article <200909241150.18921.nick.hudson@gmx.co.uk>,
Nick Hudson  <nick.hudson@gmx.co.uk> wrote:
>-=-=-=-=-=-
>
>Hi,
>
>New binutils has 
>
>./bfd/elf64-x86-64.c:#define ELF_MAXPAGESIZE                        0x200000
>
>as described in
>
>http://sourceware.org/ml/binutils/2006-05/msg00279.html
>
>This causes problems for our kernel which tries to link at 0xffffffff80100000. 
>
>Fixes are
>
>	1) keep this start text address by adding -z max-page-size=0x100000; or
>	2) by allowing the new maxpage alignment with the attached diff. I
>	   suppose that LARGEPAGES could die as a result?
>
>Anyone got any strong preference?

No a weak for 2.

christos

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic