This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: DT_GNU_HASH latest patches
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Michael Meeks <michael dot meeks at novell dot com>
- Cc: binutils at sources dot redhat dot com, djamel anonymous <djam8193ah at hotmail dot com>, Ulrich Drepper <drepper at redhat dot com>, libc-alpha at sources dot redhat dot com
- Date: Fri, 7 Jul 2006 15:47:50 +0200
- Subject: Re: DT_GNU_HASH latest patches
- References: <44A9D4EB.2040107@redhat.com> <BAY22-F13B0B8E34EA055F9BF6E50C7710@phx.gbl> <20060705090438.GJ3823@sunsite.mff.cuni.cz> <20060706112535.GL3823@sunsite.mff.cuni.cz> <20060706182116.GM3823@sunsite.mff.cuni.cz> <1152267026.13278.83.camel@t60p.site>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Fri, Jul 07, 2006 at 11:10:26AM +0100, Michael Meeks wrote:
> + /* If the hash table is empty there is nothing to do here. */
> + if (map->l_nbuckets == 0)
> + continue;
This is predicted as non-taken by gcc AFAIK, so no need to add
__builtin_expect.
Jakub