[LinkerScript.15] SECTION命令: Output Section Name
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.
輸出section的名稱是section. section必須符合你輸出格式的規範. 在僅支援有限個sections的格式中,比如a.out,它的名稱必須是由該格式所支援的名稱之一(比如a.out, 僅允許'.text','.data',或'.bss'作為名稱). 如果輸出格中式支援任何sections,但是在帶有數字和非名稱(如Oasys的情況)的名稱中,則應該加上引號. 一個section名稱可由任何一些有序字元組成,但是名稱包含了任何象逗號一樣的非