OSDN Git Service

compiler, libgo: Use //extern comments rather than __asm__.
[pf3gnuchains/gcc-fork.git] / libgo / go / math / log.go
index f06611d..5e5c427 100644 (file)
@@ -77,7 +77,10 @@ package math
 //     Log(0) = -Inf
 //     Log(x < 0) = NaN
 //     Log(NaN) = NaN
-func libc_log(float64) float64 __asm__("log")
+
+//extern log
+func libc_log(float64) float64
+
 func Log(x float64) float64 {
        return libc_log(x)
 }