HomeFreeBSD

rdrand_rng: Build with -fPIC on i386 when using GCC.

Description

rdrand_rng: Build with -fPIC on i386 when using GCC.

ld.bfd requires an R_386_PLT32 relocation for calls to ifuncs
rather than R_386_PC32. (lld permits R_386_PC32.)

Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D40811

Details

Provenance
jhbAuthored on Jul 1 2023, 7:23 PM
Reviewer
kib
Differential Revision
D40811: rdrand_rng: Build with -fPIC on i386 when using GCC.
Parents
rGcc4f247fb946: sys: Add [u]divmoddi4 intrinsics on i386.
Branches
Unknown
Tags
Unknown