aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-07 22:24:35 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-07 22:24:35 +0000
commit2e09a79ada1f6d92809a037d41895e3d9302ad59 (patch)
tree999c9d18279a7de289937116273ae4016356aa3a
parent8e254d8e0d0820716e0ccf5f2b89c4fd1325f051 (diff)
downloadglibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.tar.xz
glibc-2e09a79ada1f6d92809a037d41895e3d9302ad59.zip
Avoid use of "register" as optimization hint.
-rw-r--r--ChangeLog145
-rw-r--r--bits/byteswap.h2
-rw-r--r--crypt/crypt.c4
-rw-r--r--debug/stpcpy_chk.c4
-rw-r--r--debug/wcscat_chk.c4
-rw-r--r--gmon/gmon.c2
-rw-r--r--gmon/mcount.c8
-rw-r--r--hurd/hurdmalloc.c40
-rw-r--r--include/rpc/auth_des.h8
-rw-r--r--inet/inet_lnaof.c2
-rw-r--r--inet/inet_net.c6
-rw-r--r--inet/inet_netof.c2
-rw-r--r--inet/rcmd.c4
-rw-r--r--io/fts.c54
-rw-r--r--libio/fileops.c14
-rw-r--r--libio/iofopncook.c4
-rw-r--r--libio/oldfileops.c8
-rw-r--r--libio/wfileops.c8
-rw-r--r--mach/msgserver.c4
-rw-r--r--malloc/obstack.c26
-rw-r--r--misc/getttyent.c14
-rw-r--r--misc/getusershell.c4
-rw-r--r--misc/syslog.c2
-rw-r--r--misc/ttyslot.c6
-rw-r--r--nis/nis_hash.c8
-rw-r--r--ports/ChangeLog.ia648
-rw-r--r--ports/sysdeps/ia64/bits/byteswap-16.h2
-rw-r--r--ports/sysdeps/ia64/bits/byteswap.h4
-rw-r--r--posix/fnmatch_loop.c6
-rw-r--r--posix/getconf.c4
-rw-r--r--posix/getopt.c4
-rw-r--r--posix/glob.c6
-rw-r--r--resolv/arpa/nameser.h12
-rw-r--r--resolv/gethnamaddr.c22
-rw-r--r--resolv/ns_print.c2
-rw-r--r--resolv/nss_dns/dns-host.c4
-rw-r--r--resolv/res_init.c8
-rw-r--r--resolv/res_mkquery.c6
-rw-r--r--stdio-common/printf_fp.c4
-rw-r--r--stdio-common/printf_fphex.c4
-rw-r--r--stdio-common/printf_size.c4
-rw-r--r--stdio-common/test_rdwr.c2
-rw-r--r--stdio-common/tfformat.c2
-rw-r--r--stdio-common/vfprintf.c8
-rw-r--r--stdio-common/vfscanf.c14
-rw-r--r--stdio-common/xbug.c12
-rw-r--r--stdlib/qsort.c8
-rw-r--r--stdlib/setenv.c4
-rw-r--r--stdlib/strtod_l.c13
-rw-r--r--stdlib/strtol_l.c10
-rw-r--r--stdlib/tst-strtod.c4
-rw-r--r--stdlib/tst-strtol.c6
-rw-r--r--stdlib/tst-strtoll.c6
-rw-r--r--string/bits/string2.h26
-rw-r--r--string/memccpy.c8
-rw-r--r--string/stpcpy.c4
-rw-r--r--string/strcmp.c4
-rw-r--r--string/strrchr.c2
-rw-r--r--sysdeps/generic/sigset-cvt-mask.h4
-rw-r--r--sysdeps/mach/hurd/getcwd.c2
-rw-r--r--sysdeps/mach/i386/sysdep.h2
-rw-r--r--sysdeps/powerpc/powerpc32/power6/wcschr.c6
-rw-r--r--sysdeps/powerpc/powerpc32/power6/wcsrchr.c6
-rw-r--r--sysdeps/x86/bits/byteswap-16.h4
-rw-r--r--sysdeps/x86/bits/byteswap.h8
-rw-r--r--time/test_time.c2
-rw-r--r--time/tzfile.c6
-rw-r--r--time/tzset.c6
-rw-r--r--wcsmbs/wcscat.c4
-rw-r--r--wcsmbs/wcschr.c4
-rw-r--r--wcsmbs/wcschrnul.c4
-rw-r--r--wcsmbs/wcscspn.c2
-rw-r--r--wcsmbs/wcspbrk.c4
-rw-r--r--wcsmbs/wcsrchr.c4
-rw-r--r--wcsmbs/wcsspn.c6
-rw-r--r--wcsmbs/wcsstr.c6
-rw-r--r--wcsmbs/wmemchr.c6
-rw-r--r--wcsmbs/wmemcmp.c4
-rw-r--r--wcsmbs/wmemset.c2
79 files changed, 430 insertions, 278 deletions
diff --git a/ChangeLog b/ChangeLog
index 0f6ec84f44..64374b032b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,148 @@
+2013-06-07 Joseph Myers <joseph@codesourcery.com>
+
+ * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
+ (__bswap_32): Do not use "register".
+ * crypt/crypt.c (_ufc_doit_r): Likewise.
+ * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
+ * debug/wcscat_chk.c (__wcscat_chk): Likewise.
+ * gmon/gmon.c (__monstartup): Likewise.
+ * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
+ * hurd/hurdmalloc.c (more_memory): Likewise.
+ (malloc): Likewise.
+ (free): Likewise.
+ (realloc): Likewise.
+ (malloc_fork_prepare): Likewise.
+ (malloc_fork_parent): Likewise.
+ (malloc_fork_child): Likewise.
+ * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
+ (_svcauth_des): Likewise.
+ * inet/inet_lnaof.c (inet_lnaof): Likewise.
+ * inet/inet_net.c (inet_network): Likewise.
+ * inet/inet_netof.c (inet_netof): Likewise.
+ * inet/rcmd.c (__validuser2_sa): Likewise.
+ * io/fts.c (fts_open): Likewise.
+ (fts_load): Likewise.
+ (fts_close): Likewise.
+ (fts_read): Likewise.
+ (fts_children): Likewise.
+ (fts_build): Likewise.
+ (fts_stat): Likewise.
+ (fts_sort): Likewise.
+ (fts_alloc): Likewise.
+ (fts_lfree): Likewise.
+ * libio/fileops.c (_IO_new_file_xsputn): Likewise.
+ (_IO_file_xsgetn): Likewise.
+ (_IO_file_xsgetn_mmap): Likewise.
+ * libio/iofopncook.c (_IO_cookie_read): Likewise.
+ (_IO_cookie_write): Likewise.
+ * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
+ * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
+ * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
+ * malloc/obstack.c (_obstack_begin): Likewise.
+ (_obstack_begin_1): Likewise.
+ (_obstack_newchunk): Likewise.
+ (_obstack_allocated_p): Likewise.
+ (obstack_free): Likewise.
+ (_obstack_memory_used): Likewise.
+ * misc/getttyent.c (getttynam): Likewise.
+ (getttyent): Likewise.
+ (skip): Likewise.
+ (value): Likewise.
+ * misc/getusershell.c (initshells): Likewise.
+ * misc/syslog.c (__vsyslog_chk): Likewise.
+ * misc/ttyslot.c (ttyslot): Likewise.
+ * nis/nis_hash.c (__nis_hash): Likewise.
+ * posix/fnmatch_loop.c (FCT): Likewise.
+ * posix/getconf.c (print_all): Likewise.
+ (main): Likewise.
+ * posix/getopt.c (exchange): Likewise.
+ * posix/glob.c (globfree): Likewise.
+ (prefix_array): Likewise.
+ (__glob_pattern_type): Likewise.
+ * resolv/arpa/nameser.h (NS_GET16): Likewise.
+ (NS_GET32): Likewise.
+ (NS_PUT16): Likewise.
+ (NS_PUT32): Likewise.
+ * resolv/gethnamaddr.c (getanswer): Likewise.
+ (gethostbyname2): Likewise.
+ (gethostbyaddr): Likewise.
+ (_gethtent): Likewise.
+ (_gethtbyname2): Likewise.
+ (_gethtbyaddr): Likewise.
+ * resolv/ns_print.c (dst_s_get_int16): Likewise.
+ * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
+ * resolv/res_init.c (__res_vinit): Likewise.
+ (net_mask): Likewise.
+ * resolv/res_mkquery.c (outchar): Likewise.
+ (PRINT): Likewise.
+ * stdio-common/printf_fp.c (outchar): Likewise.
+ (PRINT): Likewise.
+ * stdio-common/printf_fphex.c (outchar): Likewise.
+ (PRINT): Likewise.
+ * stdio-common/printf_size.c (outchar): Likewise.
+ (PRINT): Likewise.
+ * stdio-common/test_rdwr.c (main): Likewise.
+ * stdio-common/tfformat.c (matches): Likewise.
+ * stdio-common/vfprintf.c (outchar): Likewise.
+ (printf_unknown): Likewise.
+ (buffered_vfprintf): Likewise.
+ * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
+ * stdio-common/xbug.c (AppendToBuffer): Likewise.
+ (ReadFile): Likewise.
+ * stdlib/qsort.c (SWAP): Likewise.
+ (_quicksort): Likewise.
+ * stdlib/setenv.c (__add_to_environ): Likewise.
+ * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
+ * stdlib/strtol_l.c (__strtol_l): Likewise.
+ * stdlib/tst-strtod.c (main): Likewise.
+ * stdlib/tst-strtol.c (main): Likewise.
+ * stdlib/tst-strtoll.c (main): Lik