导航: 老古网老古论坛XMOS公共讨论区XMOS开源项目区单片机程序设计嵌入式系统广告区域
→[讨论]

* 5890: XDEF和XREF都是什么指令

   liuqh20 
liuqh20发表的帖子 

 [讨论]

The exported label   <name>   is using an ELF extension 

This message is only issued when using the ELF object file format. I can be ignored when using the SmartLinker, however, foreign linker may not know this extension and therefore the linking might fail. 

The exported label   <name>   is using an ELF extension for exported labels, which are defined as imported label plus offset. This situation cannot be expressed in a standard ELF symbol table, so the assembler is generating a symbol with type STT_LOPROC. This message is disabled by default, so it does not occur unless it is explicitly enabled. When setting this message to an error, code containing such cases cannot be assembled. 

Example 
XREF ImportedLabel
ExportedLabel: EQU ImportedLabel + 1
XDEF ExportedLabel 
Tips 
Set this message to an error when you plan to use a foreign linker. Adapt the source code so that this case does not occur. 

以上摘自CodeWarrior3.1版本的CodeWarrior Help  System,搜索关键字xdef

发表时间:2008年5月10日12:58:02

  
回复该帖

本主题共有 2 帖,分页:>>>>>该主题的所有内容[2]条

 *树形目录 只列出部分跟帖的标题以及简单的摘要信息 该主题的部分跟帖如下:

  32662.[详细]XDEF和XREF都是什么指令
摘要:我在汇编程序里见到的,可是在书里没找见......(38字)
- [prettygenie][2299次] 2003年5月29日

[上一篇帖子]:CM12864-12[upload=pdf]viewfile.asp?id=370[/upload]
[下一篇帖子]:中兴通讯北京研究所大量招聘嵌入式软件开发人员!待遇优厚!有兴趣的兄台邮件发往zou.hongbing