https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62273

Eric Gallager <egall at gwmail dot gwu.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egall at gwmail dot gwu.edu

--- Comment #2 from Eric Gallager <egall at gwmail dot gwu.edu> ---
In the version of the manual for Apple's version of GCC, the option is
documented like this:

-fapple-kext
-findirect-virtual-calls
-fterminated-vtables
Alter vtables, destructors, and other implementation details to more closely
resemble the GCC 2.95 ABI for PowerPC and 32-bit i386. This is to make kernel
extensions loadable by Darwin kernels, and is required to build any Darwin
kernel extension. In addition, virtual calls are not made directly, instead,
code is generated to always go through the virtual table, as virtual tables can
be patched by the kernel module loader. Vtables are altered by adding a zero
word at the end of every vtable. -findirect-virtual-calls and
-fterminated-vtables are accepted for backwards compatibility but will be
removed in the future. Additionally implies most of -mkernel except for
-msoft-float and -mlong-branch for PowerPC targets. (APPLE ONLY) 

Ref: http://opensource.apple.com/source/gcc/gcc-5666.3/gcc/doc/invoke.texi

Reply via email to