[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

.set in GAS

From: PatilSubhash Jayadeep
Subject: .set in GAS
Date: Fri, 08 Apr 2005 08:11:18 +0000 (GMT)


I have few questions about following code,

        .set tuv, 1                             
        .long tuv
        .set tuv, _undef+2
        .long tuv

For first .long the symbol tuv evaluates to 1. But for second it is just 2, 
information for _undef is not generated in ELF file.

I am using GNU assembler 2.15

Please let me know if this is a feature? (absolute value has high priority?) or 
a bug.

Thanks in advance.

Best Reagrds,

Jaydeep S. Patil
Samsung Electronics Co, Ltd.
System SW Lab
San #24 Nongseo-Ri, Giheung-Eup
Yongin-City, Gyeonggi-Do,
Korea 449-711
O: +82-31-209-9975
R: +82-31-205-4764
M: +82-10-2751-7333

reply via email to

[Prev in Thread] Current Thread [Next in Thread]