summary refs log tree commit diff
path: root/elf/dl-profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-profile.c')
-rw-r--r--elf/dl-profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-profile.c b/elf/dl-profile.c
index 40c4757307..91626f6fa3 100644
--- a/elf/dl-profile.c
+++ b/elf/dl-profile.c
@@ -223,7 +223,7 @@ _dl_start_profile (struct link_map *map, const char *output_dir)
   if ((HASHFRACTION & (HASHFRACTION - 1)) == 0)
     /* If HASHFRACTION is a power of two, mcount can use shifting
        instead of integer division.  Precompute shift amount.  */
-    log_hashfraction = __builtin_ffs (hashfraction * sizeof (*froms)) - 1;
+    log_hashfraction = __ffs (hashfraction * sizeof (*froms)) - 1;
   else
     log_hashfraction = -1;
   tossize = textsize / HASHFRACTION;