Print this page
11210 libm should be cstyle(1ONBLD) clean
*** 48,58 ****
#define DATA .section ".data"
#define RO_DATA .section ".rodata"
#define IDENT(x) .ident x
#if defined(__sparc)
-
#define LIBM_ANSI_PRAGMA_WEAK(sym,stype) \
.weak __/**/sym; \
.type __/**/sym,#stype; \
__/**/sym = sym
--- 48,57 ----
*** 100,110 ****
/*
* Workaround for 4337025: MCOUNT in asm_linkage.h does not support __sparcv9
*/
#if defined(PROF) && defined(__sparcv9)
-
#undef MCOUNT_SIZE
#undef MCOUNT
#if !defined(PIC)
#define MCOUNT_SIZE (9*4) /* 9 instructions */
--- 99,108 ----
*** 145,157 ****
ldx [%o0+%lo(.L_/**/x/**/1)],%o0; \
restore; \
.common .L_/**/x/**/1,8,8
#endif /* !defined(PIC) */
#endif /* defined(PROF) && defined(__sparcv9) */
-
#elif defined(__x86)
-
#define LIBM_ANSI_PRAGMA_WEAK(sym,stype) \
.weak __/**/sym; \
.type __/**/sym,@stype; \
__/**/sym = sym
--- 143,153 ----
*** 185,208 ****
#define PIC_F(x) x
#define PIC_G(x) x
#define PIC_L(x) x
#define PIC_G_LOAD(insn,sym,dst) insn sym,%dst
#endif /* defined(PIC) */
-
#else
#error Unknown architecture
#endif
/* END CSTYLED */
#else /* defined(_ASM) */
-
#include "libm_macros.h"
#include "libm_protos.h"
#include "libm_inlines.h"
#include <math.h>
#if defined(__SUNPRO_C)
#include <sunmath.h>
#endif
-
#endif /* defined(_ASM) */
-
#endif /* _LIBM_H */
--- 181,200 ----