https://sourceware.org/bugzilla/show_bug.cgi?id=22274
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <h...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fc3c534364ca6d6de4f0dbcaf347ec85f5e2f8ff commit fc3c534364ca6d6de4f0dbcaf347ec85f5e2f8ff Author: H.J. Lu <hjl.to...@gmail.com> Date: Mon Oct 9 22:03:42 2017 -0700 riscv: Cache the max alignment of output sections Cache the max alignment of output sections instead of scanning all output sections for each input section, which can take a very long time if there are millions of input/output sections. 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. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils