Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: clang and NetBSD kernel



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


Home | Main Index | Thread Index | Old Index