]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
x86: Remove faulty sanity tests for RTLD build with no multiarch
authorNoah Goldstein <goldstein.w.n@gmail.com>
Thu, 23 Jun 2022 17:49:19 +0000 (10:49 -0700)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Thu, 23 Jun 2022 18:14:08 +0000 (11:14 -0700)
The sanity tests where meant to ensure that the default implementation
was only being built without multiarch with the exception of the
multiarch/rtld-*.S files.

The code used IS_IN (rtld) to check if the build for was for an
multiarch/rtld-*.S file which is incorrect as IS_IN (rtld) is set for
the non-multiarch build as well.

sysdeps/x86_64/isa-default-impl.h

index 7d7832b1f53125fcf9df5a19bf21342a8f29886e..34634668e56669c90d311537881cbb4b61cbc723 100644 (file)
 # error "Unsupported ISA Level!"
 #endif
 
-#if IS_IN(rtld)
-# if !defined USE_MULTIARCH
-#  error "RTLD version should only exist in multiarch build"
-# endif
-#else
-# if defined USE_MULTIARCH
-#  error "Multiarch build should not use ISA_DEFAULT_IMPL without RTLD"
-# endif
-#endif
-
 #include ISA_DEFAULT_IMPL