* alpha.c (alpha_end_function): Don't flag weak functions.

From-SVN: r26233
This commit is contained in:
Richard Henderson 1999-04-06 20:19:35 -07:00 committed by Richard Henderson
parent 67070f5c92
commit 5e62dee5a3
2 changed files with 11 additions and 3 deletions

View 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> Wed Apr 7 02:11:55 1999 Richard Henderson <rth@cygnus.com>
* expr.c (expand_builtin) [BUILT_IN_RETURN_ADDRESS]: Use * expr.c (expand_builtin) [BUILT_IN_RETURN_ADDRESS]: Use

View File

@ -3948,10 +3948,10 @@ alpha_end_function (file, fnname, decl)
Don't do this for global functions in object files destined for a Don't do this for global functions in object files destined for a
shared library because the function may be overridden by the application shared library because the function may be overridden by the application
or other libraries. or other libraries. Similarly, don't do this for weak functions. */
??? Is this just ELF? */
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; SYMBOL_REF_FLAG (XEXP (DECL_RTL (current_function_decl), 0)) = 1;
} }