From 42719e2051694ea9e55c7523ca0cc7bb487fb030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Wed, 2 Jun 2010 18:55:17 +0000 Subject: [PATCH] Use .p2align in ASMALIGN() macro The test for .align syntax was apparently unreliable with some compilers. Using the .p2align directive instead avoids the need for this test. Originally committed as revision 23428 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/configure b/configure index 4f65143088..454ac8c990 100755 --- a/configure +++ b/configure @@ -2794,9 +2794,6 @@ if enabled gprof; then add_ldflags -p fi -# Find out if the .align argument is a power of two or not. -check_asm asmalign_pot '".align 3"' - enabled_any $THREADS_LIST && enable threads check_deps $CONFIG_LIST \ @@ -2819,7 +2816,6 @@ enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; } echo "install prefix $prefix" echo "source path $source_path" echo "C compiler $cc" -echo ".align is power-of-two $asmalign_pot" echo "ARCH $arch ($cpu)" if test "$build_suffix" != ""; then echo "build suffix $build_suffix" @@ -3051,8 +3047,6 @@ get_version LIBAVFORMAT libavformat/avformat.h get_version LIBAVUTIL libavutil/avutil.h get_version LIBAVFILTER libavfilter/avfilter.h -enabled asmalign_pot || align_shift="1 <<" - cat > $TMPH < $TMPH <