diff options
author | Andrew Waterman <andrew@sifive.com> | 2017-02-21 21:56:57 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-02-24 09:30:32 -0800 |
commit | d0f744f970225f68460eb36a4975ae92a2e9495a (patch) | |
tree | 996fe3d43e3f9b608e27fb9af40c9939716894f1 /bfd/ChangeLog | |
parent | 742d14b39b384e822fd2218cf1803aef68a95d99 (diff) | |
download | gdb-d0f744f970225f68460eb36a4975ae92a2e9495a.zip gdb-d0f744f970225f68460eb36a4975ae92a2e9495a.tar.gz gdb-d0f744f970225f68460eb36a4975ae92a2e9495a.tar.bz2 |
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7435d5a..7eda963 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +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. + 2017-02-23 Maciej W. Rozycki <macro@imgtec.com> * elfxx-mips.h (_bfd_mips_relax_section): Remove prototype. |