summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-10-25 22:02:00 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-10-25 22:02:13 +0200
commit1ce7565f485e67094fb361ca8c5987da9737159f (patch)
tree3d3d4472dade6d08238aef7f0b199564b0c0fa31
parentc9e0c70d588e0f80d313d13a9ad5f44f62546d9c (diff)
downloadgnutls-1ce7565f485e67094fb361ca8c5987da9737159f.tar.gz
corrected symbols for coff.
-rw-r--r--lib/accelerated/x86/asm-coff/cpuid-x86-64-coff.s6
-rw-r--r--lib/accelerated/x86/asm-coff/cpuid-x86-coff.s12
2 files changed, 9 insertions, 9 deletions
diff --git a/lib/accelerated/x86/asm-coff/cpuid-x86-64-coff.s b/lib/accelerated/x86/asm-coff/cpuid-x86-64-coff.s
index eb3c8392ca..d2336e79e7 100644
--- a/lib/accelerated/x86/asm-coff/cpuid-x86-64-coff.s
+++ b/lib/accelerated/x86/asm-coff/cpuid-x86-64-coff.s
@@ -22,10 +22,10 @@
.file "cpuid.asm"
.text
-.globl _gnutls_cpuid
-.def _gnutls_cpuid; .scl 2; .type 32; .endef
+.globl __gnutls_cpuid
+.def __gnutls_cpuid; .scl 2; .type 32; .endef
.p2align 4
-_gnutls_cpuid:
+__gnutls_cpuid:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
diff --git a/lib/accelerated/x86/asm-coff/cpuid-x86-coff.s b/lib/accelerated/x86/asm-coff/cpuid-x86-coff.s
index 0a88d1b84d..92b95dbb28 100644
--- a/lib/accelerated/x86/asm-coff/cpuid-x86-coff.s
+++ b/lib/accelerated/x86/asm-coff/cpuid-x86-coff.s
@@ -22,10 +22,10 @@
.file "cpuid.asm"
.text
-.globl _gnutls_cpuid
-.def _gnutls_cpuid; .scl 2; .type 32; .endef
+.globl __gnutls_cpuid
+.def __gnutls_cpuid; .scl 2; .type 32; .endef
.align 16
-_gnutls_cpuid:
+__gnutls_cpuid:
pushl %ebp
movl %esp, %ebp
subl $12, %esp
@@ -53,10 +53,10 @@ _gnutls_cpuid:
popl %ebp
ret
-.globl _gnutls_have_cpuid
-.def _gnutls_have_cpuid; .scl 2; .type 32; .endef
+.globl __gnutls_have_cpuid
+.def __gnutls_have_cpuid; .scl 2; .type 32; .endef
.align 16
-_gnutls_have_cpuid:
+__gnutls_have_cpuid:
pushfl
pop %eax
orl $0x200000, %eax