12.07.2015 Views

RealView - ARM Information Center

RealView - ARM Information Center

RealView - ARM Information Center

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

使 用 分 散 加 载 描 述 文 件• 从 中 提 取 节 的 库 的 完 整 名 称 ( 包 括 路 径 名 )。 如 果 名 称 包 含 空格 , 则 可 以 使 用 通 配 符 简 化 搜 索 。 例 如 , 使 用 *libname.lib 匹配 C:\lib dir\libname.lib。通 过 使 用 特 殊 模 块 选 择 器 模 式 .ANY, 您 可 以 将 输 入 节 分 配 给 执 行区 , 而 无 需 考 虑 其 父 模 块 。 可 以 使 用 .ANY 以 任 意 分 配 方 式 填 充 执行 区 。可 以 使 用 .ANYnum 指 定 特 定 的 优 先 级 顺 序 , 其 中 num 是 一 个 大 于 零 的正 整 数 后 缀 。 使 用 最 大 整 数 指 定 的 优 先 级 最 高 。示 例 5-1 带 有 整 数 后 缀 的 .ANYlr1 0x8000 1024{er1 +0 512{.ANY1(+RO) ; evenly distributed with er3}er2 +0 256{.ANY2(+RO) ; Highest priority, so filled first}er3 +0 256{.ANY1(+RO) ; evenly distributed with er1}}注 意• 执 行 区 中 只 包 含 与 module_select_pattern 和 至 少 一 个input_section_attr 或 input_section_pattern 相 匹 配 的 输 入 节 。如 果 省 略 (+ input_section_attr) 和 (input_section_pattern),则 缺 省 为 +RO。• 不 要 依 赖 编 译 器 生 成 的 输 入 节 名 称 或 由 <strong>ARM</strong> 库 代 码 使 用 的输 入 节 名 称 。 这 些 名 称 可 能 会 因 不 同 的 编 译 而 异 , 例 如 , 使 用不 同 编 译 器 选 项 时 。 另 外 , 不 能 保 证 编 译 器 使 用 的 节 命 名 约定 在 不 同 版 本 之 间 保 持 不 变 。<strong>ARM</strong> DUI 0349AC 版 权 所 有 © 2007 <strong>ARM</strong> 公 司 。 保 留 所 有 权 利 。 5-19

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!