Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Unified Diff: gold/layout.h

Issue 10252012: [MIPS] Initial checkin for MIPS changes for GOLD. (Closed)
Patch Set: Updated MIPS code w/ SH_RELA. Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gold/configure.tgt ('k') | gold/layout.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gold/layout.h
===================================================================
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -897,6 +897,11 @@
segment_count() const
{ return this->segment_list_.size(); }
+ // Return the list of segments.
+ const Segment_list&
+ segment_list() const
+ { return this->segment_list_; }
+
// Map from section flags to segment flags.
static elfcpp::Elf_Word
section_flags_to_segment(elfcpp::Elf_Xword flags);
« no previous file with comments | « gold/configure.tgt ('k') | gold/layout.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698