]> gcc.gnu.org Git - gcc.git/commitdiff
* alpha.c (alpha_end_function): Don't flag weak functions.
authorRichard Henderson <rth@cygnus.com>
Wed, 7 Apr 1999 03:19:35 +0000 (20:19 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Wed, 7 Apr 1999 03:19:35 +0000 (20:19 -0700)
From-SVN: r26233

gcc/ChangeLog
gcc/config/alpha/alpha.c

index ef262741d52f333f9e8c2a339572531161cb3792..e13b8ee129296c98818474a3483df0f6639623ad 100644 (file)
@@ -1,3 +1,11 @@
+Wed Apr  7 03:16:45 1999  Richard Henderson  <rth@cygnus.com>
+
+       * alpha.c (reg_no_subreg_operand): New function.
+       * alpha.h (PREDICATE_CODES): Add it.
+       * alpha.md (floatdi?f patterns): Use it for op1.
+
+       * alpha.c (alpha_end_function): Don't flag weak functions.
+
 Wed Apr  7 02:11:55 1999  Richard Henderson  <rth@cygnus.com>
 
        * expr.c (expand_builtin) [BUILT_IN_RETURN_ADDRESS]: Use
index 39e11f7292c627c795f0cb66ffa20bcb579ff85e..85658361103f4c85a88357ca934af88498393910 100644 (file)
@@ -3948,10 +3948,10 @@ alpha_end_function (file, fnname, decl)
 
      Don't do this for global functions in object files destined for a
      shared library because the function may be overridden by the application
-     or other libraries.
-     ??? Is this just ELF?  */
+     or other libraries.  Similarly, don't do this for weak functions.  */
 
-  if (!flag_pic || !TREE_PUBLIC (current_function_decl))
+  if (!DECL_WEAK (current_function_decl)
+      && (!flag_pic || !TREE_PUBLIC (current_function_decl)))
     SYMBOL_REF_FLAG (XEXP (DECL_RTL (current_function_decl), 0)) = 1;
 }
 \f
This page took 0.086783 seconds and 5 git commands to generate.