Print this page
5261 libm should stop using synonyms.h
5298 fabs is 0-sized, confuses dis(1) and others
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Approved by: Gordon Ross <gwr@nexenta.com>
5262 libm needs to be carefully unifdef'd
5268 libm doesn't need to hide symbols which are already local
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Igor Kozhukhov <ikozhukhov@gmail.com>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Approved by: Gordon Ross <gwr@nexenta.com>

*** 31,51 **** #include "libm.h" LIBM_ANSI_PRAGMA_WEAK(nextafter,function) .weak _nextafter .type _nextafter,#function _nextafter = __nextafter - #include "libm_synonyms.h" #include "libm_protos.h" - #if defined(LIBM_BUILD) && !defined(ELFOBJ) - #define mENTRY(x) ENTRY(__libm/**/x) - #define mNAME(x) NAME(__libm/**/x) - #else - #define mENTRY(x) ENTRY(x) - #define mNAME(x) NAME(x) - #endif - RO_DATA .align 8 .Lconstant: two54 = 0x00 .word 0x43500000,0x0 ! 2**54 --- 31,42 ----
*** 108,118 **** be,a 1f ! xflow ldd [%l0+tiny],%f2 cmp %i2,%l3 bne,a 9f ! next_return ldd [%fp+x],%f0 ! call mNAME(_SVID_libm_err) ! overflow or %g0,46,%o4 ba 9f nop 1: ! xflow fmuld %f2,%f2,%f2 --- 99,109 ---- be,a 1f ! xflow ldd [%l0+tiny],%f2 cmp %i2,%l3 bne,a 9f ! next_return ldd [%fp+x],%f0 ! call NAME(_SVID_libm_err) ! overflow or %g0,46,%o4 ba 9f nop 1: ! xflow fmuld %f2,%f2,%f2