[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[patches] Soft-float Power localplt baseline, fix



I've applied this patch (to trunk only) to fix one check-localplt issue 
for soft-float Power and add baseline data for that configuration.  The 
system for adding such data in turn requires a copy of the C++ types data 
to be added, though that's identical to that for hard float.

Index: localplt-powerpcsoft-linux-gnu.data
===================================================================
--- localplt-powerpcsoft-linux-gnu.data	(revision 0)
+++ localplt-powerpcsoft-linux-gnu.data	(revision 0)
@@ -0,0 +1,41 @@
+libc.so: _Unwind_Find_FDE
+libc.so: __adddf3
+libc.so: __addsf3
+libc.so: __divdf3
+libc.so: __divsf3
+libc.so: __eqdf2
+libc.so: __eqsf2
+libc.so: __extendsfdf2
+libc.so: __fixdfsi
+libc.so: __fixsfsi
+libc.so: __fixunsdfsi
+libc.so: __floatsidf
+libc.so: __floatsisf
+libc.so: __floatunsidf
+libc.so: __floatunsisf
+libc.so: __gedf2
+libc.so: __gtdf2
+libc.so: __ledf2
+libc.so: __ltdf2
+libc.so: __muldf3
+libc.so: __mulsf3
+libc.so: __nedf2
+libc.so: __signbit
+libc.so: __signbitl
+libc.so: __subdf3
+libc.so: __subsf3
+libc.so: __truncdfsf2
+libc.so: __unorddf2
+libc.so: abort
+libc.so: calloc
+libc.so: free
+libc.so: malloc
+libc.so: memalign
+libc.so: realloc
+libm.so: __signbit
+libm.so: __signbitf
+libm.so: __signbitl
+libm.so: copysignl
+libm.so: fabsl
+libm.so: fegetround
+libm.so: matherr
Index: c++-types-powerpcsoft-linux-gnu.data
===================================================================
--- c++-types-powerpcsoft-linux-gnu.data	(revision 0)
+++ c++-types-powerpcsoft-linux-gnu.data	(revision 0)
@@ -0,0 +1,67 @@
+blkcnt64_t:x
+blkcnt_t:l
+blksize_t:l
+caddr_t:Pc
+clockid_t:i
+clock_t:l
+daddr_t:i
+dev_t:y
+fd_mask:l
+fsblkcnt64_t:y
+fsblkcnt_t:m
+fsfilcnt64_t:y
+fsfilcnt_t:m
+fsid_t:8__fsid_t
+gid_t:j
+id_t:j
+ino64_t:y
+ino_t:m
+int16_t:s
+int32_t:i
+int64_t:x
+int8_t:a
+intptr_t:i
+key_t:i
+loff_t:x
+mode_t:j
+nlink_t:j
+off64_t:x
+off_t:l
+pid_t:i
+pthread_attr_t:14pthread_attr_t
+pthread_barrier_t:17pthread_barrier_t
+pthread_barrierattr_t:21pthread_barrierattr_t
+pthread_cond_t:14pthread_cond_t
+pthread_condattr_t:18pthread_condattr_t
+pthread_key_t:j
+pthread_mutex_t:15pthread_mutex_t
+pthread_mutexattr_t:19pthread_mutexattr_t
+pthread_once_t:i
+pthread_rwlock_t:16pthread_rwlock_t
+pthread_rwlockattr_t:20pthread_rwlockattr_t
+pthread_spinlock_t:i
+pthread_t:m
+quad_t:x
+register_t:i
+rlim64_t:y
+rlim_t:m
+sigset_t:10__sigset_t
+size_t:j
+socklen_t:j
+ssize_t:i
+suseconds_t:l
+time_t:l
+u_char:h
+uid_t:j
+uint:j
+u_int:j
+u_int16_t:t
+u_int32_t:j
+u_int64_t:y
+u_int8_t:h
+ulong:m
+u_long:m
+u_quad_t:y
+useconds_t:j
+ushort:t
+u_short:t
Index: sysdeps/powerpc/nofpu/feholdexcpt.c
===================================================================
--- sysdeps/powerpc/nofpu/feholdexcpt.c	(revision 6517)
+++ sysdeps/powerpc/nofpu/feholdexcpt.c	(working copy)
@@ -28,7 +28,7 @@
   fenv_union_t u;
 
   /* Get the current state.  */
-  fegetenv (envp);
+  __fegetenv (envp);
 
   u.fenv = *envp;
   /* Clear everything except the rounding mode.  */
Index: sysdeps/powerpc/nofpu/shlib-versions
===================================================================
--- sysdeps/powerpc/nofpu/shlib-versions	(revision 0)
+++ sysdeps/powerpc/nofpu/shlib-versions	(revision 0)
@@ -0,0 +1 @@
+powerpc.*-.*-.*		ABI			powerpcsoft-@OS@
Index: ChangeLog.eglibc
===================================================================
--- ChangeLog.eglibc	(revision 6517)
+++ ChangeLog.eglibc	(working copy)
@@ -1,5 +1,13 @@
 2008-07-08  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
+	* sysdeps/powerpc/nofpu/shlib-versions: New.
+	* c++-types-powerpcsoft-linux-gnu.data: New.
+	* localplt-powerpcsoft-linux-gnu.data: New.
+	* sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Use
+	__fegetenv.
+
+2008-07-08  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
+
 	* c++-types-arm-linux-gnueabi.data: New.
 	* localplt-arm-linux-gnueabi.data: New.
 	* sysdeps/arm/bsd-_setjmp.S: Use HIDDEN_JUMPTARGET to call

-- 
Joseph S. Myers
joseph@xxxxxxxxxxxxxxxx