diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-12-16 02:29:56 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-12-21 01:26:10 +0100 |
commit | 319438e2f206036ee0cddf401dd50f3b2a3ae117 (patch) | |
tree | 2f6df120a73d8d110413e77124dd628fce20116d /libavfilter/unsharp.h | |
parent | e303e3d4b972975640da92cb55b766dad951d90d (diff) | |
download | ffmpeg-319438e2f206036ee0cddf401dd50f3b2a3ae117.tar.gz |
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>
Diffstat (limited to 'libavfilter/unsharp.h')
0 files changed, 0 insertions, 0 deletions