[7/9] posix: Consolidate glob implementation
Commit Message
On 12/09/2017 11:34, Andreas Schwab wrote:
> On Sep 12 2017, Adhemerval Zanella <adhemerval.zanella@linaro.org> wrote:
>
>> I will fix it and maybe it is confusing the linker and making you seem
>> the missing glob64 (since oldglob.os and glob64.os both provide the
>> same symbol).
>
> glob64@GLIBC_2.1 is the only version and it isn't the default, thus
> becomes hidden.
>
> Andreas.
>
I pushed the patch below. It removes the alpha rule to add the oldglob
and refrain s390 to build the compat code.
---
@@ -1,7 +1,3 @@
-ifeq ($(subdir),posix)
-sysdep_routines += oldglob
-endif
-
ifeq ($(subdir),stdlib)
gen-as-const-headers += ucontext-offsets.sym
endif
new file mode 100644
@@ -0,0 +1,2 @@
+#define GLOB_NO_OLD_VERSION
+#include <sysdeps/unix/sysv/linux/oldglob.c>