RE: [avr-gcc-list] Order of variables placed in .data and .bss sections

2008-05-20 Thread Weddington, Eric
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] org] On Behalf Of Raj Sharma Sent: Tuesday, May 20, 2008 11:21 AM To: avr-gcc-list@nongnu.org Subject: [avr-gcc-list] Order of variables placed in .data and .bss sections Dear all, Is there a way to

Re: [avr-gcc-list] Order of variables placed in .data and .bss sections

2008-05-20 Thread Preston Wilson
Weddington, Eric wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] org] On Behalf Of Raj Sharma Dear all, Is there a way to force some order in the way variables (global/static) are placed in .data and .bss sections ? For example, let my program has

Re: [avr-gcc-list] Order of variables placed in .data and .bss sections

2008-05-20 Thread Raj Sharma
Dear Preston, Thanks for the suggestion. But I want the solution to work for program of any size, any number of global variables. Raj - Original Message From: Preston Wilson [EMAIL PROTECTED] To: avr-gcc-list avr-gcc-list@nongnu.org Sent: Tuesday, May 20, 2008 1:36:41 PM Subject: Re: