aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authorKean Johnston <jkj@sco.com>2005-12-01 01:44:45 +0000
committerKean Johnston <jkj@gcc.gnu.org>2005-12-01 01:44:45 +0000
commit57fdce262e62bbaeb666e2c733c5f69486deb240 (patch)
treef06dfafcb7184f5d55639156799d3c9fa6ed1b7a /gcc/config/i386
parent8a7b5cc43da48f71688c112b062a86b78bf8d156 (diff)
downloadgcc-57fdce262e62bbaeb666e2c733c5f69486deb240.zip
gcc-57fdce262e62bbaeb666e2c733c5f69486deb240.tar.gz
gcc-57fdce262e62bbaeb666e2c733c5f69486deb240.tar.bz2
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
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index e1684c2..d4c6ea0 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