aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-02-17 13:51:52 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-02-17 13:51:52 +0000
commit98e16b7718cb6978c9a0bd1919bd1856a3b442cb (patch)
tree31069ee27449ac4a27e199ab15d6e560fa201d5f /bfd
parente67ad678a1e75d69343e4270305c3bf390922362 (diff)
downloadgdb-98e16b7718cb6978c9a0bd1919bd1856a3b442cb.zip
gdb-98e16b7718cb6978c9a0bd1919bd1856a3b442cb.tar.gz
gdb-98e16b7718cb6978c9a0bd1919bd1856a3b442cb.tar.bz2
Revert the last change to elf64-x86-64.c.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elf64-x86-64.c2
2 files changed, 0 insertions, 8 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7ce8b2f..1ab968c 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,9 +1,3 @@
-2011-02-16 H.J. Lu <hongjiu.lu@intel.com>
-
- * elf64-x86-64.c (elf_x86_64_check_relocs): Check relocation
- overflow only for ABI_64_P.
- (elf_x86_64_relocate_section): Likewise.
-
2011-02-15 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (alpha_vms_link_add_archive_symbols): Add a comment.
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 70fe9b1..343abce 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -1498,7 +1498,6 @@ not_pointer:
sections we don't care about, such as debug sections or
non-constant sections. */
if (info->shared
- && ABI_64_P (abfd)
&& (sec->flags & SEC_ALLOC) != 0
&& (sec->flags & SEC_READONLY) != 0)
{
@@ -3149,7 +3148,6 @@ elf_x86_64_relocate_section (bfd *output_bfd,
for shared library since it may not be local when used
as function address. */
if (info->shared
- && ABI_64_P (output_bfd)
&& h
&& h->def_regular
&& h->type == STT_FUNC