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

See the CrossGCC FAQ for lots more information.


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

_impure_data, _impure_ptr ?


Hello, I have a question about data section contents.
Even if I don't allocate any variable in data section,
there is a certain amount of data section. 

I compiled this file with intel-linux --> mn10300-elf
cross compiler.  

int main(){
}

I didn't make any global variable here. 
I compile this file with this command. 

mn10300-elf-gcc -o test test.c -Tsim.ld

size test

   text    data     bss     dec     hex filename
   3057    1848      12    4917    1335 test

There are 1848 bytes of data section. When I
disassemble test, I see _impure_data and _impure_ptr
labels in data section. What are these labels for?



__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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