SIGBUS si_code 12

Paul Floyd pjfloyd at wanadoo.fr
Sun May 24 20:25:04 UTC 2020



> On 24 May 2020, at 11:42, Konstantin Belousov <kostikbel at gmail.com> wrote:
> 
>> 
>> Is there a way to get the linker to add a .note section with osrel?

> Look at lib/csu/common/crtbrand.c
> 


I’ve added the code to read the Elf note value and then set it via the sysctl. Seems to fix the (rather minor) problem.

A+
Paul


More information about the freebsd-hackers mailing list