Skip to content
  • Cary Coutant's avatar
    Fix second bug where --icf=safe triggers segfault when linking ARM. · d83d5403
    Cary Coutant authored
    When checking a R_ARM_TARGET[12] relocation, we need a valid target
    pointer, but the garbage collection code was passing a NULL instead.
    The previous fix for this bug fixed the call to
    scan.global_reloc_may_be_function_pointer, but missed the similar
    call to scan.local_reloc_may_be_function_pointer.
    
    gold/
    	PR gold/23046
    	* gc.h (gc_process_relocs): Pass target to
    	scan.local_reloc_may_be_function_pointer.
    d83d5403
To find the state of this project's repository at the time of any of these versions, check out the tags.