Skip to content

Commit

Permalink
Skip if GNU IFUNC is not supported
Browse files Browse the repository at this point in the history
Even on x86-64, non-GNU libc may not support the IFUNC.

Fixes #949
  • Loading branch information
rui314 committed Jan 9, 2023
1 parent 994f800 commit 915cd23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/elf/x86_64_ifunc-alias.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
. $(dirname $0)/common.inc

supports_ifunc || skip

cat <<EOF | $CXX -o $t/a.o -c -xc++ - -fno-PIE
#include <assert.h>
#include <stdio.h>
Expand Down

0 comments on commit 915cd23

Please sign in to comment.