Date: Sun, 24 May 2020 22:24:59 +0200 From: Paul Floyd <pjfloyd@wanadoo.fr> To: FreeBSD Hackers <freebsd-hackers@freebsd.org> Subject: Re: SIGBUS si_code 12 Message-ID: <916F0E5A-9033-4634-B42A-E448DD241E1B@wanadoo.fr> In-Reply-To: <20200524094222.GQ64045@kib.kiev.ua> References: <490544208.11847.1589489181927.JavaMail.www@wwinf1n11> <20200514224347.GB46537@kib.kiev.ua> <9840EA0E-CF11-4332-A5A0-A3CDBA0F0464@wanadoo.fr> <20200521154621.GB85681@raichu> <068F2B99-24C2-4F38-ACC1-02273C198434@wanadoo.fr> <679A6BE4-E344-49D0-B76D-DB65A41E26FA@wanadoo.fr> <20200522192804.GL64045@kib.kiev.ua> <D22F2087-4FB3-4EB5-841E-61C809DF94F0@wanadoo.fr> <20200522201251.GM64045@kib.kiev.ua> <816299859.1977.1590312280071.JavaMail.www@wwinf1c21> <20200524094222.GQ64045@kib.kiev.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 24 May 2020, at 11:42, Konstantin Belousov <kostikbel@gmail.com> = wrote: >=20 >>=20 >> Is there a way to get the linker to add a .note section with osrel? > Look at lib/csu/common/crtbrand.c >=20 I=E2=80=99ve 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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?916F0E5A-9033-4634-B42A-E448DD241E1B>