This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/14341] Dynamic linker crash when DT_JMPREL and DT_REL{,A} are not contiguous


https://sourceware.org/bugzilla/show_bug.cgi?id=14341

--- Comment #10 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  fa19d5c48a6b36518ce68412e3bdde6bfa8aa4a6 (commit)
      from  33c898d1607c1b8dac69c76eec289980292ebfc2 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=fa19d5c48a6b36518ce68412e3bdde6bfa8aa4a6

commit fa19d5c48a6b36518ce68412e3bdde6bfa8aa4a6
Author: Petar Jovanovic <petar.jovanovic@rt-rk.com>
Date:   Wed Aug 20 00:50:54 2014 +0200

    Fix dynamic linker issue with bind-now

    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.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                             |   11 +++++++++++
 elf/dynamic-link.h                    |   14 ++++++++------
 sysdeps/x86_64/Makefile               |    5 +++++
 sysdeps/x86_64/tst-split-dynreloc.c   |   28 ++++++++++++++++++++++++++++
 sysdeps/x86_64/tst-split-dynreloc.lds |    5 +++++
 5 files changed, 57 insertions(+), 6 deletions(-)
 create mode 100644 sysdeps/x86_64/tst-split-dynreloc.c
 create mode 100644 sysdeps/x86_64/tst-split-dynreloc.lds

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]