6632f6a bfd: RISC-V: relax to gp in more cases.

2 files Authored by Andrew Waterman 7 years ago, Committed by Palmer Dabbelt 7 years ago,
    bfd: RISC-V: relax to gp in more cases.
    
    bfd/ChangeLog:
    
    2017-02-24  Andrew Waterman  <andrew@sifive.com>
    
    	* elfnn-riscv.c (GP_NAME): New macro.
    	(riscv_global_pointer_value): Use it.
    	(_bfd_riscv_relax_lui): If symbol and global pointer are in same
    	output section, consider only that section's alignment.
    
        
file modified
+7 -0
file modified
+15 -1