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.

使 用 分 散 加 载 描 述 文 件这 种 匹 配 策 略 产 生 以 下 结 果 :• 描 述 不 依 赖 于 它 们 在 文 件 中 的 写 入 顺 序 。• 一 般 来 说 , 对 象 的 描 述 越 明 确 , 它 包 含 的 输 入 节 的 描 述 也 就 越 明 确 。• 不 检 查 input_section_selector, 除 非 :— 对 象 选 择 不 确 定 。— 一 个 选 择 器 完 全 命 名 输 入 节 , 另 一 个 选 择 器 按 属 性 进 行 选 择 。 在 这 种情 况 下 , 显 式 地 输 入 节 名 称 比 ENTRY( 可 精 确 地 从 一 个 对 象 中 选 择 一个 输 入 节 ) 之 外 的 任 何 属 性 更 明 确 。 即 使 与 输 入 节 名 称 关 联 的 对 象 选择 器 不 如 属 性 的 对 象 选 择 器 明 确 , 上 述 结 论 也 成 立 。示 例 5-2 说 明 了 多 个 执 行 区 和 模 式 匹 配 。示 例 5-2 多 个 执 行 区 和 模 式 匹 配LR_1 0x040000{ER_ROM 0x040000; The startup exec region address is the same{ ; as the load address.application.o (+ENTRY) ; The section containing the entry point from} ; the object is placed here.ER_RAM1 0x048000{application.o (+RO-CODE) ; Other RO code from the object goes here}ER_RAM2 0x050000{application.o (+RO-DATA) ; The RO data goes here}ER_RAM3 0x060000{application.o (+RW) ; RW code and data go here}ER_RAM4 +0; Follows on from end of ER_R3{*.o (+RO, +RW, +ZI) ; Everything except for application.o goeshere}}<strong>ARM</strong> DUI 0349AC 版 权 所 有 © 2007 <strong>ARM</strong> 公 司 。 保 留 所 有 权 利 。 5-25

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

Saved successfully!

Ooh no, something went wrong!