summaryrefslogtreecommitdiff
path: root/gold/layout.h
diff options
context:
space:
mode:
Diffstat (limited to 'gold/layout.h')
-rw-r--r--gold/layout.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/layout.h b/gold/layout.h
index cf41f323e7..71f1aa7a49 100644
--- a/gold/layout.h
+++ b/gold/layout.h
@@ -552,6 +552,11 @@ class Layout
// Maps section SECN to SEGMENT s.
void
insert_section_segment_map(Const_section_id secn, Unique_segment_info *s);
+
+ // By default, gold groups input sections with certain prefixes. This
+ // function returns true if this section name NAME contains such a prefix.
+ bool
+ is_section_name_prefix_grouped(const char *name);
bool
is_section_ordering_specified()