[PATCH] PPC32 factor context functions into and command and fpu/nofpu parts

Ulrich Drepper drepper@redhat.com
Tue Dec 13 07:03:00 GMT 2005


Steven Munroe wrote:
> 	* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/getcontext.S:
> 	New file.

Why create a fpu subdir?  The default is with fpu, the nofpu subdir 
takes care of the rest.


> +#else
> +#include "getcontext-common.S"
> +#endif

Indentation...


> +#if SHLIB_COMPAT (libc, GLIBC_2_3_3, GLIBC_2_3_4)
> +	compat_text_section
> +	
> +#undef __CONTEXT_FUNC_NAME	
> +#define __CONTEXT_FUNC_NAME __novec_getcontext
> +#undef __CONTEXT_ENABLE_VRS

Indentation...

and many, many more cases


> +	mr	4,3
> +	li	3,0
> +	li	5,_UC_SIZE_2_3_4;

Use consistently rN instead of just N.


> +#define _UC_SIZE	1184

Why is this defined?  It is not  used.


> +#define _UC_SIZE_2_3_4	1184

There is no appropriate extension to the TESTS macro.  Do you think we 
add these tests for fun?

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖



More information about the Libc-alpha mailing list