summaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2012-05-05 03:05:23 +0000
committerAlan Modra <amodra@bigpond.net.au>2012-05-05 03:05:23 +0000
commit1f83552699e26b19ed56be4452e4e566ee1e3b1c (patch)
treea19d03db48f5562668dc2164900532816bad4fe7 /bfd/reloc.c
parentb62807310f8a5c09763fe806afd541ba37a6e62b (diff)
downloadbinutils-redhat-1f83552699e26b19ed56be4452e4e566ee1e3b1c.tar.gz
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 0ec1b610ab..29c54c8767 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;