HomeFreeBSD

MFC r339019: clang: allow ifunc resolvers to accept arguments

Description

MFC r339019: clang: allow ifunc resolvers to accept arguments

Previously Clang required ifunc resolution functions to take no
arguments, presumably because GCC documented ifunc resolvers as taking
no arguments. However, GCC accepts resolvers accepting arguments, and
our rtld passes CPU ID information (cpuid, hwcap, etc.) to ifunc
resolvers. Just remove the check from the in-tree compiler for our in-
tree compiler.

Sponsored by: The FreeBSD Foundation

Details

Provenance
emasteAuthored on
Parents
rS339283: regerate src.conf.5 to remove duplicate entries
Branches
Unknown
Tags
Unknown