alpha.c (alpha_links): Add 'target' field.
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 10 Aug 2009 04:12:45 +0000 (04:12 +0000)
committerDouglas Rupp <rupp@gcc.gnu.org>
Mon, 10 Aug 2009 04:12:45 +0000 (04:12 +0000)
commitb714133e38d25ba3a6df1eb668ead8e0da7f8f62
treeaa7b0a3cb44ccd4403826727d6d53e9257066ee0
parent3bd1b1096b6826ef953ed3634fceb8c0344f347a
alpha.c (alpha_links): Add 'target' field.

* config/alpha/alpha.c (alpha_links): Add 'target' field.
(alpha_need_linkage): Handle aliases.  Return function symbol.
(alpha_use_linkage): Rename 'linkage' argument to 'func'.
Use ultimate alias target for the linkage name.
* config/alpha/alpha.md (movmemdi): Use the symbol returned
by alpha_need_linkage for the function symbol.
(setmemdi): Likewise.

Co-Authored-By: Douglas B Rupp <rupp@gnat.com>
From-SVN: r150611
gcc/ChangeLog
gcc/config/alpha/alpha.c
gcc/config/alpha/alpha.md