]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR32238, ld -r slowdown since 21401fc7bf
authorAlan Modra <amodra@gmail.com>
Sat, 4 Jan 2025 01:03:27 +0000 (11:33 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 9 Jan 2025 10:33:59 +0000 (21:03 +1030)
commita55875bd182258a917af303c653d6667593e7b3e
tree55e63c437c0046445a593bca0ff450ccb06bd8c3
parent60d95017ec97801b96181a29d1554e2ec69905cf
PR32238, ld -r slowdown since 21401fc7bf

PR 32238
* ldlang.c (struct out_section_hash_entry): Add "tail".
(output_section_statement_newfunc_1): New, extracted from..
(output_section_statement_newfunc): ..here.  Init tail.
(lang_output_section_statement_lookup): Use tail to avoid
list traversal.
ld/ldlang.c