summaryrefslogtreecommitdiff
path: root/include/mcld/Object/ObjectBuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mcld/Object/ObjectBuilder.h')
-rw-r--r--include/mcld/Object/ObjectBuilder.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/mcld/Object/ObjectBuilder.h b/include/mcld/Object/ObjectBuilder.h
index ec80528..bc20421 100644
--- a/include/mcld/Object/ObjectBuilder.h
+++ b/include/mcld/Object/ObjectBuilder.h
@@ -62,7 +62,7 @@ public:
/// MergeSection - merge the pInput section to mcld::Module.
/// This function moves all fragments in pInputSection to the corresponding
- /// output section of mcld::Module.
+ /// output section of mcld::Module.
///
/// @see SectionMap
/// @param [in] pInputSection The merged input section.
@@ -76,6 +76,10 @@ public:
/// UpdateSectionAlign - update alignment for input section
static void UpdateSectionAlign(LDSection& pTo, const LDSection& pFrom);
+ /// UpdateSectionAlign - update alignment for the section
+ static void UpdateSectionAlign(LDSection& pSection,
+ uint32_t pAlignConstraint);
+
/// @}
/// @name Fragment Methods
/// @{