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
This commit is contained in:
Trevor Saunders 2015-04-08 14:58:39 +00:00 committed by Trevor Saunders
parent 5d22575b1b
commit a6330e856f
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
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>
* ipa-comdats.c (propagate_comdat_group): Walk through thunks.

View File

@ -9665,7 +9665,7 @@ alpha_use_linkage (rtx func, bool lflag, bool rflag)
if (cfun->machine->links)
{
/* Is this name already defined? */
alpha_links *slot = cfun->machine->links->get (name);
alpha_links **slot = cfun->machine->links->get (name);
if (slot)
al = *slot;
}
@ -9711,7 +9711,7 @@ alpha_use_linkage (rtx func, bool lflag, bool rflag)
}
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));
if (link->rkind == KIND_CODEADDR)