Next: Output Section Address, Previous: Output Section Description, Up: SECTIONS [Contents][Index]
The name of the output section is section. section must
meet the constraints of your output format. In formats which only
support a limited number of sections, such as a.out
, the name
must be one of the names supported by the format (a.out
, for
example, allows only ‘.text’, ‘.data’ or ‘.bss’). If the
output format supports any number of sections, but with numbers and not
names (as is the case for Oasys), the name should be supplied as a
quoted numeric string. A section name may consist of any sequence of
characters, but a name which contains any unusual characters such as
commas must be quoted.
The output section name ‘/DISCARD/’ is special; Output Section Discarding.