Revert the last change to elf64-x86-64.c.
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 17 Feb 2011 13:51:52 +0000 (13:51 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 17 Feb 2011 13:51:52 +0000 (13:51 +0000)
bfd/ChangeLog
bfd/elf64-x86-64.c

index 7ce8b2fe806accd7fc1886f41d734b2f08f458a8..1ab968c295fc438d67052b3a85c73a3c88da100d 100644 (file)
@@ -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.
index 70fe9b10ab5bf595c65edac60ba85bcf6e039907..343abce6454b86371da106068334d0ad973656d6 100644 (file)
@@ -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