On 4/7/19 7:31 AM, co...@sdf.org wrote: > architecture list from netbsd src/tests/libexec/ld.elf_so/t_ifunc.c > (quick reference: > https://github.com/NetBSD/src/blob/trunk/tests/libexec/ld.elf_so/t_ifunc.c#L38 > ) > tested on netbsd/amd64. > > ifuncs worked anyway, but I can't use target_clones without this change. > that is one very cool feature I'd like to use :) > > gcc/ChangeLog: > 2019-04-07 Maya Rashish <co...@sdf.org> > * config.gcc (default_gnu_indirect_function): Default to yes > for arm*-*-netbsd*, i[34567]86-*-netbsd*, powerpc*-*-netbsd*, > sparc*-*-netbsd*, x86_64-*-netbsd* This falls into a similar bucket as the prior patch -- though I'm not sure if we've got anyone that can say conclusively that all the supported NetBSD releases have ifuncs. I'd prefer to defer this to gcc-10.
jeff