From: Kean Johnston Date: Thu, 1 Dec 2005 01:44:45 +0000 (+0000) Subject: i386.c: Check the value of SUPPORTS_ONE_ONLY... X-Git-Tag: releases/gcc-4.2.0~5655 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57fdce262e62bbaeb666e2c733c5f69486deb240;p=thirdparty%2Fgcc.git i386.c: Check the value of SUPPORTS_ONE_ONLY... * config/i386/i386.c: Check the value of SUPPORTS_ONE_ONLY, not simply its presense in case targets #define SUPPORTS_ONE_ONLY 0. From-SVN: r107759 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e21c5e2d57d4..1d8646a161bd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-11-30 Kean Johnston + + * config/i386/i386.c: Check the value of SUPPORTS_ONE_ONLY, not + simply its presense in case targets #define SUPPORTS_ONE_ONLY 0. + 2005-11-30 Richard Guenther PR tree-optimization/22501 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index e1684c29d4eb..d4c6ea072d6e 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -4339,7 +4339,7 @@ ix86_setup_frame_addresses (void) cfun->machine->accesses_prev_frame = 1; } -#if defined(HAVE_GAS_HIDDEN) && defined(SUPPORTS_ONE_ONLY) +#if defined(HAVE_GAS_HIDDEN) && (SUPPORTS_ONE_ONLY - 0) # define USE_HIDDEN_LINKONCE 1 #else # define USE_HIDDEN_LINKONCE 0