public inbox for src-cvs@sourceware.org
help / color / mirror / Atom feed
From: hjl@sourceware.org
To: src-cvs@sourceware.org
Subject: gdb and binutils branch hjl/gdb-7.8-branch created. gdb-7.8.1-release-40-g6a89390
Date: Fri, 05 Dec 2014 18:17:00 -0000	[thread overview]
Message-ID: <20141205181718.14826.qmail@sourceware.org> (raw)

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, hjl/gdb-7.8-branch has been created
        at  6a8939044781191d685e0aaeb78fe34a97ee3d55 (commit)

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6a8939044781191d685e0aaeb78fe34a97ee3d55

commit 6a8939044781191d685e0aaeb78fe34a97ee3d55
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Dec 4 14:19:41 2014 -0800

    Add _bfd_elf_ifunc_get_synthetic_symtab
    
    In i386 and x86-64 binaries with ifunc, relocations against .got.plt
    section may not be in the same order as entries in PLT section.  This
    patch adds _bfd_elf_ifunc_get_synthetic_symtab.  It takes a function
    pointer which returns an array of PLT entry symbol values.  It calls
    the function pointer to get the PLT entry symbol value array indexed
    by relocation index, instead of calling plt_sym_val on each relocation
    index.
    
    	PR binutils/17677
    	* elf-bfd.h (_bfd_elf_ifunc_get_synthetic_symtab): New prototype.
    	* elf-ifunc.c (_bfd_elf_ifunc_get_synthetic_symtab): New
    	function.
    	* elf32-i386.c (elf_i386_plt_sym_val): Removed.
    	(elf_backend_plt_sym_val): Likewise.
    	(elf_i386_get_plt_sym_val): New.
    	(elf_i386_get_synthetic_symtab): Likewise.
    	(bfd_elf32_get_synthetic_symtab): Likewise.
    	* elf64-x86-64.c (elf_x86_64_plt_sym_val): Removed.
    	(elf_x86_64_plt_sym_val_offset_plt_bnd): Likewise.
    	(elf_backend_plt_sym_val): Likewise.
    	(elf_x86_64_get_plt_sym_val): New.
    	(bfd_elf32_get_synthetic_symtab): Likewise.
    	(elf_x86_64_get_synthetic_symtab): Use
    	_bfd_elf_ifunc_get_synthetic_symtab.
    	(bfd_elf64_get_synthetic_symtab): Don't undefine for NaCl.

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


hooks/post-receive
-- 
gdb and binutils


                 reply	other threads:[~2014-12-05 18:17 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141205181718.14826.qmail@sourceware.org \
    --to=hjl@sourceware.org \
    --cc=src-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).