using ld-symbols - the "official" way

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

 



Hello

Im defining in my ld linker script some symbols (end of sections,
beginning, etc...) and use those in my C code. 

To prevent gcc complaining about some undeclared symbols i use

extern char ld_symbol[];


This seems to work, but i wonder about the advised way to get this done
?

Thanks in advance
josef

[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