[FFmpeg-devel] [PATCH 3/4] x86inc: Drop SECTION_TEXT macro

Dave Yeo daveryeo at telus.net
Mon Aug 3 09:02:21 CEST 2015

On 08/02/15 11:04 PM, Clément Bœsch wrote:
> On Sun, Aug 02, 2015 at 10:40:02PM +0200, Henrik Gramner wrote:
>> The .text section is already 16-byte aligned by default on all supported
>> platforms so `SECTION_TEXT` isn't any different from `SECTION .text`.
> naive question, what about the few SECTION_TEXT 32?
> [...]

Here, if the 32 is left as the alignment, the build dies.
nasm -f aout  -DPREFIX -I./ -IK:/usr/local/src/ffmpeg// -Pconfig.asm -I 
K:/usr/local/src/ffmpeg/libavcodec/x86/ -o libavcodec/x86/hevc_idct.o 
K:/usr/local/src/ffmpeg/libavcodec/x86/hevc_idct.asm:24: error: segment 
name `.text 32' not recognized
make: *** [libavcodec/x86/hevc_idct.o] Error 1

My builds have been dropping the 32 without problems but that is on a 32 
bit platform without AVX.

More information about the ffmpeg-devel mailing list