12.07.2015 Views

RealView - ARM Information Center

RealView - ARM Information Center

RealView - ARM Information Center

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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

使 用 基 本 链 接 器 功 能RAMZI output sectionZI executionregion--ro-base valueRW output sectionRO output sectionSingleloadregion0x8000RW output sectionRO output sectionRW executionregionRO executionregion0x0000Load viewExecution view图 3-3 简 单 类 型 1 映 像使 用 以 下 命 令 创 建 此 类 映 像 :armlink --ro-base 0x8000加 载 视 图单 个 载 入 区 由 连 续 放 置 的 RO 和 RW 输 出 节 组 成 。 RO 和 RW 执 行 区 都 是 根 区 。加 载 时 不 存 在 ZI 输 出 节 。 该 节 是 在 执 行 前 使 用 映 像 文 件 中 的 输 出 节 描 述 创 建的 。执 行 视 图包 含 RO、RW 和 ZI 输 出 节 的 三 个 执 行 区 相 邻 排 列 。 RO 和 RW 执 行 区 的 执 行 地址 与 其 加 载 地 址 相 同 , 因 此 不 需 要 从 加 载 地 址 向 执 行 地 址 移 动 任 何 内 容 。 不 过 ,包 含 ZI 输 出 节 的 ZI 执 行 区 是 在 执 行 开 始 前 创 建 的 。使 用 armlink 选 项 --ro-base address 可 指 定 包 含 RO 输 出 的 区 的 加 载 地 址 和 执 行地 址 。 缺 省 地 址 是 0x8000, 如 图 3-3 中 所 示 。<strong>ARM</strong> DUI 0349AC 版 权 所 有 © 2007 <strong>ARM</strong> 公 司 。 保 留 所 有 权 利 。 3-25

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

Saved successfully!

Ooh no, something went wrong!