[MPlayer-dev-eng] updated gcc 3.4 fix

matthieu castet castet.matthieu at free.fr
Mon Apr 26 20:19:47 CEST 2004


Alex Beregszaszi wrote:
 > Hi,
 >
 >
 >>> > and why, does this add attribute_used to all static variables!?
 >>> > it should only
 >>> > be added to the ones which are used only in asm
 >>>
 >>>don't know, it is not me that made the original patch
 >>>Attach a patch that use attribute for only variable that are needed
 >>>in order that compile on my computer (they can have other because of
 >>>define...)
 >>
 >>ill apply it if u move the contents of attrib.h to config.h
 >
 > Applied some parts,
why not this in mp3lib ?

RCS file: /cvsroot/mplayer/main/mp3lib/tabinit_MMX.c,v
retrieving revision 1.6
diff -u -r1.6 tabinit_MMX.c
--- tabinit_MMX.c       26 Apr 2004 10:09:31 -0000      1.6
+++ tabinit_MMX.c       26 Apr 2004 18:18:20 -0000
@@ -49,7 +49,7 @@
           15038
  };

-static long intwindiv = 0x47800000;
+static long attribute_used intwindiv = 0x47800000;

  void make_decode_tables_MMX(long scaleval)
  {


liba52 and postproc are reamining, someone with free
 > time should search for occuranes of "MANGLE" and add attribute_used to
 > all of the listed variables.
 >
if i have time i will try it.




More information about the MPlayer-dev-eng mailing list