commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r826187 - in /commons/sandbox/runtime/trunk/src/main/native/os/darwin: arch_i386.S arch_x86_64.S
Date Sat, 17 Oct 2009 07:36:36 GMT
Author: mturk
Date: Sat Oct 17 07:36:35 2009
New Revision: 826187

URL: http://svn.apache.org/viewvc?rev=826187&view=rev
Log:
Mac asemble doent support .type

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/darwin/arch_i386.S
    commons/sandbox/runtime/trunk/src/main/native/os/darwin/arch_x86_64.S

Modified: commons/sandbox/runtime/trunk/src/main/native/os/darwin/arch_i386.S
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/darwin/arch_i386.S?rev=826187&r1=826186&r2=826187&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/darwin/arch_i386.S (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/darwin/arch_i386.S Sat Oct 17 07:36:35
2009
@@ -15,12 +15,11 @@
  */
 
     .text
-    .align 8
+    .align 4
 
 /* Atomic Add32
  */
     .globl ACR_AtomicAdd32
-    .type  ACR_AtomicAdd32, @function
 ACR_AtomicAdd32:
     movl        4(%esp), %ecx
     movl        8(%esp), %eax
@@ -37,7 +36,6 @@
 /* Atomic Inc32
  */
     .globl ACR_AtomicInc32
-    .type  ACR_AtomicInc32, @function
 ACR_AtomicInc32:
     movl        4(%esp), %ecx
     movl           $1,   %eax      /* ; %edx = 1                            */
@@ -54,7 +52,6 @@
 /* Atomic Dec32
  */
     .globl acr_AtomicDec32
-    .type  acr_AtomicDec32, @function
 ACR_AtomicDec32:
     movl        4(%esp), %ecx
     movl           $-1,  %eax      /* ; %edx = -1                           */

Modified: commons/sandbox/runtime/trunk/src/main/native/os/darwin/arch_x86_64.S
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/darwin/arch_x86_64.S?rev=826187&r1=826186&r2=826187&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/darwin/arch_x86_64.S (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/darwin/arch_x86_64.S Sat Oct 17 07:36:35
2009
@@ -15,12 +15,11 @@
  */
 
     .text
-    .align 16
+    .align 4
 
 /* Atomic Add32
  */
     .globl ACR_AtomicAdd32
-    .type  ACR_AtomicAdd32, @function
 ACR_AtomicAdd32:
     movq           %rdi, %rcx      /* ; %rcx = dst                          */
     movl           %esi, %edx      /* ; %edx = inc                          */
@@ -37,7 +36,6 @@
 /* Atomic Inc32
  */
     .globl ACR_AtomicInc32
-    .type  ACR_AtomicInc32, @function
 ACR_AtomicInc32:
     movq           %rdi, %rcx      /* ; %rcx = dst                          */
     movl           $1,   %edx      /* ; %edx = 1                            */
@@ -54,7 +52,6 @@
 /* Atomic Dec32
  */
     .globl acr_AtomicDec32
-    .type  acr_AtomicDec32, @function
 ACR_AtomicDec32:
     movq           %rdi, %rcx      /* ; %rcx = dst                          */
     movl           $-1,   %edx     /* ; %edx = -1                           */



Mime
View raw message