bfd_section_* macros
[deliverable/binutils-gdb.git] / gdb / dwarf2-frame.c
index e18b35e7dba09d2022336c4f01540b0a49071c42..34b8cbcb768aa77c3b7c6fbb974d57ad13c792c4 100644 (file)
@@ -1565,7 +1565,7 @@ read_encoded_value (struct comp_unit *unit, gdb_byte encoding,
       base = 0;
       break;
     case DW_EH_PE_pcrel:
-      base = bfd_get_section_vma (unit->abfd, unit->dwarf_frame_section);
+      base = bfd_section_vma (unit->dwarf_frame_section);
       base += (buf - unit->dwarf_frame_buffer);
       break;
     case DW_EH_PE_datarel:
This page took 0.023397 seconds and 4 git commands to generate.