This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: __STATIC__ just a bit wrong on darwin
- From: Eric Christopher <echristo at apple dot com>
- To: Mike Stump <mrs at apple dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 27 Oct 2006 13:53:49 -0700
- Subject: Re: __STATIC__ just a bit wrong on darwin
- References: <CA6045C5-9E33-4B62-8064-7F676C1FA268@apple.com>
On Oct 27, 2006, at 11:19 AM, Mike Stump wrote:
Well, further testing shows that x86_64 defines __DYNAMIC__ when -
static is passed because it turns on flag_pic unconditionally and
some people expect __STATIC__ to be defined in that case, so we undo
this portion of my recent patch.
Eric, do we really want flag_pic turned on when -static or -fno-pic
is given?
I'll assume you mean me, and right now non-pic code isn't accepted by
any of the other tools - and we don't have a 64-bit kernel anyhow :)
-eric