How to change the default attributes of sections declared with __attribute__(( section("my-section") ))?
PRC
panruochen@gmail.com
Wed Mar 12 03:46:00 GMT 2008
a.c
-----------------------------
static char mydata1[0x2000] __attribute__(( section(".1.c") )) ;
mips-elf-objdump -h a.o
-----------------------------
...
9 .1.c 00002000 00000000 00000000 00000210 2**2
CONTENTS, ALLOC, LOAD, DATA
...
Can I change it to only `ALLOC', without using any `binutils' tool?
More information about the Gcc-help
mailing list