Apply asm redirections in wchar.h before first use
commitc7509d49c4e8fa494120c5ead21338559dad16f5
authorRaphael Moreira Zinsly <rzinsly@linux.ibm.com>
Wed, 24 Aug 2022 14:43:37 +0000 (24 11:43 -0300)
committerRaphael Moreira Zinsly <rzinsly@linux.ibm.com>
Tue, 30 Aug 2022 15:50:16 +0000 (30 12:50 -0300)
tree2840faf378c19aea77219ea117e22aafc58e282e
parentd09aa4a17229bcaa2ec7642006b12612498582e7
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>
include/bits/wchar2-decl.h [new file with mode: 0644]
wcsmbs/Makefile
wcsmbs/bits/wchar2-decl.h [new file with mode: 0644]
wcsmbs/bits/wchar2.h
wcsmbs/wchar.h