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__((section(".smemdata"))); void foo() { c[0] = 0; } Using both trunk x86_64 and arm-elf compilers, I found .smemdata has progbits flag instead of nobits. Is this a bug? Cheers, Bingfeng