mirror of
https://sourceware.org/git/glibc.git
synced 2026-10-24 01:33:52 +03:00
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.
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
ifeq ($(subdir),posix)
|
||||
sysdep_routines += oldglob
|
||||
endif
|
||||
|
||||
ifeq ($(subdir),stdlib)
|
||||
gen-as-const-headers += ucontext-offsets.sym
|
||||
endif
|
||||
|
||||
2
sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c
Normal file
2
sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c
Normal file
@@ -0,0 +1,2 @@
|
||||
#define GLOB_NO_OLD_VERSION
|
||||
#include <sysdeps/unix/sysv/linux/oldglob.c>
|
||||
Reference in New Issue
Block a user