Re: nobits for named section

2010-08-24 Thread Ian Lance Taylor
"Bingfeng Mei" writes: > I came across an issue regarding named section and nobits. In > the following example, I expected the c is placed is placed > in a section named .smemdata and nobits is set for the section > since "c" is initialized to zeros. > > int a = 0; > > int b = 2000 * 512; > sta

nobits for named section

2010-08-24 Thread Bingfeng Mei
Hello, I came across an issue regarding named section and nobits. In the following example, I expected the c is placed is placed in a section named .smemdata and nobits is set for the section since "c" is initialized to zeros. int a = 0; int b = 2000 * 512; static int c[(200 * 512)] __attribute