Re: fsection-anchors for strings literal ?

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

 



On Thu, Sep 27, 2012 at 3:24 AM, yon ar c'hall <yon.ar.chall@xxxxxxxxx> wrote:
>
> Is it possible to use the option -fsection-anchors on strings literal
> ? on the function name strings behind the __func__ predefined
> identifier ? If yes, what is the C syntax ?
>
> Note: on PowerPC architecture, each string literal eats a GOT entry
> (the string is recorded in the .rodata section, but access to this
> record is done via the GOT) !

The -fsection-anchors option changes the way that generated code
accesses static variables.  There is no C syntax associated with it.
It's purely a code generation option.

If PPC code is not using -fsection-anchors for string literals, please
file a bug report.  See http://gcc.gnu.org/bugs/ .

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