linux-assembly.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: leslie.polzer@gmx.net
To: Deepak Pandey <deepak.pandey@wipro.com>
Cc: linux-assembly@vger.kernel.org
Subject: Re: Unable To Jump To Undefined Symbol
Date: Tue, 14 Mar 2006 16:27:00 +0100	[thread overview]
Message-ID: <20060314152700.GA13315@wintermute> (raw)
In-Reply-To: <4416C936.2010403@wipro.com>

[-- Attachment #1: Type: text/plain, Size: 841 bytes --]

On Tue, Mar 14, 2006 at 07:16:30PM +0530, Deepak Pandey wrote:

> Hi, I got a compilation problem saying UNABLE TO JUMP TO UNDEFIND
> SYMBOL while compiling a code in which I tried to jump to a
> symbol(symbol_name) from a different file by an assembly instruction
> (j symbol_name).However I also declared the symbol as global(.globl
> symbol_name) but still it didnot worked.
You need to tell the assembler in the file which references the symbol
that it's out there.  Use extern, EXTRN or whatever directive your
assembler supports for this purpose.

> The Symbol was defined as follows:
> LEAF(symbol_name)
>       /*some assembly instructions*/
> END(symbol_name)
What assembler uses these syntactic constructs?

  Leslie

-- 
gpg --keyserver pgp.mit.edu --recv-keys 0x52D70289
http://nic-nac-project.de/~skypher/

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

  reply	other threads:[~2006-03-14 15:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-14 13:46 Unable To Jump To Undefined Symbol Deepak Pandey
2006-03-14 15:27 ` leslie.polzer [this message]
2006-03-14 16:26 ` joy merwin monteiro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060314152700.GA13315@wintermute \
    --to=leslie.polzer@gmx.net \
    --cc=deepak.pandey@wipro.com \
    --cc=linux-assembly@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).