1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-08-25 19:01:51 +02:00
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 swscale/x86/input: prevent RGB32_TO_Y_FN from reading into the padding 2014-06-22 03:09:28 +02:00
Makefile sws: move inline asm hscale to MMX_OBJS 2014-07-19 05:53:42 +02:00
output.asm Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb' 2016-06-21 21:55:34 +02:00
rgb2rgb_template.c asm: FF_-prefix internal macros used in inline assembly 2016-06-27 17:21:18 +02:00
rgb2rgb.c Merge commit 'dc40a70c5755bccfb1a1349639943e1f408bea50' 2016-06-26 15:53:00 +02:00
scale.asm Merge commit '41ed7ab45fc693f7d7fc35664c0233f4c32d69bb' 2016-06-21 21:55:34 +02:00
swscale_template.c swscale: Drop is9_OR_10BPS() use, its name is not correct 2016-11-10 00:33:12 +01:00
swscale.c swscale: add support for P010LE/BE output 2016-08-31 13:19:46 +02:00
w64xmmtest.c Reinstate proper FFmpeg license for all files. 2013-08-30 15:47:38 +00:00
yuv2rgb_template.c inline asm: fix arrays as named constraints. 2014-05-07 15:02:45 +02:00
yuv2rgb.c Drop pointless assert.h #includes 2016-05-03 15:45:10 +02:00