This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 6/9] Remove the error handling wrapper from exp and exp2


On 29/06/18 15:24, Szabolcs Nagy wrote:
On 29/06/18 13:54, Szabolcs Nagy wrote:
diff --git a/sysdeps/ieee754/dbl-64/e_exp.c b/sysdeps/ieee754/dbl-64/e_exp.c
...
+versioned_symbol (libm, __exp, exp, GLIBC_2_28);
+libm_alias_double_other (__exp, exp)
  #endif

this should have been libm_alias_double (...) for
targets where long double is the same as double.

will change it (at other places too) and rerun
build-many-glibcs.py with it.

ok so the reason i used *_double_other is to avoid affecting
long double symbols, now i see that i either have to introduce
new symbol version for expl or keep the long double wrappers
somehow for targets where long double is the same as the double.

so is it acceptable to keep expl wrappers but remove exp
wrappers on the affected targets? what's the best way to do this?
customize sysdeps/ieee754/dbl-64/w_exp.c to do the right thing?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]