コード例 #1
0
ファイル: Elf64Linker.cs プロジェクト: tea/MOSA-Project
        /// <summary>
        /// Initializes a new instance of the <see cref="Elf64Linker"/> class.
        /// </summary>
        public Elf64Linker()
        {
            // Create the default section set
            AddSection(new CodeSection());
            AddSection(new DataSection());
            AddSection(new RoDataSection());
            AddSection(new BssSection());

            nullSection = new NullSection();
            stringTableSection = new StringTableSection();
        }
コード例 #2
0
ファイル: Linker.cs プロジェクト: grover/MOSA-Project
        /// <summary>
        /// Initializes a new instance of the <see cref="Linker"/> class.
        /// </summary>
        public Linker()
        {
            // Create the default section set
            sections = new List<LinkerSection>()
            {
                new CodeSection(),
                new DataSection(),
                new RoDataSection(),
                new BssSection()
            };

            nullSection = new NullSection();
            stringTableSection = new StringTableSection();
        }