Re: TLS, gcc optimizations, and PIC on x86

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

 



Kevin Klues <klueska@xxxxxxxxxxxxxxx> writes:

> That said, do you see any obvious issues with my solution?  It seems
> to work for all of the test cases I've thrown at it, but I could be
> missing something.  Additionally, do you have any suggestions for a
> better method that achieves similar results?  Ideally I'd like a
> solution that didn't require the use of the 'optimize' attribute as
> (unfortunately) some of the systems on which we'd like to compile our
> code still use gcc < 4.4.

I don't see any obvious issues with your solution.  I'm not sure why you
need to use the optimize attribute; I would have expected that the
noinline attribute would be sufficient here.

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