[MPlayer-dev-eng] [PATCH] .align vs .balign

Björn Sandell biorn at dce.chalmers.se
Wed Aug 28 01:05:21 CEST 2002


balign is supposed to work the same way with all variants of gas, align is
not. See gas dokumentation (eg
http://www.math.utah.edu/docs/info/as_7.html#SEC63).

Björn Sandell       DCE/DFS Sysadmin       IT department
Chalmers University of Technology    www.dce.chalmers.se
-------------- next part --------------
Index: libmpcodecs/vf_eq.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_eq.c,v
retrieving revision 1.3
diff -u -r1.3 vf_eq.c
--- libmpcodecs/vf_eq.c 23 Aug 2002 21:55:57 -0000      1.3
+++ libmpcodecs/vf_eq.c 27 Aug 2002 23:15:25 -0000
@@ -44,7 +44,7 @@
                        "movq (%6), %%mm4 \n\t"
                        "pxor %%mm0, %%mm0 \n\t"
                        "movl %4, %%eax\n\t"
-                       ".align 16 \n\t"
+                       ".balign 16 \n\t"
                        "1: \n\t"
                        "movq (%0), %%mm1 \n\t"
                        "movq (%0), %%mm2 \n\t"
Index: loader/stubs.s
===================================================================
RCS file: /cvsroot/mplayer/main/loader/stubs.s,v
retrieving revision 1.4
diff -u -r1.4 stubs.s
--- loader/stubs.s      21 Apr 2002 00:30:44 -0000      1.4
+++ loader/stubs.s      27 Aug 2002 23:18:33 -0000
@@ -1,6 +1,6 @@
        .data
 .LC0:  .string "Called unk_%s\n"
-       .align 4
+       .balign 4
 .globl unk_exp1
 unk_exp1:
        pushl %ebp



More information about the MPlayer-dev-eng mailing list