diff options
author | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-06-14 11:44:14 -0500 |
---|---|---|
committer | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-08-17 14:06:03 -0500 |
commit | ce6698ea0aea863bbfb4e932494406789e4e36c1 (patch) | |
tree | fc8a53b53c2b6d459dd9b4a5042314bcad7f4482 /sysdeps/ieee754/ldbl-opt/carg.c | |
parent | 1f645571d2db9008b3cd3d5acb9ff93357864283 (diff) | |
download | glibc-ce6698ea0aea863bbfb4e932494406789e4e36c1.tar.gz glibc-ce6698ea0aea863bbfb4e932494406789e4e36c1.tar.xz glibc-ce6698ea0aea863bbfb4e932494406789e4e36c1.zip |
Support for type-generic libm function implementations libm
This defines a new classes of libm objects. The <func>_template.c file which is used in conjunction with the new makefile hooks to derive variants for each type supported by the target machine. The headers math-type-macros-TYPE.h are used to supply macros to a common implementation of a function in a file named FUNC_template.c and glued togethor via a generated file matching existing naming in the build directory. This has the properties of preserving the existing override mechanism and not requiring any arcane build system twiddling. Likewise, it enables machines to override these files without any additional work. I have verified the built objects for ppc64, x86_64, alpha, arm, and m68k do not change in any meaningful way with these changes using the Fedora cross toolchains. I have verified the x86_64 and ppc64 changes still run.
Diffstat (limited to 'sysdeps/ieee754/ldbl-opt/carg.c')
-rw-r--r-- | sysdeps/ieee754/ldbl-opt/carg.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sysdeps/ieee754/ldbl-opt/carg.c b/sysdeps/ieee754/ldbl-opt/carg.c deleted file mode 100644 index 2ed358113c..0000000000 --- a/sysdeps/ieee754/ldbl-opt/carg.c +++ /dev/null @@ -1,6 +0,0 @@ -#include <complex.h> -#include <math_ldbl_opt.h> -#include <math/carg.c> -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1) -compat_symbol (libm, __carg, cargl, GLIBC_2_1); -#endif |