use .type directives for math asm (needed for dynamic linking to work)
authorRich Felker <dalias@aerifal.cx>
Sun, 26 Jun 2011 19:52:37 +0000 (15:52 -0400)
committerRich Felker <dalias@aerifal.cx>
Sun, 26 Jun 2011 19:52:37 +0000 (15:52 -0400)
15 files changed:
src/math/i386/e_exp.s
src/math/i386/e_log.s
src/math/i386/e_log10.s
src/math/i386/e_log10f.s
src/math/i386/e_logf.s
src/math/i386/e_remainder.s
src/math/i386/e_sqrt.s
src/math/i386/e_sqrtf.s
src/math/i386/s_fabs.s
src/math/i386/s_fabsf.s
src/math/i386/s_rint.s
src/math/i386/s_rintf.s
src/math/i386/s_scalbln.s
src/math/i386/s_scalblnf.s
src/math/i386/s_trunc.s

index d6c54a3..c50abc5 100644 (file)
@@ -1,4 +1,5 @@
 .global expf
+.type expf,@function
 expf:
        mov 4(%esp),%eax
        flds 4(%esp)
@@ -8,6 +9,7 @@ expf:
        jmp 0f
 
 .global exp
+.type exp,@function
 exp:
        mov 8(%esp),%eax
        fldl 4(%esp)
index 34b8d38..fcccf03 100644 (file)
@@ -1,4 +1,5 @@
 .global log
+.type log,@function
 log:
        fldln2
        fldl 4(%esp)
index 7f48941..28eb5b2 100644 (file)
@@ -1,4 +1,5 @@
 .global log10
+.type log10,@function
 log10:
        fldlg2
        fldl 4(%esp)
index 311486e..c0c0c67 100644 (file)
@@ -1,4 +1,5 @@
 .global log10f
+.type log10f,@function
 log10f:
        fldlg2
        flds 4(%esp)
index b8beec0..da7ff3a 100644 (file)
@@ -1,4 +1,5 @@
 .global logf
+.type logf,@function
 logf:
        fldln2
        flds 4(%esp)
index b7ff3ef..36d55f9 100644 (file)
@@ -1,10 +1,12 @@
 .global remainderf
+.type remainderf,@function
 remainderf:
        flds 8(%esp)
        flds 4(%esp)
        jmp 1f
        
 .global remainder
+.type remainder,@function
 remainder:
        fldl 12(%esp)
        fldl 4(%esp)
index 11314dc..c6e5530 100644 (file)
@@ -1,4 +1,5 @@
 .global sqrt
+.type sqrt,@function
 sqrt:  fldl 4(%esp)
        fsqrt
        ret
index 015e24c..b79bd94 100644 (file)
@@ -1,4 +1,5 @@
 .global sqrtf
+.type sqrtf,@function
 sqrtf: flds 4(%esp)
        fsqrt
        ret
index 10c70f3..d66ea9a 100644 (file)
@@ -1,4 +1,5 @@
 .global fabs
+.type fabs,@function
 fabs:
        fldl 4(%esp)
        fabs
index 4544269..a981c42 100644 (file)
@@ -1,4 +1,5 @@
 .global fabsf
+.type fabsf,@function
 fabsf:
        flds 4(%esp)
        fabs
index 5ba4ab4..bb99a11 100644 (file)
@@ -1,4 +1,5 @@
 .global rint
+.type rint,@function
 rint:
        fldl 4(%esp)
        frndint
index d7aacd8..bce4c5a 100644 (file)
@@ -1,4 +1,5 @@
 .global rintf
+.type rintf,@function
 rintf:
        flds 4(%esp)
        frndint
index bd022b4..2641e69 100644 (file)
@@ -1,6 +1,9 @@
 .global ldexp
 .global scalbn
 .global scalbln
+.type ldexp,@function
+.type scalbn,@function
+.type scalbln,@function
 ldexp:
 scalbn:
 scalbln:
index 379ec91..775765a 100644 (file)
@@ -1,6 +1,9 @@
 .global ldexpf
 .global scalbnf
 .global scalblnf
+.type ldexpf,@function
+.type scalbnf,@function
+.type scalblnf,@function
 ldexpf:
 scalbnf:
 scalblnf:
index 0773891..bdd6ab4 100644 (file)
@@ -1,26 +1,32 @@
 .global ceilf
+.type ceilf,@function
 ceilf: flds 4(%esp)
        jmp 1f
        
 .global ceil
+.type ceil,@function
 ceil:  fldl 4(%esp)
 1:     mov $0x08fb,%edx
        jmp 0f
 
 .global floorf
+.type floorf,@function
 floorf:        flds 4(%esp)
        jmp 1f
 
 .global floor
+.type floor,@function
 floor: fldl 4(%esp)
 1:     mov $0x04f7,%edx
        jmp 0f
 
 .global truncf
+.type truncf,@function
 truncf:        flds 4(%esp)
        jmp 1f
 
 .global trunc
+.type trunc,@function
 trunc: fldl 4(%esp)
 1:     mov $0x0cff,%edx