Files
third_party_elfutils/lib/ChangeLog
T
Josh Stone b47e28a743 lib: Avoid the hash-lookup division if possible
For Dwarf_Abbrev codes, the most common case is that they're packed at
the low end, saving uleb128 encoding size.  Since the hash table is
always resized to be no more than 90% full, those codes are always less
than the table size, and dividing for the remainder is unnecessary.

Dwarf_Dies are frequently created anew, and need to find abbrev each
time, so even that one division becomes a noticeable hotspot.  This
patch adds a branch to avoid it, which is very predictable for the CPU.

Signed-off-by: Josh Stone <jistone@redhat.com>
2013-12-13 09:48:07 -08:00

153 lines
4.1 KiB
Plaintext

2013-12-12 Josh Stone <jistone@redhat.com>
* dynamicsizehash.c (lookup): Add a shortcut around division.
2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* eu-config.h (COMPAT_VERSION_NEWPROTO): New. Twice.
2013-04-26 Jan Kratochvil <jan.kratochvil@redhat.com>
* system.h (LE64, BE64): Move here the definitions from
libdwfl/link_map.c.
2013-04-24 Mark Wielaard <mjw@redhat.com>
* Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
2012-10-09 Adam Markey <adam@etinternational.com>
* system.h: Changed pwrite_retry, write_retry, and pread_retry to
handle case where not all data was read/written.
2012-10-08 Jan Kratochvil <jan.kratochvil@redhat.com>
* system.h (eu_static_assert): New macro.
2012-01-21 Ulrich Drepper <drepper@gmail.com>
* Makefile.am (libeu_a_SOURCES): Add color.c.
* system.h: Declare color_argp. Define color_enum. Declare
color_* variables.
* color.c: New file.
2011-10-02 Ulrich Drepper <drepper@gmail.com>
* system.h: Declare __cxa_demangle.
2011-07-09 Roland McGrath <roland@hack.frob.com>
* sha1.c (be64_copy): New function.
(sha1_finish_ctx): Use it.
* md5.c (le64_copy): New function.
(md5_finish_ctx): Use it.
* system.h (LE32, BE32): New macros, using <endian.h> and <byteswap.h>.
* md5.c (SWAP): Use LE32.
* sha1.c (SWAP): Use BE32.
2010-06-16 Roland McGrath <roland@redhat.com>
* dynamicsizehash.h (HASHTYPE): New macro.
(struct): Use size_t for table sizes.
* dynamicsizehash.c: Likewise. Use HASHTYPE for hash values.
2010-02-15 Roland McGrath <roland@redhat.com>
* Makefile.am: Use config/eu.am for common stuff.
2009-08-09 Roland McGrath <roland@redhat.com>
* eu-config.h (OLD_VERSION, NEW_VERSION, COMPAT_VERSION): New macros.
2009-01-23 Roland McGrath <roland@redhat.com>
* eu-config.h: Add multiple inclusion protection.
2009-01-17 Ulrich Drepper <drepper@redhat.com>
* system.h (ARGP_PROGRAM_VERSION_HOOK_DEF): Define.
(ARGP_PROGRAM_BUG_ADDRESS_DEF): Define.
2009-01-10 Ulrich Drepper <drepper@redhat.com>
* eu-config.h: Remove tls_key_t, key_create, getspecific, setspecific,
once_define, and once_execute macros. Use USE_LOCKS instead of
USE_TLS.
2008-08-25 Roland McGrath <roland@redhat.com>
* eu-config.h [USE_TLS] (RWLOCK_CALL): New macro.
(rwlock_init, rwlock_fini, rwlock_rdlock, rwlock_wrlock, rwlock_unlock):
Use it.
2008-08-24 Roland McGrath <roland@redhat.com>
* eu-config.h: New file.
* Makefile.am (noinst_HEADERS): Add it.
2008-02-01 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (libeu_a_SOURCES): Add sha1.c.
(noinst_HEADERS): Add sha1.h.
* sha1.c: New file.
* sha1.h: New file.
2008-01-31 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (libeu_a_SOURCES): Add md5.c.
(noinst_HEADERS): Add md5.h.
* md5.c: New file.
* md5.h: New file.
2006-04-04 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (libeu_a_SOURCES): We don't need xstrdup in the moment.
2005-08-28 Ulrich Drepper <drepper@redhat.com>
* system.h: Define pwrite_retry, write_retry, and pread_retry.
2005-08-06 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (xmalloc_CFLAGS): Define only if !GPROF.
2005-05-03 Roland McGrath <roland@redhat.com>
* crc32_file.c: New file.
* Makefile.am (libeu_a_SOURCES): Add it.
* system.h: Declare crc32_file.
2005-04-30 Ulrich Drepper <drepper@redhat.com>
* Makefile.am: Use -ffunction-sections for xmalloc.c.
2005-02-15 Ulrich Drepper <drepper@redhat.com>
* dynamicsizehash.c (lookup): Mark val parameter as possibly unused.
2005-02-06 Ulrich Drepper <drepper@redhat.com>
* fixedsizehash.h: Mark unused parameters. Correct CLASS and
const order for fshash_find.
* Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra.
2005-02-05 Ulrich Drepper <drepper@redhat.com>
* Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fpic and -fmudflap.
2004-01-17 Ulrich Drepper <drepper@redhat.com>
* Makefile.am: Support building with mudflap.
2003-09-22 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (AM_CFLAGS): Add -fpic.
* Makefile.am (noinst_HEADERS): Add list.h.
* list.h: New file.
2003-08-11 Ulrich Drepper <drepper@redhat.com>
* Moved to CVS archive.