diff options
author | H.J. Lu <hjl@lucon.org> | 2007-12-31 19:23:07 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2007-12-31 19:23:07 +0000 |
commit | 35d50efe5b1c61ef61ea8285ad70f4699128e944 (patch) | |
tree | 80b45f1de6db1daebf9ab0fa14626cf0a2ee147f /bfd | |
parent | bed4bb58ce2cf607c58a4c0ed5d2c50e9c3868c6 (diff) | |
download | gdb-35d50efe5b1c61ef61ea8285ad70f4699128e944.tar.gz |
2007-12-31 H.J. Lu <hongjiu.lu@intel.com>
PR ld/5530
* elfxx-ia64.c (elfNN_ia64_relocate_section): Call
_bfd_elf_find_segment_containing_section with output_bfd,
instead of input_bfd.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 7 | ||||
-rw-r--r-- | bfd/elfxx-ia64.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a5567b0ff21..be9425922ca 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2007-12-31 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/5530 + * elfxx-ia64.c (elfNN_ia64_relocate_section): Call + _bfd_elf_find_segment_containing_section with output_bfd, + instead of input_bfd. + 2007-12-31 Nick Clifton <nickc@redhat.com> * elf-m10300.c (mn10300_elf_relax_section): Use diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 535b1bc23b1..6bd6b8031ad 100644 --- a/bfd/elfxx-ia64.c +++ b/bfd/elfxx-ia64.c @@ -4896,7 +4896,7 @@ elfNN_ia64_relocate_section (bfd *output_bfd, { /* Find the segment that contains the output_section. */ Elf_Internal_Phdr *p = _bfd_elf_find_segment_containing_section - (input_bfd, input_section->output_section); + (output_bfd, input_section->output_section); if (p == NULL) { |