WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: Re: [Xen-devel] A question related with symbol reference?

To: "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: Re: [Xen-devel] A question related with symbol reference?
From: "房海峰" <fanghaifeng@xxxxxxxxxx>
Date: Tue, 18 Mar 2008 16:58:14 +0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 18 Mar 2008 01:58:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: 中科院计算所智能中心
References: <C405339D.151DC%keir.fraser@xxxxxxxxxxxxx>
Reply-to: fanghaifeng@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
maybe! i will study "at&t" indepth.
 
thank you for your reply.
 
 
2008-03-18

房海峰

发件人: Keir Fraser
发送时间: 2008-03-18  16:35:27
收件人: fanghaifeng@xxxxxxxxxx; xen-devel
抄送:
主题: Re: [Xen-devel] A question related with symbol reference?
The EXTERN directive is specific to nasm.

 -- Keir

On 18/3/08 08:49, "$BK<3$Jv(B" <fanghaifeng@xxxxxxxxxx> wrote:

I have been programmed assembly code with "nasm" language.
in "nasm", when you refere to a function/label that come from another file, you should make a declaration of the function with "extern" keywords in advance.

i don't know whether "at&t" assembly language is different with "nasm"?

thanks again!

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel