• Rafaël Carré's avatar
    Functions MC_put_o_16_arm, MC_put_o_8_arm, MC_put_x_16_arm, MC_put_x_8_arm · 946bf4b5
    Rafaël Carré authored
    in libmpeg2/motion_comp_arm_s.S have addresses in .text, which is bad
    for shared libraries.  Some environments demand that .text actually be
    read-only all the time, yet MC_put_o_16_arm etc require that the addresses
    be modified by the dynamic linking mechanism (dlopen, LoadLibrary, etc.)
    Even in those environments which permit the dynamic linker to modify the
    .text segment, the runtime cost of doing the relocation can be noticeable.
    
    This commit rewrites the linkage, discarding the tables of addresses
    in favor of tables of offsets.  All transfers are local within each individual
    function, so there can be no interference by processing that occurs
    after assembly, such as link-time re-ordering (even of individual functions.)
    
    Patch by John Reiser <jreiser@bitwagon.com>
    946bf4b5
Name
Last commit
Last update
..
convert Loading commit data...
Makefile.am Loading commit data...
alloc.c Loading commit data...
cpu_accel.c Loading commit data...
cpu_state.c Loading commit data...
decode.c Loading commit data...
header.c Loading commit data...
idct.c Loading commit data...
idct_alpha.c Loading commit data...
idct_altivec.c Loading commit data...
idct_mmx.c Loading commit data...
libmpeg2.pc.in Loading commit data...
motion_comp.c Loading commit data...
motion_comp_alpha.c Loading commit data...
motion_comp_altivec.c Loading commit data...
motion_comp_arm.c Loading commit data...
motion_comp_arm_s.S Loading commit data...
motion_comp_mmx.c Loading commit data...
motion_comp_vis.c Loading commit data...
mpeg2_internal.h Loading commit data...
slice.c Loading commit data...
vlc.h Loading commit data...