On 07.05.20 09:25, Kyrylo Tkachov wrote:
Hi Andreas,
-----Original Message-----
From: Gcc-patches <gcc-patches-boun...@gcc.gnu.org> On Behalf Of
Andreas Tobler
Sent: 06 May 2020 21:17
To: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: [PATCH] libgcc: aarch64: Get hwcap for FreeBSD
Hi all,
Since FreeBSD 12, FreeBSD has a sys/auxv.h header too but it doesn't
provide the getauxval function. Instead it offers the elf_aux_info
function which provides a similar functionality.
This patch gets the hwcap for FreeBSD.
Is this ok for trunk?
This whole thing is gated on __gnu_linux__. Does FreeBSD set that?
:) No, I developed the patch before you introduced the __gnu_linux__ guard.
This guard makes the patch obsolete.
Thanks,
Andreas