aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/Makefile
diff options
context:
space:
mode:
authorRaphael Moreira Zinsly <rzinsly@linux.ibm.com>2022-08-24 11:43:37 -0300
committerRaphael Moreira Zinsly <rzinsly@linux.ibm.com>2022-08-30 12:50:16 -0300
commitc7509d49c4e8fa494120c5ead21338559dad16f5 (patch)
tree2840faf378c19aea77219ea117e22aafc58e282e /wcsmbs/Makefile
parentd09aa4a17229bcaa2ec7642006b12612498582e7 (diff)
downloadglibc-c7509d49c4e8fa494120c5ead21338559dad16f5.zip
glibc-c7509d49c4e8fa494120c5ead21338559dad16f5.tar.gz
glibc-c7509d49c4e8fa494120c5ead21338559dad16f5.tar.bz2
Apply asm redirections in wchar.h before first use
Similar to d0fa09a770, but for wchar.h. Fixes [BZ #27087] by applying all long double related asm redirections before using functions in bits/wchar2.h. Moves the function declarations from wcsmbs/bits/wchar2.h to a new file wcsmbs/bits/wchar2-decl.h that will be included first in wcsmbs/wchar.h. Tested with build-many-glibcs.py. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'wcsmbs/Makefile')
-rw-r--r--wcsmbs/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile
index 3d19d55..4af102a 100644
--- a/wcsmbs/Makefile
+++ b/wcsmbs/Makefile
@@ -22,8 +22,9 @@ subdir := wcsmbs
include ../Makeconfig
-headers := wchar.h bits/wchar.h bits/wchar2.h bits/wchar-ldbl.h uchar.h \
- bits/types/__mbstate_t.h bits/types/mbstate_t.h bits/types/wint_t.h
+headers := wchar.h bits/wchar.h bits/wchar2.h bits/wchar2-decl.h \
+ bits/wchar-ldbl.h uchar.h bits/types/__mbstate_t.h \
+ bits/types/mbstate_t.h bits/types/wint_t.h
routines := wcscat wcschr wcscmp wcscpy wcscspn wcsdup wcslen wcsncat \
wcsncmp wcsncpy wcspbrk wcsrchr wcsspn wcstok wcsstr wmemchr \