diff options
author | Stan Shebs <stanshebs@google.com> | 2019-10-08 13:00:12 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-08-27 17:26:02 -0700 |
commit | c4d57c29b55e0dcad0aa6294427c0d09c8507fee (patch) | |
tree | a17cc05e0a4ed0b947a44d640ae9c7818dc3a42e /elf/Makefile | |
parent | 66c8103bdf54c1335efe8181f6110358f0277671 (diff) | |
download | glibc-c4d57c29b55e0dcad0aa6294427c0d09c8507fee.zip glibc-c4d57c29b55e0dcad0aa6294427c0d09c8507fee.tar.gz glibc-c4d57c29b55e0dcad0aa6294427c0d09c8507fee.tar.bz2 |
Make multi-arch ifunc support work with clang
Diffstat (limited to 'elf/Makefile')
-rw-r--r-- | elf/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/elf/Makefile b/elf/Makefile index 3009c0d..827fe13 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -336,11 +336,15 @@ tests-static += $(tests-ifuncstatic) tests-internal += $(tests-ifuncstatic) ifeq (yes,$(build-shared)) tests-internal += \ - ifuncmain1 ifuncmain1pic ifuncmain1vis ifuncmain1vispic \ + ifuncmain1pic ifuncmain1vis ifuncmain1vispic \ ifuncmain1staticpic \ ifuncmain2 ifuncmain2pic ifuncmain3 ifuncmain4 \ - ifuncmain5 ifuncmain5pic ifuncmain5staticpic \ + ifuncmain5pic ifuncmain5staticpic \ ifuncmain7 ifuncmain7pic +ifneq ($(with-clang),yes) +# Skip over tests where lld errors with "cannot preempt symbol" +tests-internal += ifuncmain1 ifuncmain5 +endif ifunc-test-modules = ifuncdep1 ifuncdep1pic ifuncdep2 ifuncdep2pic \ ifuncdep5 ifuncdep5pic extra-test-objs += $(ifunc-test-modules:=.o) |