• Ralf Baechle's avatar
    [MIPS] Discard .exit.text at runtime. · bb7d83f7
    Ralf Baechle authored
        
    At times gcc will place bits of __exit functions into .rodata.  If
    compiled into the kernle itself we used to discard .exit.text - but
    not the bits left in .rodata.  While harmless this did at times result
    in a large number of warnings.  So until gcc fixes this, discard
    .exit.text at runtime.
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    bb7d83f7
vmlinux.lds.S 4.13 KB