This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

.desc symbol directive ?


Hi all,

".desc symbol, abs-expression"

This directive sets the descriptor of the symbol (see Symbol Attributes)
to the low 16 bits of an absolute expression."

Does the above description means the following

.....
.desc func 0x102ff
.....

After the assembler output

'st_value' field of symbol_table should hold the value '0x02ff'

Is my understanding correct?

Regards
K.Feroz




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]