mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 19:30:10 +00:00
fa19d5c48a
Fix the bind-now case when DT_REL and DT_JMPREL sections are separate and there is a gap between them. [BZ #14341] * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the case when there is a gap between DT_REL and DT_JMPREL sections. * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc. (LDFLAGS-tst-split-dynreloc): New. (tst-split-dynreloc-ENV): Likewise. * sysdeps/x86_64/tst-split-dynreloc.c: New file. * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
6 lines
59 B
Plaintext
6 lines
59 B
Plaintext
SECTIONS
|
|
{
|
|
.bar : { *(.bar) }
|
|
}
|
|
INSERT AFTER .rela.dyn;
|