Commit a6330e85 by Trevor Saunders Committed by Trevor Saunders

fix building for alpha-dec-vms

gcc/

	* config/alpha/alpha.c (alpha_use_linkage): Change type of slot to
	alpha_links **.
	(alpha_write_one_linkage): Correct typo.

From-SVN: r221921
parent 5d22575b
2015-03-27 Trevor Saunders <tbsaunde@tbsaunde.org>
* config/alpha/alpha.c (alpha_use_linkage): Change type of slot to
alpha_links **.
(alpha_write_one_linkage): Correct typo.
2015-04-08 Ilya Enkovich <ilya.enkovich@intel.com> 2015-04-08 Ilya Enkovich <ilya.enkovich@intel.com>
* ipa-comdats.c (propagate_comdat_group): Walk through thunks. * ipa-comdats.c (propagate_comdat_group): Walk through thunks.
......
...@@ -9665,7 +9665,7 @@ alpha_use_linkage (rtx func, bool lflag, bool rflag) ...@@ -9665,7 +9665,7 @@ alpha_use_linkage (rtx func, bool lflag, bool rflag)
if (cfun->machine->links) if (cfun->machine->links)
{ {
/* Is this name already defined? */ /* Is this name already defined? */
alpha_links *slot = cfun->machine->links->get (name); alpha_links **slot = cfun->machine->links->get (name);
if (slot) if (slot)
al = *slot; al = *slot;
} }
...@@ -9711,7 +9711,7 @@ alpha_use_linkage (rtx func, bool lflag, bool rflag) ...@@ -9711,7 +9711,7 @@ alpha_use_linkage (rtx func, bool lflag, bool rflag)
} }
static int static int
alpha_write_one_linkage (const char *name, alpha_links *link, FILE *steam) alpha_write_one_linkage (const char *name, alpha_links *link, FILE *stream)
{ {
ASM_OUTPUT_INTERNAL_LABEL (stream, XSTR (link->linkage, 0)); ASM_OUTPUT_INTERNAL_LABEL (stream, XSTR (link->linkage, 0));
if (link->rkind == KIND_CODEADDR) if (link->rkind == KIND_CODEADDR)
......
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