about summary refs log tree commit diff
path: root/include
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 /include
parentd09aa4a17229bcaa2ec7642006b12612498582e7 (diff)
downloadglibc-c7509d49c4e8fa494120c5ead21338559dad16f5.tar.gz
glibc-c7509d49c4e8fa494120c5ead21338559dad16f5.tar.xz
glibc-c7509d49c4e8fa494120c5ead21338559dad16f5.zip
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 'include')
-rw-r--r--include/bits/wchar2-decl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bits/wchar2-decl.h b/include/bits/wchar2-decl.h
new file mode 100644
index 0000000000..00b1b93342
--- /dev/null
+++ b/include/bits/wchar2-decl.h
@@ -0,0 +1 @@
+#include <wcsmbs/bits/wchar2-decl.h>