How to change the default attributes of sections declared with __attribute__(( section("my-section") ))?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux