Re: Fwd: Compiling with -fdata-sections doesn't put the constant in the section expected

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

 



Yes, functions declared as static and their local variables are
removed well by the compiler when optimization is enabled.

2014-10-01 12:02 GMT+02:00 Andrew Haley <aph@xxxxxxxxxx>:
> I can't think of any reason that each string should not be put into a
> unique section.  It's need a unique name for each string, but that isn't
> hard.

You think it's easy to patch because I'm trying to look sources to
understand but not sure i will suceed to patch it myself.

Do i need to report this somewhere else ? (I saw that the bug was
reported here but nobody confirmed it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54303)

Clement




[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