aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfcode.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-05-05 03:05:32 +0000
committerAlan Modra <amodra@gmail.com>2012-05-05 03:05:32 +0000
commit45dfa85a1ee44000d43abb7945a4aa7631707563 (patch)
tree4fbcbb79f675fb33e849112175102446d2fc8e64 /bfd/elfcode.h
parent3ea17611f9c0a265d51cbdd4d0989b12c11aaad4 (diff)
downloadgdb-45dfa85a1ee44000d43abb7945a4aa7631707563.zip
gdb-45dfa85a1ee44000d43abb7945a4aa7631707563.tar.gz
gdb-45dfa85a1ee44000d43abb7945a4aa7631707563.tar.bz2
Replace all uses of bfd_abs_section, bfd_com_section, bfd_und_section
and bfd_ind_section with their _ptr variants, or use corresponding bfd_is_* macros.
Diffstat (limited to 'bfd/elfcode.h')
-rw-r--r--bfd/elfcode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elfcode.h b/bfd/elfcode.h
index 2244874..c985c63 100644
--- a/bfd/elfcode.h
+++ b/bfd/elfcode.h
@@ -1,6 +1,6 @@
/* ELF executable support for BFD.
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
Free Software Foundation, Inc.
Written by Fred Fish @ Cygnus Support, from information published
@@ -1450,7 +1450,7 @@ elf_slurp_reloc_table_from_section (bfd *abfd,
(*_bfd_error_handler)
(_("%s(%s): relocation %d has invalid symbol index %ld"),
abfd->filename, asect->name, i, ELF_R_SYM (rela.r_info));
- relent->sym_ptr_ptr = bfd_abs_section.symbol_ptr_ptr;
+ relent->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr;
}
else
{