Defining something as constant for linking purposes only

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

 



Is there a recommended way to define a data object as constant, while
preventing GCC from making any assumptions regarding the value of the
constant?

Separate compilation breaks under LTO.

This is interesting for data objects whose final value is patched into
the binary after the build has completed and the final link took place.

Thanks,
Florian




[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