mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-03 04:01:43 +08: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;
|