|
From: | cvs-commit at gcc dot gnu.org |
Subject: | [Bug gold/19184] Bad assumption on GOT entry size |
Date: | Thu, 29 Oct 2015 16:28:16 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19184 --- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by H.J. Lu <address@hidden>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=41e83f2b16ec57fb7e163c19fc315c86e4994b2e commit 41e83f2b16ec57fb7e163c19fc315c86e4994b2e Author: H.J. Lu <address@hidden> Date: Thu Oct 29 08:47:12 2015 -0700 Make GOT entry size target-dependent The GOT entry size is target-dependent. This patch adds a got_entry_size function to Sized_target class so that a target can provide a value different from default. PR gold/19184 * incremental.cc (Got_plt_view_info): Add got_entry_size. (Local_got_offset_visitor::visit): Replace got_entry_size_ with info_.got_entry_size. (Local_got_offset_visitor::got_entry_size_): Removed. (Global_got_offset_visitor::visit): Replace got_entry_size_ with info_.got_entry_size. (Global_got_offset_visitor::got_entry_size_): Removed. (Output_section_incremental_inputs::write_got_plt): Initialize view_info.got_entry_size. * target.h (Sized_target::got_entry_size): New virtual function. * x86_64.cc (Target_x86_64::got_entry_size): New function. -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |