HomeFreeBSD

ssp: further refine the conditional used for constructor priority

Description

ssp: further refine the conditional used for constructor priority

has_attribute(constructor) is a better test for clang than
defined(
clang__). Switch to it instead.

While we're already here and touching it, pfg@ nailed down when GCC actually
introduced the priority argument -- 4.3. Use that instead of our
hammer-guess of GCC >= 5 for the sake of correctness.

Details

Provenance
kevansAuthored on
Parents
rS354688: Fix a typo in the PMAP_PTE_SET_CACHE_BITS macro.
Branches
Unknown
Tags
Unknown