]> sourceware.org Git - glibc.git/commit - math/math-svid-compat.h
Simplify math-svid-compat code.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 28 Aug 2017 15:19:52 +0000 (15:19 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 28 Aug 2017 15:19:52 +0000 (15:19 +0000)
commita48c0fb4b4c322a0e0214f59516b9bb7883352f8
tree3d5f29b89994baf7309a4b0f7ba6fd9af8d36421
parentee17d4e99af9e49378217209d3708053ef148032
Simplify math-svid-compat code.

Now there are no more assembly wrappers using _LIB_VERSION or
__kernel_standard, the math-svid-compat code can be slighly
simplified.  math-svid-compat.h no longer needs __ASSEMBLER__
conditionals, and the _LIB_VERSION variable no longer needs to be
built for static libm, since all references are now in C code that
includes math-svid-compat.h and so gets the macro definition of
_LIB_VERSION to _POSIX_ outside the compat case.  This patch makes
those cleanups.

Tested for x86_64, and with build-many-glibcs.py.

* math/math-svid-compat.h [!__ASSEMBLER__]: Make code
unconditional.
* sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
conditional code; define contents only for [LIBM_SVID_COMPAT].
ChangeLog
math/math-svid-compat.h
sysdeps/ieee754/s_lib_version.c
This page took 0.045929 seconds and 5 git commands to generate.