• Thomas Köppe's avatar
    Fix missing used attribute for inline assembly variables · 43171a2a
    Thomas Köppe authored
    Variables used in inline assembly need to be marked with attribute((used)).
    Static constants already were, via the define of DECLARE_ASM_CONST.
    But DECLARE_ALIGNED does not add this attribute, and some of the variables
    defined with it are const only used in inline assembly, and therefore
    appeared dead. This change adds a macro DECLARE_ASM_ALIGNED that marks
    variables as used.
    
    This change makes FFMPEG work with Clang's ThinLTO.
    Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
    43171a2a
Name
Last commit
Last update
..
aarch64 Loading commit data...
arm Loading commit data...
ppc Loading commit data...
tests Loading commit data...
x86 Loading commit data...
Makefile Loading commit data...
alphablend.c Loading commit data...
bayer_template.c Loading commit data...
gamma.c Loading commit data...
hscale.c Loading commit data...
hscale_fast_bilinear.c Loading commit data...
input.c Loading commit data...
libswscale.v Loading commit data...
log2_tab.c Loading commit data...
options.c Loading commit data...
output.c Loading commit data...
rgb2rgb.c Loading commit data...
rgb2rgb.h Loading commit data...
rgb2rgb_template.c Loading commit data...
slice.c Loading commit data...
swscale.c Loading commit data...
swscale.h Loading commit data...
swscale_internal.h Loading commit data...
swscale_unscaled.c Loading commit data...
swscaleres.rc Loading commit data...
utils.c Loading commit data...
version.h Loading commit data...
vscale.c Loading commit data...
yuv2rgb.c Loading commit data...