aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e21c5e2..1d8646a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
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