From a7812765027ec2e43d3ed6731f9521162db45811 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 17 Feb 2011 13:51:51 +0000 Subject: [PATCH] Revert the last change to elf64-x86-64.c. --- bfd/ChangeLog | 6 ------ bfd/elf64-x86-64.c | 2 -- 2 files changed, 8 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7ce8b2fe8..1ab968c29 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,9 +1,3 @@ -2011-02-16 H.J. Lu - - * 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 * 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 70fe9b10a..343abce64 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 -- 2.11.4.GIT