Exemple #1
0
        /// <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();
        }
Exemple #2
0
        /// <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();
        }