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

List:       netbsd-port-arm
Subject:    Re: clang and NetBSD kernel
From:       Martin Husemann <martin () duskware ! de>
Date:       2018-05-01 9:09:12
Message-ID: 20180501090912.GK28936 () mail ! duskware ! de
[Download RAW message or body]

On Sat, Apr 28, 2018 at 06:50:52AM +0900, Toru Nishimura wrote:
> Q2/  does it make sense after all for all-other gcc kernels?  It looks like
> as if the
> intent is not to remove BSS segment but "BSS size hardening."   gcc kernels
> have BSS anyway.

I think the idea is to have all variables that are explicitly initialized
in the code (even if to zero) to be available as patchable variables
in .data.

Everything in .bss can not be patched in the kernel image, obviously.

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

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