Linker scripts are text files.
链接器脚本是一种文本文件
You write a linker script as a series of commands. Each command is either a keyword, possibly followed by arguments, or an assignment to a symbol. You may separate commands using semicolons. Whitespace is generally ignored.
一个链接脚本是由一系列的命令写成的,每个命令要么是一个关键字,可能会跟一些参数,要么是一个符号的分配.你可以使用分号分隔命令.空格通常会被忽略.
Strings such as file or format names can normally be entered directly. If the file name contains a character such as a comma which would otherwise serve to separate file names, you may put the file name in double quotes. There is no way to use a double quote character in a file name.
象文件或格式名称的字符串可以正常地直接使用.如果文件名称包含了象逗号一样的字符,你可能要把文件名放在双引号当中,否则就是分隔的文件名.在文件名中是没有使用双引号命名的(因此可以使用双引号来表示一个文件名称的完整性).
比如: a,b.txt 如果不加双引号,那么这是一个a文件和一个b.txt文件,如果象"a,b.txt"这样加上双引号,那么这只是一个a,b.txt文件
You may include comments in linker scripts just as in C, delimited by ‘/*’ and ‘*/’. As in C, comments are syntactically equivalent to whitespace.
你可能会在链接脚本中包含仅象C一样的 /* ... */ 注释. 和在C里使用的一样,注释在语法上等同于空格.