From 57fdce262e62bbaeb666e2c733c5f69486deb240 Mon Sep 17 00:00:00 2001 From: Kean Johnston Date: Thu, 1 Dec 2005 01:44:45 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e21c5e2d57d..1d8646a161b 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 e1684c29d4e..d4c6ea072d6 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 -- 2.30.2