>>>> If some .data section is loaded in memory then definitely it should be allocated some memory. <<<<
Yes, but not vice-versa. Take .bss for example which is allocatable but not loadable. >>>> This link also specifies that some section are lodable but not allocatable <<<< Overlays. These are not specific to avr-gcc. Anitha ________________________________________ From: avr-gcc-list-bounces+anitha.boyapati=atmel....@nongnu.org [mailto:avr-gcc-list-bounces+anitha.boyapati=atmel....@nongnu.org] On Behalf Of Dinesh Guleria Sent: Tuesday, August 23, 2011 9:51 AM To: AVR-GCC-list@nongnu.org Subject: [avr-gcc-list] GCC: Diffrence b/w lodable & allocatable sections ? Hi, lodable & allocatable sections I am trying to work on linker scripts. I am bit stuck at starting point please clarify it. If some .data section is loaded in memory then definitely it should be allocated some memory. This link also specifies that some section are lodable but not allocatable. I am confused over here. What is the diffrence b/w lodable & allocatable sections ? Can some someone suggest example related to it, so that it is clarified to me. Linker script : http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/4/html/Using_ld_the_GNU_Linker/scripts.html Please suggest _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list