llvm.org GIT mirror llvm / 1935f94
Temporarily reverting. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@336858 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 2 years ago
1 changed file(s) with 3 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
833833 // FIXME: Check the gold version or add a new option to enable them.
834834 Conf.Options.RelaxELFRelocations = false;
835835
836 // Toggle function/data sections.
837 if (FunctionSections.getNumOccurrences() == 0)
838 Conf.Options.FunctionSections = true;
839 if (DataSections.getNumOccurrences() == 0)
840 Conf.Options.DataSections = true;
836 // Enable function/data sections by default.
837 Conf.Options.FunctionSections = true;
838 Conf.Options.DataSections = true;
841839
842840 Conf.MAttrs = MAttrs;
843841 Conf.RelocModel = RelocationModel;