aboutsummaryrefslogtreecommitdiff
path: root/bfd/reloc.c
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/reloc.c
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/reloc.c')
-rw-r--r--bfd/reloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 0ec1b61..29c54c8 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -6448,7 +6448,7 @@ bfd_generic_get_relocated_section_contents (bfd *abfd,
p = data + (*parent)->address * bfd_octets_per_byte (input_bfd);
_bfd_clear_contents ((*parent)->howto, input_bfd, input_section,
p);
- (*parent)->sym_ptr_ptr = bfd_abs_section.symbol_ptr_ptr;
+ (*parent)->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr;
(*parent)->addend = 0;
(*parent)->howto = &none_howto;
r = bfd_reloc_ok;