summaryrefslogtreecommitdiff
path: root/bfd/elf64-x86-64.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-02-17 13:51:51 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-02-17 13:51:51 +0000
commit029b4abd8e0cefb1a5441fa21aef6194e2937005 (patch)
tree62542ad0305908ed326b8744f9ea92533abe2886 /bfd/elf64-x86-64.c
parent0eb1a6735ee66c020de660de053d719713cbe180 (diff)
downloadgdb-029b4abd8e0cefb1a5441fa21aef6194e2937005.tar.gz
Revert the last change to elf64-x86-64.c.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r--bfd/elf64-x86-64.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 70fe9b10ab5..343abce6454 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