about summary refs log tree commit diff
path: root/sysdeps/powerpc/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-03-19 02:49:03 +0000
committerUlrich Drepper <drepper@redhat.com>2005-03-19 02:49:03 +0000
commitbb4bb82b13533eee4dfe09e21a23a150d0d3ee8a (patch)
tree06438e793c355631d97eb28b82bb83184a680f04 /sysdeps/powerpc/bits
parent88764ae26aac9baada43ffd514d446312b5f3d0c (diff)
downloadglibc-bb4bb82b13533eee4dfe09e21a23a150d0d3ee8a.tar.gz
glibc-bb4bb82b13533eee4dfe09e21a23a150d0d3ee8a.tar.xz
glibc-bb4bb82b13533eee4dfe09e21a23a150d0d3ee8a.zip
* sysdeps/powerpc/bits/link.h (La_ppc64_regs): Add lr_vrsave.
	(La_ppc64_retval): Correct size of lrc_fp.
	* sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_profile_resolve):
	Fix up ABI problems and complete function.
Diffstat (limited to 'sysdeps/powerpc/bits')
-rw-r--r--sysdeps/powerpc/bits/link.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysdeps/powerpc/bits/link.h b/sysdeps/powerpc/bits/link.h
index f8e6734fe0..6c6f6042a1 100644
--- a/sysdeps/powerpc/bits/link.h
+++ b/sysdeps/powerpc/bits/link.h
@@ -71,7 +71,8 @@ typedef struct La_ppc64_regs
 {
   uint64_t lr_reg[8];
   double lr_fp[13];
-  uint64_t __padding;
+  uint32_t __padding;
+  uint32_t lr_vrsave;
   uint32_t lr_vreg[12][4];
   uint64_t lr_r1;
   uint64_t lr_lr;
@@ -82,8 +83,8 @@ typedef struct La_ppc64_retval
 {
   uint64_t lrv_r3;
   uint64_t lrv_r4;
-  double lrv_fp[8];
-  uint32_t lrv_v2[4];
+  double lrv_fp[4];	/* f1-f4, float - complex long double.  */
+  uint32_t lrv_v2[4];	/* v2.  */ 
 } La_ppc64_retval;