This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Proposed change: weak symbol support for Darwin
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Matt Austern <austern at apple dot com>
- Cc: Andrew Pinski <apinski at apple dot com>, GCC list <gcc at gcc dot gnu dot org>
- Date: Mon, 13 Oct 2003 17:46:52 -0700
- Subject: Re: Proposed change: weak symbol support for Darwin
- References: <10258617-FDCD-11D7-BB64-00039390D9E0@apple.com>
How come nobody has complained about the fact that the Darwin compiler
has a badly broken C++ implementation? My guess is it's because most
people don't use the Darwin compiler for C++; they use the Apple OS X
compiler instead, which is based on the GNU Darwin compiler but which
also includes Apple's local patches. You see, the Darwin linker does
provide this functionality. It's not quite the same as GNU linkonce
sections, but it's close enough; Apple calls it coalescing.
Someone has complained, see PR 11026 <http://gcc.gnu.org/PR11026>.
In fact someone at apple complained too, PR11384,
<http://gcc.gnu.org/PR11384>.
Just since AIX, and other targets, have the same issue and there is an
FAQ about
this problem some where no one has complained that much.
Thanks,
Andrew Pinski