Re: Weak symbols and inline

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

 



On Fri, 28 Feb 2014, Marc Glisse wrote:

I haven't looked at it closely, but maybe asking the linker directly (instead of telling gcc to tell the linker), for instance through a map file, could help?

Sorry, s/map file/version script/. Something like:
{ local: _Znwm; };
and add -Wl,--version-script=somefilename to the command line.

The simplest is probably to use asm("other_name_for_new") on a declaration of new, so it is still visible but with a different name...

--
Marc Glisse




[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