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.

使 用 分 散 加 载 描 述 文 件如 果 为 加 载 区 中 的 所 有 后 续 执 行 区 指 定 0 偏 移 (+0), 则 它 们 均 为 根区 。请 参 阅 示 例 5-8。• 使 用 FIXED 执 行 区 属 性 以 确 保 特 定 区 的 加 载 地 址 和 执 行 地 址 是 相 同 的 。 请参 阅 示 例 5-9 和 第 5-33 页 的 图 5-9。可 以 使 用 FIXED 属 性 将 任 何 执 行 区 放 在 ROM 中 的 特 定 地 址 。 有 关 详 细 信 息 , 请参 阅 第 5-33 页 的 将 区 放 在 固 定 地 址 中 。示 例 5-8 指 定 相 同 的 加 载 和 执 行 地 址LR_1 0x040000; load region starts at 0x40000{ ; start of execution region descriptionsER_RO 0x040000 ; load address = execution address{* (+RO) ; all RO sections (must include section with; initial entry point)}... ; rest of scatter description}示 例 5-9 使 用 FIXED 属 性LR_1 0x040000; load region starts at 0x40000{ ; start of execution region descriptionsER_RO 0x040000; load address = execution address{* (+RO) ; RO sections other than those in init.o}ER_INIT 0x080000 FIXED ; load address and execution address of this; execution region are fixed at 0x80000{init.o(+RO); all RO sections from init.o}... ; rest of scatter description}5-32 版 权 所 有 © 2007 <strong>ARM</strong> 公 司 。 保 留 所 有 权 利 。 <strong>ARM</strong> DUI 0349AC

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

Saved successfully!

Ooh no, something went wrong!