gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gold / mapfile.h
index ab55c38ea4f738ffbae26687d7f77ff07a4faf57..7035cdbdc75bd3a060d930b8f2bd7e0617c02fc2 100644 (file)
@@ -1,6 +1,6 @@
 // mapfile.h -- map file generation for gold   -*- C++ -*-
 
-// Copyright 2008 Free Software Foundation, Inc.
+// Copyright (C) 2008-2020 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
@@ -33,7 +33,7 @@ class Archive;
 class Symbol;
 class Relobj;
 template<int size, bool big_endian>
-class Sized_relobj;
+class Sized_relobj_file;
 class Output_section;
 class Output_data;
 
@@ -54,6 +54,11 @@ class Mapfile
   void
   close();
 
+  // Return the underlying file.
+  FILE*
+  file()
+  { return this->map_file_; }
+
   // Report that we are including a member from an archive.  This is
   // called by the archive reading code.
   void
@@ -95,7 +100,7 @@ class Mapfile
   // Print symbols for an input section.
   template<int size, bool big_endian>
   void
-  print_input_section_symbols(const Sized_relobj<size, big_endian>*,
+  print_input_section_symbols(const Sized_relobj_file<size, big_endian>*,
                              unsigned int shndx);
 
   // Map file to write to.
This page took 0.023806 seconds and 4 git commands to generate.