[LinkerScript.15] SECTION命令: Output Section Name

本文介绍了在不同输出格式下,如何正确地为输出section命名。包括了对于只支持有限数量section的格式(例如a.out)以及支持任意数量但使用数字而非名称标识section的格式(如Oasys)的命名规则。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

The name of the output section is sectionsection 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名称可由任何一些有序字符组成,但是名称包含了任何象逗号一样的非常规的字符,就必须用引号.


输出section名称 '/DISCARD/'是特殊的; Output Section Discarding.

Wiley_signal_processing.tex: 错误: 62: Argument of \filtername has an extra }. \maketitle Wiley_signal_processing.tex: 错误: 62: Paragraph ended before \filtername was complete. \maketitle Wiley_signal_processing.tex: 错误: 62: Argument of \filtername has an extra }. \maketitle Wiley_signal_processing.tex: 错误: 62: Paragraph ended before \filtername was complete. \maketitle fixltx2e.sty: 警告: : fixltx2e is not required with releases after 2015 All fixes are now in the LaTeX kernel. Wiley_signal_processing.tex: 警告: : [AMA,STIX1COL]. Wiley_signal_processing.tex: bad box: 62: Overfull \hbox (346.99213pt too wide) in paragraph Wiley_signal_processing.tex: 警告: 70: Citation `150,Huo,qi1,slde0,DanniShi2022,slde2, Yongpanli 2018' on page 1 undefined Wiley_signal_processing.tex: bad box: : Overfull \vbox (6.47833pt too high) has occurred while \output is active [] Wiley_signal_processing.tex: 警告: : destination with the same identifier (name{equation.3.11}) has been already used, duplicate ignored<argument> ...shipout:D \box_use:N \l_shipout_box \__shipout_drop_firstpage_... Wiley_signal_processing.tex: 警告: : destination with the same identifier (name{equation.3.18}) has been already used, duplicate ignored<argument> ...shipout:D \box_use:N \l_shipout_box \__shipout_drop_firstpage_... Wiley_signal_processing.tex: bad box: 740: Underfull \hbox (badness 10000) in paragraph Wiley_signal_processing.tex: bad box: 797: Underfull \hbox (badness 10000) in paragraph Wiley_signal_processing.tex: 警告: : destination with the same identifier (name{equation.5.50}) has been already used, duplicate ignored<argument> ...shipout:D \box_use:N \l_shipout_box \__shipout_drop_firstpage_... Wiley_signal_processing.tex: 警告: : destination with the same identifier (name{equation.5.50}) has been already used, duplicate ignored<to be read again> \relax l.825 \begin{equation} Wiley_signal_processing.tex: 警告: : destination with the same identifier (name{equation.5.50}) has been already used, duplicate ignored<to be read again> \relax l.825 \begin{equation} Wiley_signal_processing.tex: 警告: : destination with the same identifier (name{equation.5.50}) has been already used, duplicate ignored<to be read again> \relax l.825 \begin{equation} Wiley_signal_processing.tex: 警告: : destination with the same identifier (name{equation.5.50}) has been already used, duplicate ignored<to be read again> \relax l.825 \begin{equation} Wiley_signal_processing.tex: 警告: : destination with the same identifier (name{equation.5.50}) has been already used, duplicate ignored<to be read again> \relax l.841 \begin{equation} Wiley_signal_processing.tex: 警告: : destination with the same identifier (name{equation.5.50}) has been already used, duplicate ignored<to be read again> \relax l.841 \begin{equation} Wiley_signal_processing.tex: 警告: : destination with the same identifier (name{equation.5.50}) has been already used, duplicate ignored<to be read again> \relax l.841 \begin{equation} Wiley_signal_processing.tex: 警告: : destination with the same identifier (name{equation.5.50}) has been already used, duplicate ignored<to be read again> \relax l.841 \begin{equation} Wiley_signal_processing.tex: 警告: : destination with the same identifier (name{equation.5.50}) has been already used, duplicate ignored<argument> ...shipout:D \box_use:N \l_shipout_box \__shipout_drop_firstpage_... Wiley_signal_processing.tex: bad box: 1020: Underfull \hbox (badness 3068) in paragraph Wiley_signal_processing.tex: 警告: : There were undefined citations.\maketitle报错
最新发布
05-31
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值