Re: defining a new section for a C program

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

 



> Can i define a new input section with the name I want for a C code?

Yes, you can use gcc attributes (see
http://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html#C-Extensions) for
variables or functions - specifically the "section" attribute.

John G


[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