aboutsummaryrefslogtreecommitdiff
path: root/gold/mapfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/mapfile.h')
-rw-r--r--gold/mapfile.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gold/mapfile.h b/gold/mapfile.h
index ab55c38..908a208 100644
--- a/gold/mapfile.h
+++ b/gold/mapfile.h
@@ -1,6 +1,6 @@
// mapfile.h -- map file generation for gold -*- C++ -*-
-// Copyright 2008 Free Software Foundation, Inc.
+// Copyright 2008, 2010 Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
@@ -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