c337a16 i386: Don't relocate section when check_relocs failed

Authored and Committed by H.J. Lu 8 years ago
    i386: Don't relocate section when check_relocs failed
    
    No need to relocate section when check_relocs failed.
    
    	* elf32-i386.c (check_relocs_failed): New.
    	(elf_i386_check_relocs): Set check_relocs_failed on error.
    	(elf_i386_relocate_section): Skip if check_relocs failed.
    
        
file modified
+6 -0
file modified
+28 -16