GNU Info

Info Node: (ld.info)Output Section Description

(ld.info)Output Section Description


Next: Output Section Name Up: SECTIONS
Enter node , (file) or (file)node

Output section description
--------------------------

   The full description of an output section looks like this:
     SECTION [ADDRESS] [(TYPE)] : [AT(LMA)]
       {
         OUTPUT-SECTION-COMMAND
         OUTPUT-SECTION-COMMAND
         ...
       } [>REGION] [AT>LMA_REGION] [:PHDR :PHDR ...] [=FILLEXP]

   Most output sections do not use most of the optional section
attributes.

   The whitespace around SECTION is required, so that the section name
is unambiguous.  The colon and the curly braces are also required.  The
line breaks and other white space are optional.

   Each OUTPUT-SECTION-COMMAND may be one of the following:

   * a symbol assignment (Note: Assignments)

   * an input section description (Note: Input Section)

   * data values to include directly (Note: Output Section Data)

   * a special output section keyword (Note: Output Section Keywords)


automatically generated by info2www version 1.2.2.9