From ad32d65a9f664c7b21c91a71b653a311effa06f2 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Sun, 15 Mar 2009 16:54:26 +0000 Subject: [PATCH] * sysdeps/mips/bits/link.h: Uglify function parameter names. * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise. * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. --- ChangeLog.mips | 8 ++++++++ sysdeps/mips/bits/link.h | 8 ++++---- sysdeps/unix/sysv/linux/mips/sys/cachectl.h | 10 +++++----- sysdeps/unix/sysv/linux/mips/sys/eventfd.h | 4 ++-- sysdeps/unix/sysv/linux/mips/sys/sysmips.h | 4 ++-- sysdeps/unix/sysv/linux/mips/sys/tas.h | 15 ++++++++------- 6 files changed, 29 insertions(+), 20 deletions(-) diff --git a/ChangeLog.mips b/ChangeLog.mips index fa78e91704..96d2f46b7a 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,11 @@ +2009-03-15 Joseph Myers + + * sysdeps/mips/bits/link.h: Uglify function parameter names. + * sysdeps/unix/sysv/linux/mips/sys/cachectl.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/eventfd.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/sysmips.h: Likewise. + * sysdeps/unix/sysv/linux/mips/sys/tas.h: Likewise. + 2009-03-03 Joseph Myers * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Declare diff --git a/sysdeps/mips/bits/link.h b/sysdeps/mips/bits/link.h index 3d77a4c4a5..85e69cdfdb 100644 --- a/sysdeps/mips/bits/link.h +++ b/sysdeps/mips/bits/link.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2005 Free Software Foundation, Inc. +/* Copyright (C) 2005, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -79,7 +79,7 @@ extern unsigned int la_mips_o32_gnu_pltexit (Elf32_Sym *__sym, unsigned int __nd uintptr_t *__defcook, const La_mips_32_regs *__inregs, La_mips_32_retval *__outregs, - const char *symname); + const char *__symname); #elif _MIPS_SIM == _ABIN32 @@ -95,7 +95,7 @@ extern unsigned int la_mips_n32_gnu_pltexit (Elf32_Sym *__sym, unsigned int __nd uintptr_t *__defcook, const La_mips_64_regs *__inregs, La_mips_64_retval *__outregs, - const char *symname); + const char *__symname); #else @@ -111,7 +111,7 @@ extern unsigned int la_mips_n64_gnu_pltexit (Elf64_Sym *__sym, unsigned int __nd uintptr_t *__defcook, const La_mips_64_regs *__inregs, La_mips_64_retval *__outregs, - const char *symname); + const char *__symname); #endif diff --git a/sysdeps/unix/sysv/linux/mips/sys/cachectl.h b/sysdeps/unix/sysv/linux/mips/sys/cachectl.h index a93e1fb6d1..3d9f914b1b 100644 --- a/sysdeps/unix/sysv/linux/mips/sys/cachectl.h +++ b/sysdeps/unix/sysv/linux/mips/sys/cachectl.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1996, 1997, 2000, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -29,13 +29,13 @@ __BEGIN_DECLS #ifdef __USE_MISC -extern int cachectl (void *addr, __const int nbytes, __const int op) __THROW; +extern int cachectl (void *__addr, __const int __nbytes, __const int __op) __THROW; #endif -extern int __cachectl (void *addr, __const int nbytes, __const int op) __THROW; +extern int __cachectl (void *__addr, __const int __nbytes, __const int __op) __THROW; #ifdef __USE_MISC -extern int cacheflush (void *addr, __const int nbytes, __const int op) __THROW; +extern int cacheflush (void *__addr, __const int __nbytes, __const int __op) __THROW; #endif -extern int _flush_cache (char *addr, __const int nbytes, __const int op) __THROW; +extern int _flush_cache (char *__addr, __const int __nbytes, __const int __op) __THROW; __END_DECLS diff --git a/sysdeps/unix/sysv/linux/mips/sys/eventfd.h b/sysdeps/unix/sysv/linux/mips/sys/eventfd.h index fa34c8cec1..8b55ba6318 100644 --- a/sysdeps/unix/sysv/linux/mips/sys/eventfd.h +++ b/sysdeps/unix/sysv/linux/mips/sys/eventfd.h @@ -1,4 +1,4 @@ -/* Copyright (C) 2007, 2008 Free Software Foundation, Inc. +/* Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -45,7 +45,7 @@ extern int eventfd (int __count, int __flags) __THROW; extern int eventfd_read (int __fd, eventfd_t *__value); /* Increment event counter. */ -extern int eventfd_write (int __fd, eventfd_t value); +extern int eventfd_write (int __fd, eventfd_t __value); __END_DECLS diff --git a/sysdeps/unix/sysv/linux/mips/sys/sysmips.h b/sysdeps/unix/sysv/linux/mips/sys/sysmips.h index 0677cafaa4..aefc52e3dd 100644 --- a/sysdeps/unix/sysv/linux/mips/sys/sysmips.h +++ b/sysdeps/unix/sysv/linux/mips/sys/sysmips.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995, 1997, 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1995, 1997, 2000, 2001, 2009 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -36,7 +36,7 @@ __BEGIN_DECLS -extern int sysmips (__const int cmd, ...) __THROW; +extern int sysmips (__const int __cmd, ...) __THROW; __END_DECLS diff --git a/sysdeps/unix/sysv/linux/mips/sys/tas.h b/sysdeps/unix/sysv/linux/mips/sys/tas.h index b370ee4993..c5c80550ed 100644 --- a/sysdeps/unix/sysv/linux/mips/sys/tas.h +++ b/sysdeps/unix/sysv/linux/mips/sys/tas.h @@ -1,4 +1,5 @@ -/* Copyright (C) 2000, 2002, 2003, 2004, 2007 Free Software Foundation, Inc. +/* Copyright (C) 2000, 2002, 2003, 2004, 2007, 2009 + Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Maciej W. Rozycki , 2000. @@ -25,7 +26,7 @@ __BEGIN_DECLS -extern int _test_and_set (int *p, int v) __THROW; +extern int _test_and_set (int *__p, int __v) __THROW; #ifdef __USE_EXTERN_INLINES @@ -34,9 +35,9 @@ extern int _test_and_set (int *p, int v) __THROW; # endif _EXTERN_INLINE int -__NTH (_test_and_set (int *p, int v)) +__NTH (_test_and_set (int *__p, int __v)) { - int r, t; + int __r, __t; __asm__ __volatile__ ("/* Inline test and set */\n" @@ -55,11 +56,11 @@ __NTH (_test_and_set (int *p, int v)) ".set pop\n\t" "2:\n\t" "/* End test and set */" - : "=&r" (r), "=&r" (t), "=m" (*p) - : "m" (*p), "r" (v) + : "=&r" (__r), "=&r" (__t), "=m" (*__p) + : "m" (*__p), "r" (__v) : "memory"); - return r; + return __r; } #endif /* __USE_EXTERN_INLINES */