libgcc_s: add libm dependencies from div{d,s,x}c3
authoremaste <emaste@FreeBSD.org>
Thu, 13 Oct 2016 19:18:00 +0000 (19:18 +0000)
committeremaste <emaste@FreeBSD.org>
Thu, 13 Oct 2016 19:18:00 +0000 (19:18 +0000)
commit7e723c8be4da40dc3d238ed0f29f83b78be86700
treec0fe16c10d1c62d75abbc6a8a3ed29344b63839e
parent12ec888fe8cc498a5e4f48293da89af62d42684c
libgcc_s: add libm dependencies from div{d,s,x}c3

compiler-rt's complex division support routines contain calls to
compiler builtins such as `__builtin_scalbnl`.  Unfortunately Clang
turns these back into a call to `scalbnl`.

For now link libm's C version of the required support routines.

Reviewed by: ed
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D8190
lib/libgcc_s/Makefile