about summary refs log tree commit diff
path: root/elf/ifuncmain9.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2021-03-24 01:10:38 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-03-24 01:52:46 +0100
commit16b597807d6c383c6a4730fe27e143271e952edb (patch)
treeb87911cdcc17322f47e7ebcc1b63b512c3b2ccc1 /elf/ifuncmain9.c
parent14beab53219bf0751f37805060d83860abe89bdc (diff)
downloadglibc-16b597807d6c383c6a4730fe27e143271e952edb.tar.gz
glibc-16b597807d6c383c6a4730fe27e143271e952edb.tar.xz
glibc-16b597807d6c383c6a4730fe27e143271e952edb.zip
elf: Fix not compiling ifunc tests that need gcc ifunc support
Diffstat (limited to 'elf/ifuncmain9.c')
-rw-r--r--elf/ifuncmain9.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/elf/ifuncmain9.c b/elf/ifuncmain9.c
index e775c5cfa9..15419a159a 100644
--- a/elf/ifuncmain9.c
+++ b/elf/ifuncmain9.c
@@ -20,8 +20,6 @@
 
 #include <config.h>
 
-#ifdef HAVE_GCC_IFUNC
-
 # include <stdbool.h>
 # include <stdio.h>
 
@@ -92,17 +90,3 @@ main (void)
 
   return errors;
 }
-
-#else  /* !HAVE_GCC_IFUNC */
-
-# include <support/check.h>
-
-static int
-do_test (void)
-{
-  FAIL_UNSUPPORTED ("GCC does not support the ifunc attribute");
-  return 1;                     /* Not reachable.  */
-}
-
-# include <support/test-driver.c>
-#endif