bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/16900] [PATCH] when linked with gold, NetBSD ld.elf_so crashes


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/16900] [PATCH] when linked with gold, NetBSD ld.elf_so crashes due to missing .plt.got entry
Date: Tue, 06 May 2014 21:30:55 +0000

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

--- Comment #2 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 "gdb and binutils".

The branch, master has been updated
       via  57b2284c6318841612acef23c60fe7298a1ac91a (commit)
      from  757a636fb585824699b1cc4f8f23dbc3a6a6d914 (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=binutils-gdb.git;h=57b2284c6318841612acef23c60fe7298a1ac91a

commit 57b2284c6318841612acef23c60fe7298a1ac91a
Author: Cary Coutant <address@hidden>
Date:   Tue May 6 11:40:04 2014 -0700

    Fix issue where first reserved word of GOT is not initialized if there
    is no PLT.

    gold/
        PR gold/16900
        * i386.cc (Output_data_got_plt_i386): New class.
        (Output_data_plt_i386::Output_data_plt_i386): Change type of got_plt
        parameter. Change all callers.
        (Output_data_plt_i386::layout_): Remove.
        (Output_data_plt_i386::got_plt_): Change type.
        (Target_i386::got_plt_): Change type. Change all references.
        (Target_i386::got_section): Create instance of new class.
        (Output_data_got_plt_i386::do_write): New function.
        * x86_64.cc (Output_data_got_plt_x86_64): New class.
        (Output_data_plt_x86_64::Output_data_plt_x86_64): Change type of
got_plt
        parameter. Change all callers.
        (Output_data_plt_x86_64::layout_): Remove.
        (Output_data_plt_x86_64::got_plt_): Change type.
        (Target_x86_64::got_plt_): Change type. Change all references.
        (Target_x86_64::got_section): Create instance of new class.
        (Output_data_got_plt_x86_64::do_write): New function.
        (Output_data_plt_x86_64::do_write): Don't write reserved words in GOT.
        (Target_x86_64<size>::init_got_plt_for_update): Create instance of new
        class.

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

Summary of changes:
 gold/ChangeLog |   23 ++++++++++++
 gold/i386.cc   |  102 +++++++++++++++++++++++++++++++++++-----------------
 gold/x86_64.cc |  110 ++++++++++++++++++++++++++++++++++++++------------------
 3 files changed, 167 insertions(+), 68 deletions(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]