linux-mips
[Top] [All Lists]

Symbol address in instructions is different from that in symbol table

To: linux-mips@linux-mips.org
Subject: Symbol address in instructions is different from that in symbol table
From: yan yan <clouds.yan@gmail.com>
Date: Wed, 6 Jun 2012 22:16:54 +0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=F0GQkF328vovscqME/w+K3HSK/78VvCgkZAa2KZhIYg=; b=mo56qXmS/zPwI2XHXGw/tHahtZRvijhufqjrXGIBZiJQ2msNqS38M+Gd/jwo/EiMYL uT2ivy5gRmHymIX7F4kET7LM4W6xYGRhcFxoYGVCjUfu7lm1gRpVvWMgJaegSUhDrYoR 9tmSPY7uSE/XmPZtPW2YEBEx8UKSy1xxYAemXL+uln6agUszpe9mQ625qxPhI1ekWGKg O9ygl2pQAnaTXZM7ET+HBed2N6mcVxi6BOTD3oAaUfgJg4D9gaESaC3M7IsKYDL34ApC xSS6KBLw3fazSsHYi2yOlkJOmnUhaY7svQ7cMUaJxXwNNz5HJuhxzoCsVTog5Cf5T+Td mcNA==
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Sender: linux-mips-bounce@linux-mips.org
Hi, all:

    I'm new to mips.When I disassembled a linux vmlinux, I found
variable address referenced in instructions have a constant difference
64K respect to that in symbol table.
    For example, instruction/s want to reference a variable and
construct its address XXX3YYYY by lui and addui,but in system map, its
address is  actually XXX2YYYY. What happens?

Thanks

<Prev in Thread] Current Thread [Next in Thread>
  • Symbol address in instructions is different from that in symbol table, yan yan <=