]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
i386.c: Check the value of SUPPORTS_ONE_ONLY...
authorKean Johnston <jkj@sco.com>
Thu, 1 Dec 2005 01:44:45 +0000 (01:44 +0000)
committerKean Johnston <jkj@gcc.gnu.org>
Thu, 1 Dec 2005 01:44:45 +0000 (01:44 +0000)
* 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

gcc/ChangeLog
gcc/config/i386/i386.c

index e21c5e2d57d485a108e93e436df7fbcc3cb82abf..1d8646a161bdbc793fc5e5202580cb80e18a31f9 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-30  Kean Johnston  <jkj@sco.com>
+
+       * 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  <rguenther@suse.de>
 
        PR tree-optimization/22501
index e1684c29d4eb095cd1b87b23f4f9a3520852cd23..d4c6ea072d6e7b93fee1fc4774237711009d2d7e 100644 (file)
@@ -4339,7 +4339,7 @@ ix86_setup_frame_addresses (void)
   cfun->machine->accesses_prev_frame = 1;
 }
 \f
-#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