Home | History | Annotate | Download | only in gold

Lines Matching full:sections

1 // layout.h -- lay out output file sections for gold  -*- C++ -*-
162 // This task function handles mapping the input sections to output
163 // sections and laying them out in memory.
208 // against discarded sections.
221 // Most comdat groups have only one or two sections, so we use a
223 // without paying too heavily for groups with more sections.
376 // the sections in the group to section indexes in object_ and to
385 // The ordering for output sections. This controls how output
386 // sections are ordered within a PT_LOAD output segment.
398 // Loadable read-only note sections come next so that the PT_NOTE
402 // Put read-only sections used by the dynamic linker early in the
406 // Put reloc sections used by the dynamic linker after other
407 // sections used by the dynamic linker; otherwise, objcopy and strip
421 // The regular text sections.
427 // The read-only sections.
430 // The exception frame sections.
433 // The TLS sections come first in the data section.
437 // Local RELRO (read-only after relocation) sections come before
438 // non-local RELRO sections. This data will be fully resolved by
442 // Non-local RELRO sections are grouped together after local RELRO
443 // sections. All RELRO sections must be adjacent so that they can
456 // The regular data sections come after the RELRO sections.
459 // Large data sections normally go in large data segments.
466 // The small data sections must be at the end of the data sections,
467 // so that they can be adjacent to the small BSS sections.
470 // The BSS sections start here.
472 // The small BSS sections must be at the start of the BSS sections,
473 // so that they can be adjacent to the small data sections.
476 // The regular BSS sections.
479 // The large BSS sections come after the other BSS sections.
486 // This class handles the details of laying out input sections.
530 // Struct to store segment info when mapping some input sections to
532 // a unique segment is done by first placing such input sections in
533 // unique output sections and then mapping the output section to a
555 // Some input sections require special ordering, for compatibility
558 // by which it should be ordered compared to other input sections
588 // Read the sequence of input sections from the file specified with
617 // Like layout, only for exception frame sections. OBJECT is an
639 // the optimized .eh_frame sections have been added to the output
673 // special sections like the GOT section. ORDER is where the
675 // for relro sections.
687 // Create dynamic sections if necessary.
691 // Define __start and __stop symbols for output sections.
695 // Create automatic note sections.
699 // Create sections for linker scripts.
757 // Debugging sections can only be recognized by name.
790 // Finalize the layout after all the input sections have been added.
794 // Return whether any sections require postprocessing.
839 // Write out the output sections.
848 // Write out output sections which can not be written until all the
849 // input sections are complete.
915 // Print output sections to the map file.
927 // A list of sections.
935 // Store the allocated sections into the section list. This is used
940 // Store the executable sections into the section list.
962 // Attach sections to segments.
1010 // During a relocatable link, a list of group sections and
1046 // Link .stab and .stabstr sections.
1050 // Create .gnu_incremental_inputs and .gnu_incremental_strtab sections needed
1065 // Create the output sections for the symbol table.
1102 // Create the version sections.
1130 // Return the number of allocated output sections.
1178 // Set the file offsets of the sections when doing a relocatable
1183 // Set the final file offsets of all the sections not associated
1185 // first handles all allocated sections, the second sections that
1187 // sections (probably only shstrtab, which is the one we care about
1198 // Set the final section indexes of all the sections not associated
1207 // Find appropriate places or orphan sections in a script.
1228 // sections and segments again.
1287 // Check that sections and special data are in reset states.
1329 // The list of group sections and linkonce sections which we have seen.
1331 // The mapping from input section name/type/flags to output sections.
1335 // The list of output sections.
1337 // The list of output sections which are not attached to any output
1393 // A list of group sections and their signatures.
1399 // Whether we have attached the sections to the segments.
1412 // Whether any sections require postprocessing.
1418 // True if the input sections in the output sections should be sorted
1421 // True if some input sections need to be mapped to a unique segment,
1439 // placing such input sections in unique output sections and then mapping
1453 // This task handles writing out data in output sections which is not
1567 // This task handles writing out data in output sections which can't
1568 // be written out until all the input sections have been handled.
1569 // This is for sections whose contents is based on the contents of
1570 // other output sections.