gcc44: Prevent __stack_chk_fail_local references from being hidden.
authorSascha Wildner <saw@online.de>
Mon, 14 Mar 2011 00:13:37 +0000 (01:13 +0100)
committerSascha Wildner <saw@online.de>
Mon, 14 Mar 2011 00:13:37 +0000 (01:13 +0100)
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue2024>

contrib/gcc-4.4/gcc/config/i386/i386.c

index 1816382..f4baaba 100644 (file)
@@ -28742,9 +28742,13 @@ ix86_mangle_type (const_tree type)
 static tree
 ix86_stack_protect_fail (void)
 {
+#if 0 /* XXX swildner */
   return TARGET_64BIT
         ? default_external_stack_protect_fail ()
         : default_hidden_stack_protect_fail ();
+#else
+  return default_external_stack_protect_fail ();
+#endif
 }
 
 /* Select a format to encode pointers in exception handling data.  CODE