gcc sections

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

 



Hi,

I'm compiling some bare metal code for a risc-v core using gcc.
I see before the linking stage the object file generated contains .sbss and .srodata sections.
I expected .bss and .rodata sections.
Where I can find documentation of these sections and in general about sections generated by gcc before the linking stage ?
I mean, linker script maps input sections in output sections but who are and what data contains input section gcc provide to the linker ? (.data .bss .rodata .text).
I know what those sections contain but I'm looking for official documentation.

Thanks in advance





[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