diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-09-12 18:52:05 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-09-13 09:24:12 -0300 |
commit | 3ca622e4d6054c0b99b2df36580462663edc8d12 (patch) | |
tree | 846be0fa78421fd180fa59c63dbaf1b31d657943 /sysdeps | |
parent | 620ff9eea68d8edf0cdfb1e5cbb653993002484e (diff) | |
download | glibc-3ca622e4d6054c0b99b2df36580462663edc8d12.tar.gz glibc-3ca622e4d6054c0b99b2df36580462663edc8d12.tar.xz glibc-3ca622e4d6054c0b99b2df36580462663edc8d12.zip |
posix: Fix compat glob code on s390 and alpha
This patch fixes the compat glob implementation consolidation from commit 116f1c64d with the following changes: - Add a compat implementation on s390 to avoid the architecture to build the symbols on default linux oldglob.c by setting GLOB_NO_OLD_VERSION. - Remove the duplicate rule to build oldglob on alpha. Checked on s390-linux-gnu and alpha-linux-gnu using build-many-glibc.py. * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file. * sysdeps/unix/sysv/linux/alpha/Makefile [$(subdir) = csu] (sysdep_routines): Remove rule.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/Makefile | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/Makefile b/sysdeps/unix/sysv/linux/alpha/Makefile index 47bd189f94..50f4fb1183 100644 --- a/sysdeps/unix/sysv/linux/alpha/Makefile +++ b/sysdeps/unix/sysv/linux/alpha/Makefile @@ -1,7 +1,3 @@ -ifeq ($(subdir),posix) -sysdep_routines += oldglob -endif - ifeq ($(subdir),stdlib) gen-as-const-headers += ucontext-offsets.sym endif diff --git a/sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c b/sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c new file mode 100644 index 0000000000..56d7d12ea6 --- /dev/null +++ b/sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c @@ -0,0 +1,2 @@ +#define GLOB_NO_OLD_VERSION +#include <sysdeps/unix/sysv/linux/oldglob.c> |