diff options
author | Andreas Cadhalpun <[email protected]> | 2016-12-16 02:29:56 +0100 |
---|---|---|
committer | Andreas Cadhalpun <[email protected]> | 2016-12-21 01:26:10 +0100 |
commit | 319438e2f206036ee0cddf401dd50f3b2a3ae117 (patch) | |
tree | 2f6df120a73d8d110413e77124dd628fce20116d /doc/examples/remuxing.c | |
parent | e303e3d4b972975640da92cb55b766dad951d90d (diff) |
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 <[email protected]>
Signed-off-by: Andreas Cadhalpun <[email protected]>
Diffstat (limited to 'doc/examples/remuxing.c')
0 files changed, 0 insertions, 0 deletions