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.

使 用 分 散 加 载 描 述 文 件Image$$HEAP$$ZI$$BaseImage$$HEAP$$ZI$$LimitImage$$HEAP$$ZI$$Length= 0x800000= 0x810000= 0x10000注 意EMPTY 属 性 仅 适 用 于 执 行 区 。 如 果 在 加 载 区 定 义 中 使 用 EMPTY 属 性 , 链 接 器 将 生 成警 告 并 忽 略 该 属 性 。链 接 器 检 查 用 于 EMPTY 区 的 地 址 空 间 是 否 与 任 何 其 他 执 行 区 重 叠 。5.3.7 放 置 <strong>ARM</strong> 库可 以 将 <strong>ARM</strong> 标 准 C 和 C++ 库 中 的 代 码 放 在 分 散 加 载 描 述 文 件 中 。 应 使 用*armlib 或 *armlib*, 以 使 链 接 器 能 够 解 析 分 散 加 载 文 件 中 的 库 命 名 。 例 如 :ER 0x2000{*armlib/c_* (+RO); all <strong>ARM</strong>-supplied C libraries... ; rest of scatter description...}示 例 5-21 说 明 了 如 何 放 置 库 代 码 。注 意示 例 5-21 在 路 径 名 中 使 用 正 斜 杠 , 以 确 保 在 Windows 和 Unix 平 台 上 能 够 识 别 它们 。示 例 5-21 放 置 <strong>ARM</strong> 库 代 码ROM1 0{* (InRoot$$Sections)* (+RO)ROM2 0x1000{*armlib/c_* (+RO)}}ROM3 0x2000{*armlib/h_* (+RO)}RAM1 0x3000; all <strong>ARM</strong>-supplied C library functions; just the <strong>ARM</strong>-supplied __<strong>ARM</strong>_*; redistributable library functions<strong>ARM</strong> DUI 0349AC 版 权 所 有 © 2007 <strong>ARM</strong> 公 司 。 保 留 所 有 权 利 。 5-43

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

Saved successfully!

Ooh no, something went wrong!