Index: apps/codecs/libmad/synth.c
===================================================================
--- apps/codecs/libmad/synth.c  (revision 28532)
+++ apps/codecs/libmad/synth.c  (working copy)
@@ -105,7 +105,7 @@
 /* possible DCT speed optimization */
 # if defined(FPM_COLDFIRE_EMAC)
 /* This is a Coldfire version of the OPT_SPEED optimisation below, but in the
-   case of Coldfire it doesn't loose no additional precision. */
+   case of Coldfire it does not loose additional precision. */
 #  define MUL(x, y) \
     ({ \
        mad_fixed64hi_t hi; \
Index: apps/codecs/libmad/synth_full_arm.S
===================================================================
--- apps/codecs/libmad/synth_full_arm.S  (revision 28529)
+++ apps/codecs/libmad/synth_full_arm.S  (working copy)
@@ -24,6 +24,7 @@
 
     .section    ICODE_SECTION_MPA_ARM,"ax",%progbits
 
+    .align  2
     .global synth_full_odd_sbsample
     .global synth_full_even_sbsample
 
Index: apps/codecs/libmad/mad_iram.h
===================================================================
--- apps/codecs/libmad/mad_iram.h  (revision 28529)
+++ apps/codecs/libmad/mad_iram.h  (working copy)
@@ -33,17 +33,15 @@
    mpegplayer on the PP5002.  S3C2440 doesn't have any IRAM available for
    codecs */
 #if defined(CPU_PP502x) || (CONFIG_CPU == PP5002 && defined(MPEGPLAYER))
-#define ICODE_SECTION_MPA_ARM .text
-#define ICODE_ATTR_MPA_SYNTH
+# define ICODE_SECTION_MPA_ARM      .text
+# define IBSS_SECTION_MPA_ARM       .ibss
+# define ICODE_ATTR_MPA_SYNTH
+# define ICONST_ATTR_MPA_HUFFMAN    ICONST_ATTR
 #else
-#define ICODE_SECTION_MPA_ARM .icode
-#define ICODE_ATTR_MPA_SYNTH ICODE_ATTR
+# define ICODE_SECTION_MPA_ARM      .icode
+# define IBSS_SECTION_MPA_ARM       .ibss
+# define ICODE_ATTR_MPA_SYNTH       ICODE_ATTR
+# define ICONST_ATTR_MPA_HUFFMAN    ICONST_ATTR
 #endif

-#define IBSS_SECTION_MPA_ARM .ibss
-
-#ifndef ICONST_ATTR_MPA_HUFFMAN
-#define ICONST_ATTR_MPA_HUFFMAN ICONST_ATTR
-#endif
-
 #endif /* MAD_IRAM_H */
Index: apps/codecs/libmad/imdct_l_arm.S
===================================================================
--- apps/codecs/libmad/imdct_l_arm.S  (revision 28529)
+++ apps/codecs/libmad/imdct_l_arm.S  (working copy)
@@ -46,6 +46,7 @@
 ****************************************************************************/

 #include "config.h"
+#include "mad_iram.h"

 /*
    On entry:
@@ -201,10 +202,9 @@

 @*****************************************************************************

+    .section    ICODE_SECTION_MPA_ARM,"ax",%progbits

-    .text
-    .align
-
+    .align  2
     .global III_imdct_l
     .global _III_imdct_l