ffmpeg/libswscale/x86
Andreas Cadhalpun 319438e2f2 swscale: save ebx register when it is not available
Configure checks if the ebx register can be used for asm and it has to
be saved if and only if this is not the case.
Without this the build fails when configuring with --toolchain=hardened
--disable-pic on i386 using gcc 4.8:
error: PIC register clobbered by '%ebx' in 'asm'

In that case gcc 4.8 reserves the ebx register for the GOT needed for
PIE, so it can't be used in asm directly.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
2016-12-21 01:26:10 +01:00
..
hscale_fast_bilinear_simd.c swscale: save ebx register when it is not available 2016-12-21 01:26:10 +01:00
input.asm
Makefile
output.asm
rgb2rgb_template.c
rgb2rgb.c
scale.asm
swscale_template.c
swscale.c
w64xmmtest.c
yuv2rgb_template.c
yuv2rgb.c