Print this page
5261 libm should stop using synonyms.h

@@ -50,13 +50,13 @@
 #define IDENT(x)        .ident  x
 
 #if defined(__sparc)
 
 #define LIBM_ANSI_PRAGMA_WEAK(sym,stype) \
-        .weak sym; \
-        .type sym,#stype; \
-sym     = __/**/sym
+        .weak __/**/sym;                 \
+        .type __/**/sym,#stype;          \
+__/**/sym       = sym
 
 #ifndef SET_FILE
 #define SET_FILE(x) \
         .file   x
 #endif  /* !defined(SET_FILE) */

@@ -149,13 +149,13 @@
 #endif /* defined(PROF) && defined(__sparcv9) */
 
 #elif defined(__x86)
 
 #define LIBM_ANSI_PRAGMA_WEAK(sym,stype) \
-        .weak sym; \
-        .type sym,@stype; \
-sym     = __/**/sym
+        .weak __/**/sym;                 \
+        .type __/**/sym,@stype;          \
+__/**/sym       = sym
 
 #ifdef PIC
 #if defined(__amd64)
 #define PIC_SETUP(x)
 #define PIC_WRAPUP

@@ -194,11 +194,10 @@
 
 /* END CSTYLED */
 #else   /* defined(_ASM) */
 
 #include "libm_macros.h"
-#include "libm_synonyms.h"
 #include "libm_protos.h"
 #include "libm_inlines.h"
 #include <math.h>
 #if defined(__SUNPRO_C)
 #include <sunmath.h>