bfd: RISC-V: relax to gp in more cases.
authorAndrew Waterman <andrew@sifive.com>
Wed, 22 Feb 2017 05:56:57 +0000 (21:56 -0800)
committerPalmer Dabbelt <palmer@dabbelt.com>
Fri, 24 Feb 2017 17:30:32 +0000 (09:30 -0800)
commitd0f744f970225f68460eb36a4975ae92a2e9495a
tree996fe3d43e3f9b608e27fb9af40c9939716894f1
parent742d14b39b384e822fd2218cf1803aef68a95d99
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.
bfd/ChangeLog
bfd/elfnn-riscv.c
This page took 0.032936 seconds and 4 git commands to generate.