Remove a bunch of libm symbols from Restricted Kernel
@@ -27,73 +27,3 @@ pub extern "C" fn fmod(a: f64, b: f64) -> f64 {
pub extern "C" fn fmodf(a: f32, b: f32) -> f32 {
libm::fmodf(a, b)
}
-
-#[no_mangle]
-pub extern "C" fn sqrtf(x: f32) -> f32 {
- libm::sqrtf(x)
-}
-
-#[no_mangle]
-pub extern "C" fn logf(x: f32) -> f32 {
- libm::logf(x)
-}
-
-#[no_mangle]
-pub extern "C" fn cosf(x: f32) -> f32 {
- libm::cosf(x)
-}
-
-#[no_mangle]
-pub extern "C" fn sinf(x: f32) -> f32 {
- libm::sinf(x)
-}
-
-#[no_mangle]
-pub extern "C" fn exp(x: f64) -> f64 {
- libm::exp(x)
-}
-
-#[no_mangle]
-pub extern "C" fn roundf(x: f32) -> f32 {
- libm::roundf(x)
-}
-
-#[no_mangle]
-pub extern "C" fn expf(x: f32) -> f32 {
- libm::expf(x)
-}
-
-#[no_mangle]
-pub extern "C" fn expm1f(x: f32) -> f32 {
- libm::expm1f(x)
-}
-
-#[no_mangle]
-pub extern "C" fn round(x: f64) -> f64 {
- libm::round(x)
-}
-
-#[no_mangle]
-pub extern "C" fn fminf(x: f32, y: f32) -> f32 {
- libm::fminf(x, y)
-}
-
-#[no_mangle]
-pub extern "C" fn fmaxf(x: f32, y: f32) -> f32 {
- libm::fmaxf(x, y)
-}
-
-#[no_mangle]
-pub extern "C" fn tanhf(x: f32) -> f32 {
- libm::tanhf(x)
-}
-
-#[no_mangle]
-pub extern "C" fn powf(x: f32, y: f32) -> f32 {
- libm::powf(x, y)
-}
-
-#[no_mangle]
-pub extern "C" fn ceilf(x: f32) -> f32 {
- libm::ceilf(x)
-}
