• Andi Kleen's avatar
    [PATCH] x86: Fix gcc 4.2 _proxy_pda workaround · 08269c6d
    Andi Kleen authored
    
    
    Due to an over aggressive optimizer gcc 4.2 cannot optimize away _proxy_pda
    in all cases (counter intuitive, but true).  This breaks loading of some
    modules.
    
    The earlier workaround to just export a dummy symbol didn't work unfortunately
    because the module code ignores exports with 0 value.
    
    Make it 1 instead.
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    08269c6d
vmlinux.lds.S 5.77 KB