Re: Unable To Jump To Undefined Symbol
[email protected] Tue, 14 Mar 2006 16:27:00 +0100
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| Message-ID | <20060314152700.GA13315@wintermute> |
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/
signature.asc
(application/pgp-signature, 191 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (GNU/Linux) iD8DBQFEFuDEn/ep3VLXAokRAoWFAJ0cryETUBtR+jRSUq/uWUMuvKpfJACgqrv8 FS3hm08o/zHSS48p3mLwor8= =Kn3b -----END PGP SIGNATURE-----