]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR32690, assertion failure in lang_size_relro_segment
authorAlan Modra <amodra@gmail.com>
Mon, 17 Feb 2025 22:24:06 +0000 (08:54 +1030)
committerAlan Modra <amodra@gmail.com>
Mon, 17 Feb 2025 22:46:57 +0000 (09:16 +1030)
commit230a788eb28a64d628e623068c44add2a24aa5d3
tree64230ac1d6ff378737f5c089efe2a556107951e3
parentdb20cb1197cc7c5e94a26aac370267ac69f18ab5
PR32690, assertion failure in lang_size_relro_segment

This introduces a new function which should be used whenever the
linker needs to increase section alignment after mapping input to
output sections.

PR ld/32690
* linker.c (bfd_link_align_section): New function.
* elflink.c (_bfd_elf_adjust_dynamic_copy): Use it.
* bfd-in2.h: Regenerate.
bfd/bfd-in2.h
bfd/elflink.c
bfd/linker.c