* elf64-ppc.c (STD_R0_0R1, STD_R0_0R12, LD_R0_0R1, LD_R0_0R12,
authorAlan Modra <amodra@gmail.com>
Fri, 27 Aug 2004 07:54:00 +0000 (07:54 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 27 Aug 2004 07:54:00 +0000 (07:54 +0000)
commitdeb0e27291402ef1938111b3d96733b415973c11
treed9734f2621bb2fde91fb36d04241c02e526fc5a9
parentc034e3e0ec941efa2af0c9715edb6eac8d01fc76
* 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