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.

访 问 映 像 符 号IMPORTIMPORT 命 令 指 定 符 号 是 运 行 时 在 共 享 对 象 中 定 义 的 。语 法IMPORT pattern [AS replacement_pattern] [,pattern [AS replacement_pattern]] *其 中 :pattern是 一 个 与 零 个 或 多 个 未 定 义 的 全 局 符 号 相 匹 配 的 字 符 串 , 可 以 选 择在 其 中 包 含 通 配 符 (* 或 ?)。 如 果 pattern 与 任 何 未 定 义 的 全 局 符号 均 不 匹 配 , 链 接 器 将 忽 略 该 命 令 。 此 操 作 数 只 能 与 未 定 义 的 全 局符 号 相 匹 配 。replacement_pattern是 一 个 要 将 未 定 义 的 全 局 符 号 重 命 名 为 的 字 符 串 , 可 以 选 择 在 其 中包 含 通 配 符 (* 或 ?)。 此 处 的 通 配 符 必 须 在 replacement_pattern 中具 有 对 应 的 通 配 符 。 replacement_pattern 通 配 符 匹 配 的 字 符 将 替 换pattern 通 配 符 。例 如 :IMPORT my_func AS func导 入 未 定 义 的 符 号 my_func, 并 将 其 重 命 名 为 func。用 法无 法 导 入 已 在 当 前 共 享 对 象 或 可 执 行 文 件 中 定 义 的 符 号 。 IMPORT 中 仅 允 许 使 用一 个 通 配 符 (* 或 ?)。如 果 动 态 符 号 表 存 在 , 则 将 未 定 义 的 符 号 包 括 在 动 态 符 号 表 中 ( 如 果 指 定 , 则 作为 replacement_pattern; 否 则 , 作 为 pattern)。注 意IMPORT 命 令 仅 影 响 未 定 义 的 全 局 符 号 。 共 享 库 已 解 析 的 符 号 将 隐 式 地 导 入 到 动态 符 号 表 中 。 链 接 器 忽 略 针 对 于 隐 式 导 入 的 符 号 的 任 何 IMPORT 指 令 。<strong>ARM</strong> DUI 0349AC 版 权 所 有 © 2007 <strong>ARM</strong> 公 司 。 保 留 所 有 权 利 。 4-13

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

Saved successfully!

Ooh no, something went wrong!