Re: using ld-symbols - the "official" way

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

 



Josef Angermeier <sijoange@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:

> 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
> ?

That is the right way to do it.

Ian

[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