Commit 9398dc27 by Richard Kenner

(alpha_need_linkage): Call get_identifier.

From-SVN: r13944
parent f0f6a223
......@@ -3102,13 +3102,13 @@ alpha_need_linkage (name, is_local)
{
if (is_local)
{
/* defined here but external assumed. */
/* Defined here but external assumed. */
if (lptr->kind == KIND_EXTERN)
lptr->kind = KIND_LOCAL;
}
else
{
/* used here but unused assumed. */
/* Used here but unused assumed. */
if (lptr->kind == KIND_UNUSED)
lptr->kind = KIND_LOCAL;
}
......@@ -3122,6 +3122,9 @@ alpha_need_linkage (name, is_local)
/* Assume external if no definition. */
nptr->kind = (is_local ? KIND_UNUSED : KIND_EXTERN);
/* Ensure we have an IDENTIFIER so assemble_name can mark is used. */
get_identifier (name);
alpha_links_base = nptr;
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment