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.

使 用 基 本 链 接 器 功 能通 过 使 用 命 令 行 选 项 --tailreorder 将 尾 调 用 节 移 到 其 目 标 上 方 , 可 以 利 用 该 行为 。 如 果 这 是 可 行 的 , 请 注 意 :• armlink 只 能 为 每 个 尾 调 用 目 标 移 动 一 个 尾 调 用 节 。 如 果 存 在 对 单 个 节 的 多个 尾 调 用 , 则 具 有 相 同 节 名 称 的 尾 调 用 节 将 移 到 目 标 前 面 。 如 果 在 具 有 匹配 名 称 的 尾 调 用 节 中 未 找 到 节 名 称 , 则 链 接 器 将 移 动 遇 到 的 第 一 个 节 。• armlink 无 法 将 尾 调 用 节 移 到 执 行 区 之 外 。• armlink 不 会 将 尾 调 用 节 移 到 内 联 胶 合 代 码 前 面 。使 用 --info 命 令 行 选 项 可 显 示 有 关 尾 调 用 优 化 的 信 息 。 例 如 ,--info tailreorder提 供 有 关 任 何 已 移 动 的 尾 调 用 节 的 信 息 :Tailcall reorder resultsTail calling Section !!!main from object __main.o placed before .text from kernel.oTail calling Section .text from object rt_raise.o placed before .text from sys_exit.oTail calling Section .text from object plibspace.o placed before .text from libspace.oTail calling Section .text from object aeabi_idiv0.o placed before .text from rt_div0.o......<strong>ARM</strong> DUI 0349AC 版 权 所 有 © 2007 <strong>ARM</strong> 公 司 。 保 留 所 有 权 利 。 3-23

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

Saved successfully!

Ooh no, something went wrong!