Re: GCC function multi-versioning behaviour on Linux vs. macOS

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

 



On 2017-02-27 14:22 +0100, Kim Walisch wrote:

> Is this a known issue on macOS? Does function multi-versioning only work on
> Linux or am I doing something wrong?

It doesn't work on Mac OS X.

The implementation of "target" attribute is using the STT_GNU_IFUNC symbol
type extension to the ELF standard. H. J. Lu once explained this
(<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40528#c13>):

    You have to ask BSD and Mac people since IFUNC support needs to be
    implemented in both binutils and the C library.

-- 
Xi Ruoyao <ryxi@xxxxxxxxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[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