diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-12-16 02:29:56 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2017-01-26 02:22:09 +0100 |
commit | 884cd3caa5cc111daaa4ff2ca05c99e05a713e47 (patch) | |
tree | 32b44a906898cadc2de05038a702bfccf81fb1cd /tests/fate/qt.mak | |
parent | cc662476031b168a398d48fa6c6fc4a5f08fe4fa (diff) | |
download | ffmpeg-884cd3caa5cc111daaa4ff2ca05c99e05a713e47.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>
(cherry picked from commit 319438e2f206036ee0cddf401dd50f3b2a3ae117)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'tests/fate/qt.mak')
0 files changed, 0 insertions, 0 deletions