riscv: Cache the max alignment of output sections
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index e6bd06f4f299183795795aefc8168ef751dbf2e7..f98881266eb6e4ed9fdfac9dd5c63e037d8f8ba4 100644 (file)
@@ -1,3 +1,12 @@
+2017-10-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/22274
+       * elfnn-riscv.c (riscv_elf_link_hash_table): Add max_alignment.
+       (riscv_elf_link_hash_table_create): Initialize max_alignment to
+       (bfd_vma) -1.
+       (_bfd_riscv_relax_section): Cache the max alignment of output
+       sections if possible.
+
 2017-10-10  Alan Modra  <amodra@gmail.com>
 
        * elf64-ppc.c (ppc64_elf_before_check_relocs): Set sec_type for
This page took 0.023292 seconds and 4 git commands to generate.