[libc-commits] [libc] [libc] Include pow in baremetal entrypoints (PR #102021)

Petr Hosek via libc-commits libc-commits at lists.llvm.org
Mon Aug 5 10:25:06 PDT 2024


https://github.com/petrhosek created https://github.com/llvm/llvm-project/pull/102021

None

>From 77e3987597f9aa944ac946b3203b6f6bfe489a65 Mon Sep 17 00:00:00 2001
From: Petr Hosek <phosek at google.com>
Date: Mon, 5 Aug 2024 10:23:42 -0700
Subject: [PATCH] [libc] Include pow in baremetal entrypoints

---
 libc/config/baremetal/arm/entrypoints.txt   | 1 +
 libc/config/baremetal/riscv/entrypoints.txt | 1 +
 2 files changed, 2 insertions(+)

diff --git a/libc/config/baremetal/arm/entrypoints.txt b/libc/config/baremetal/arm/entrypoints.txt
index b083745d5e082..8f0e1300ec240 100644
--- a/libc/config/baremetal/arm/entrypoints.txt
+++ b/libc/config/baremetal/arm/entrypoints.txt
@@ -372,6 +372,7 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.nextup
     libc.src.math.nextupf
     libc.src.math.nextupl
+    libc.src.math.pow
     libc.src.math.powf
     libc.src.math.remainder
     libc.src.math.remainderf
diff --git a/libc/config/baremetal/riscv/entrypoints.txt b/libc/config/baremetal/riscv/entrypoints.txt
index 8cdbbdee59d51..5d2b6fe87a17e 100644
--- a/libc/config/baremetal/riscv/entrypoints.txt
+++ b/libc/config/baremetal/riscv/entrypoints.txt
@@ -367,6 +367,7 @@ set(TARGET_LIBM_ENTRYPOINTS
     libc.src.math.nextup
     libc.src.math.nextupf
     libc.src.math.nextupl
+    libc.src.math.pow
     libc.src.math.powf
     libc.src.math.remainder
     libc.src.math.remainderf



More information about the libc-commits mailing list