@@ -52,7 +52,272 @@ set(TARGET_LIBC_ENTRYPOINTS
5252 libc.src.stdlib.strtoull
5353)
5454
55- set(TARGET_LIBM_ENTRYPOINTS "")
55+ set(TARGET_LIBM_ENTRYPOINTS
56+ # fenv.h entrypoints
57+ libc.src.fenv.feclearexcept
58+ libc.src.fenv.fedisableexcept
59+ libc.src.fenv.feenableexcept
60+ libc.src.fenv.fegetenv
61+ libc.src.fenv.fegetexcept
62+ libc.src.fenv.fegetexceptflag
63+ libc.src.fenv.fegetround
64+ libc.src.fenv.feholdexcept
65+ libc.src.fenv.feraiseexcept
66+ libc.src.fenv.fesetenv
67+ libc.src.fenv.fesetexcept
68+ libc.src.fenv.fesetexceptflag
69+ libc.src.fenv.fesetround
70+ libc.src.fenv.fetestexcept
71+ libc.src.fenv.fetestexceptflag
72+ libc.src.fenv.feupdateenv
73+
74+ # math.h entrypoints
75+ libc.src.math.acosf
76+ libc.src.math.acoshf
77+ libc.src.math.asinf
78+ libc.src.math.asinhf
79+ libc.src.math.atan2
80+ libc.src.math.atan2f
81+ libc.src.math.atanf
82+ libc.src.math.atanhf
83+ libc.src.math.canonicalize
84+ libc.src.math.canonicalizef
85+ libc.src.math.canonicalizel
86+ libc.src.math.cbrt
87+ libc.src.math.cbrtf
88+ libc.src.math.ceil
89+ libc.src.math.ceilf
90+ libc.src.math.ceill
91+ libc.src.math.copysign
92+ libc.src.math.copysignf
93+ libc.src.math.copysignl
94+ libc.src.math.cos
95+ libc.src.math.cosf
96+ libc.src.math.coshf
97+ libc.src.math.cospif
98+ libc.src.math.dfmal
99+ libc.src.math.dmull
100+ libc.src.math.dsqrtl
101+ libc.src.math.daddl
102+ # libc.src.math.ddivl
103+ libc.src.math.dsubl
104+ libc.src.math.erff
105+ libc.src.math.exp
106+ libc.src.math.exp10
107+ libc.src.math.exp10f
108+ libc.src.math.exp2
109+ libc.src.math.exp2f
110+ libc.src.math.exp2m1f
111+ libc.src.math.expf
112+ libc.src.math.expm1
113+ libc.src.math.expm1f
114+ libc.src.math.fabs
115+ libc.src.math.fabsf
116+ libc.src.math.fabsl
117+ libc.src.math.fadd
118+ libc.src.math.faddl
119+ libc.src.math.fadd
120+ libc.src.math.fdim
121+ libc.src.math.fdimf
122+ libc.src.math.fdiml
123+ libc.src.math.fdiv
124+ # libc.src.math.fdivl
125+ libc.src.math.ffma
126+ libc.src.math.ffmal
127+ libc.src.math.floor
128+ libc.src.math.floorf
129+ libc.src.math.floorl
130+ libc.src.math.fma
131+ libc.src.math.fmaf
132+ libc.src.math.fmax
133+ libc.src.math.fmaxf
134+ libc.src.math.fmaximum
135+ libc.src.math.fmaximum_mag
136+ libc.src.math.fmaximum_mag_num
137+ libc.src.math.fmaximum_mag_numf
138+ libc.src.math.fmaximum_mag_numl
139+ libc.src.math.fmaximum_magf
140+ libc.src.math.fmaximum_magl
141+ libc.src.math.fmaximum_num
142+ libc.src.math.fmaximum_numf
143+ libc.src.math.fmaximum_numl
144+ libc.src.math.fmaximumf
145+ libc.src.math.fmaximuml
146+ libc.src.math.fmaxl
147+ libc.src.math.fmin
148+ libc.src.math.fminf
149+ libc.src.math.fminimum
150+ libc.src.math.fminimum_mag
151+ libc.src.math.fminimum_mag_num
152+ libc.src.math.fminimum_mag_numf
153+ libc.src.math.fminimum_mag_numl
154+ libc.src.math.fminimum_magf
155+ libc.src.math.fminimum_magl
156+ libc.src.math.fminimum_num
157+ libc.src.math.fminimum_numf
158+ libc.src.math.fminimum_numl
159+ libc.src.math.fminimumf
160+ libc.src.math.fminimuml
161+ libc.src.math.fminl
162+ libc.src.math.fmod
163+ libc.src.math.fmodf
164+ libc.src.math.fmodl
165+ libc.src.math.fmul
166+ libc.src.math.fmull
167+ libc.src.math.frexp
168+ libc.src.math.frexpf
169+ libc.src.math.frexpl
170+ libc.src.math.fromfp
171+ libc.src.math.fromfpf
172+ libc.src.math.fromfpl
173+ libc.src.math.fromfpx
174+ libc.src.math.fromfpxf
175+ libc.src.math.fromfpxl
176+ libc.src.math.fsqrt
177+ libc.src.math.fsqrtl
178+ libc.src.math.fsub
179+ libc.src.math.fsubl
180+ libc.src.math.getpayload
181+ libc.src.math.getpayloadf
182+ libc.src.math.getpayloadl
183+ libc.src.math.hypot
184+ libc.src.math.hypotf
185+ libc.src.math.ilogb
186+ libc.src.math.ilogbf
187+ libc.src.math.ilogbl
188+ libc.src.math.iscanonical
189+ libc.src.math.iscanonicalf
190+ libc.src.math.iscanonicall
191+ libc.src.math.isnan
192+ libc.src.math.isnanf
193+ libc.src.math.isnanl
194+ libc.src.math.issignaling
195+ libc.src.math.issignalingf
196+ libc.src.math.issignalingl
197+ libc.src.math.ldexp
198+ libc.src.math.ldexpf
199+ libc.src.math.ldexpl
200+ libc.src.math.llogb
201+ libc.src.math.llogbf
202+ libc.src.math.llogbl
203+ libc.src.math.llrint
204+ libc.src.math.llrintf
205+ libc.src.math.llrintl
206+ libc.src.math.llround
207+ libc.src.math.llroundf
208+ libc.src.math.llroundl
209+ libc.src.math.log
210+ libc.src.math.log10
211+ libc.src.math.log10f
212+ libc.src.math.log1p
213+ libc.src.math.log1pf
214+ libc.src.math.log2
215+ libc.src.math.log2f
216+ libc.src.math.logb
217+ libc.src.math.logbf
218+ libc.src.math.logbl
219+ libc.src.math.logf
220+ libc.src.math.lrint
221+ libc.src.math.lrintf
222+ libc.src.math.lrintl
223+ libc.src.math.lround
224+ libc.src.math.llroundf
225+ libc.src.math.llroundl
226+ libc.src.math.log
227+ libc.src.math.log10
228+ libc.src.math.log10f
229+ libc.src.math.log1p
230+ libc.src.math.log1pf
231+ libc.src.math.log2
232+ libc.src.math.log2f
233+ libc.src.math.logb
234+ libc.src.math.logbf
235+ libc.src.math.logbl
236+ libc.src.math.logf
237+ libc.src.math.lrint
238+ libc.src.math.lrintf
239+ libc.src.math.lrintl
240+ libc.src.math.lround
241+ libc.src.math.lroundf
242+ libc.src.math.lroundl
243+ libc.src.math.modf
244+ libc.src.math.modff
245+ libc.src.math.modfl
246+ libc.src.math.nan
247+ libc.src.math.nanf
248+ libc.src.math.nanl
249+ libc.src.math.nearbyint
250+ libc.src.math.nearbyintf
251+ libc.src.math.nearbyintl
252+ libc.src.math.nextafter
253+ libc.src.math.nextafterf
254+ libc.src.math.nextafterl
255+ libc.src.math.nextdown
256+ libc.src.math.nextdownf
257+ libc.src.math.nextdownl
258+ libc.src.math.nexttoward
259+ libc.src.math.nexttowardf
260+ libc.src.math.nexttowardl
261+ libc.src.math.nextup
262+ libc.src.math.nextupf
263+ libc.src.math.nextupl
264+ libc.src.math.pow
265+ libc.src.math.powf
266+ libc.src.math.remainder
267+ libc.src.math.remainderf
268+ libc.src.math.remainderl
269+ libc.src.math.remquo
270+ libc.src.math.remquof
271+ libc.src.math.remquol
272+ libc.src.math.rint
273+ libc.src.math.rintf
274+ libc.src.math.rintl
275+ libc.src.math.round
276+ libc.src.math.roundeven
277+ libc.src.math.roundevenf
278+ libc.src.math.roundevenl
279+ libc.src.math.roundf
280+ libc.src.math.roundl
281+ libc.src.math.scalbln
282+ libc.src.math.scalblnf
283+ libc.src.math.scalblnl
284+ libc.src.math.scalbn
285+ libc.src.math.scalbnf
286+ libc.src.math.scalbnl
287+ libc.src.math.setpayload
288+ libc.src.math.setpayloadf
289+ libc.src.math.setpayloadl
290+ libc.src.math.setpayloadsig
291+ libc.src.math.setpayloadsigf
292+ libc.src.math.setpayloadsigl
293+ libc.src.math.sin
294+ libc.src.math.sincos
295+ libc.src.math.sincosf
296+ libc.src.math.sinf
297+ libc.src.math.sinhf
298+ libc.src.math.sinpif
299+ libc.src.math.sqrt
300+ libc.src.math.sqrtf
301+ libc.src.math.sqrtl
302+ libc.src.math.tan
303+ libc.src.math.tanf
304+ libc.src.math.tanhf
305+ libc.src.math.totalorder
306+ libc.src.math.totalorderf
307+ libc.src.math.totalorderl
308+ libc.src.math.totalordermag
309+ libc.src.math.totalordermagf
310+ libc.src.math.totalordermagl
311+ libc.src.math.trunc
312+ libc.src.math.truncf
313+ libc.src.math.truncl
314+ libc.src.math.ufromfp
315+ libc.src.math.ufromfpf
316+ libc.src.math.ufromfpl
317+ libc.src.math.ufromfpx
318+ libc.src.math.ufromfpxf
319+ libc.src.math.ufromfpxl
320+ )
56321
57322set(TARGET_LLVMLIBC_ENTRYPOINTS
58323 ${TARGET_LIBC_ENTRYPOINTS}
0 commit comments