about summary refs log tree commit diff
path: root/src/math/i386/s_trunc.s
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-26 15:52:37 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-26 15:52:37 -0400
commite22c2d3ee6c436ca69aa07d52943bf2808a22aac (patch)
treeb9cb77fe87c0b671037aa71af0cc169d5cfca1c4 /src/math/i386/s_trunc.s
parent32de61e81a64c8bb2cd23e3476f00433692f8e59 (diff)
downloadmusl-e22c2d3ee6c436ca69aa07d52943bf2808a22aac.tar.gz
musl-e22c2d3ee6c436ca69aa07d52943bf2808a22aac.tar.xz
musl-e22c2d3ee6c436ca69aa07d52943bf2808a22aac.zip
use .type directives for math asm (needed for dynamic linking to work)
Diffstat (limited to 'src/math/i386/s_trunc.s')
-rw-r--r--src/math/i386/s_trunc.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/math/i386/s_trunc.s b/src/math/i386/s_trunc.s
index 0773891a..bdd6ab4c 100644
--- a/src/math/i386/s_trunc.s
+++ b/src/math/i386/s_trunc.s
@@ -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