gold: Handle DW_AT_high_pc as offset from DW_AT_low_pc in gdb-index.cc.
[external/binutils.git] / gold / dwarf_reader.h
index 0c3dab6..de5722b 100644 (file)
@@ -547,8 +547,11 @@ class Dwarf_die
 
   // Return the value of attribute ATTR as a reference.
   off_t
-  ref_attribute(unsigned int attr,
-               unsigned int* shndx);
+  ref_attribute(unsigned int attr, unsigned int* shndx);
+
+  // Return the value of attribute ATTR as a address.
+  off_t
+  address_attribute(unsigned int attr, unsigned int* shndx);
 
   // Return the value of attribute ATTR as a flag.
   bool