HomeFreeBSD

libgcc_s: expose __divmoddi4 on i386

Description

libgcc_s: expose __divmoddi4 on i386

GCC has used this for some time (since 7.0) and apparently we were
getting away with using the hidden symbol, but when linking with
--no-undefined-version we get an error unless it's properly exported.
(For anyone who wonders at the assymetry, __udivmoddi4 is indeed much
older and was introduced with GCC 3.0.)

MFC after: 3 days
Reviewed by: dim
Differential Revision: https://reviews.freebsd.org/D44878

Details

Provenance
brooksAuthored on Fri, Apr 19, 9:52 PM
Reviewer
dim
Differential Revision
D44878: libgcc_s: expose __divmoddi4 on i386
Parents
rG0b9e3585805e: libgcc_{eh,s}: restore __*_frame_info symbols post llvm18
Branches
Unknown
Tags
Unknown