ffmpeg/libavutil
Nico Weber a4a88fd42c Remove .rodata alignment kludge for Mach-O if a recent enough yasm is used.
Yasm was fixed in its r2161 and yasm 0.8.0 (Apr 2010) contained this fix.
Nasm was fixed in 2.06 (Jun 2009):
https://groups.google.com/group/alt.lang.asm/browse_thread/thread/fcc85bbc3745d893

I tested with yasm  0.7.99 and yasm 1.2.0.7, where this works fine.

I also tested with nasm. The nasm shipping with Xcode is too old to understand
ffmpeg's assembly, before and after the patch. Nasm 2.10 fails to compile
fft_mmx.asm on trunk with

  libavcodec/x86/fft_mmx.asm:88: panic: section ".text" has already been specified with alignment 32, conflicts with new alignment of 16

but builds fine if I change the two alignment "16"s in x86inc.asm to "32". With this patch,
nasm 2.10 fails with

  libavcodec/x86/fft_mmx.asm:39: panic: section ".rodata" has already been specified with alignment 32, conflicts with new alignment of 16

instead, but again builds fine with s/16/32/.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-04-19 17:14:47 +02:00
..
2011-11-11 04:24:00 +01:00
2012-01-22 23:06:04 +01:00
2012-03-21 13:39:28 +01:00
2012-03-21 13:39:28 +01:00
2012-02-22 15:35:44 +01:00
2012-04-02 21:23:56 +02:00
2012-04-01 11:01:08 +02:00
2011-12-23 00:18:36 +01:00
2011-10-22 19:49:27 +02:00
2012-04-16 22:13:12 +02:00
2012-02-23 23:44:38 +01:00
2012-02-02 14:30:28 +01:00