* elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12,
commit2880a932a2a0fdb9b183c7ef54539293bc60ad13
authorAlan Modra <amodra@bigpond.net.au>
Fri, 27 Aug 2004 07:54:00 +0000 (27 07:54 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Fri, 27 Aug 2004 07:54:00 +0000 (27 07:54 +0000)
treeeea45c2c91bac4be45e4c033da8ff5bc9df6745e
parent3d3d739d38c059b3b496d6c7980c625acc9705ef
* elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12,
LI_R12_0, STVX_VR0_R12_R0, LVX_VR0_R12_R0, MTLR_R0, SFPR_MAX): Define.
(struct sfpr_def_parms): New.
(sfpr_define): New function.
(savegpr0, savegpr0_tail, restgpr0, restgpr0_tail): New functions.
(savegpr1, savegpr1_tail, restgpr1, restgpr1_tail): New functions.
(savefpr, savefpr0_tail, restfpr, restfpr0_tail): New functions.
(savefpr1_tail, restfpr1_tail): New functions.
(savevr, savevr_tail, restvr, restvr_tail): New functions.
(MIN_SAVE_FPR, MAX_SAVE_FPR): Don't define.
(ppc64_elf_func_desc_adjust): Use sfpr_define in place of existing
code.  Define all ABI mandated _save and _rest functions.
bfd/ChangeLog
bfd/elf64-ppc.c