This patche fixes the values of FDE pc in output of objdump -Wf. They now
match readelf ones.
binutils/
* objdump.c (load_specific_debug_section): Set address of section.
2014-03-24 Tristan Gingold <gingold@adacore.com>
2014-03-24 Tristan Gingold <gingold@adacore.com>
+ * objdump.c (load_specific_debug_section): Set address of section.
+
+2014-03-24 Tristan Gingold <gingold@adacore.com>
+
* od-macho.c (dump_unwind_encoding_x86): Set the factor.
(dump_exe_compact_unwind): Change the condition. Improve
indentation.
* od-macho.c (dump_unwind_encoding_x86): Set the factor.
(dump_exe_compact_unwind): Change the condition. Improve
indentation.
if (section->start != NULL)
return 1;
if (section->start != NULL)
return 1;
+ section->address = bfd_get_section_vma (abfd, sec);
section->size = bfd_get_section_size (sec);
section->start = NULL;
ret = bfd_get_full_section_contents (abfd, sec, §ion->start);
section->size = bfd_get_section_size (sec);
section->start = NULL;
ret = bfd_get_full_section_contents (abfd, sec, §ion->start);