about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-09-05 02:02:55 +0000
committerUlrich Drepper <drepper@redhat.com>2006-09-05 02:02:55 +0000
commit71213dc2589554dc8f8061e9b04e80c55d098b6a (patch)
tree9e513edb4f70a4b9f59fc5daee81a85068bff27c /elf
parent03eeff83892d66bd06f85eab3172ab4679273f6e (diff)
downloadglibc-71213dc2589554dc8f8061e9b04e80c55d098b6a.tar.gz
glibc-71213dc2589554dc8f8061e9b04e80c55d098b6a.tar.xz
glibc-71213dc2589554dc8f8061e9b04e80c55d098b6a.zip
* Makerules (shlib.lds): If have-hash-style, put .hash section cvs/fedora-glibc-20060905T0633
	at the end of the RO segment.

2006-09-04  Ulrich Drepper  <drepper@redhat.com>

	* elf/do-lookup.h (do_lookup_x): Initialize symidx in case the new
	style hash table format is used.

2006-09-04  Jakub Jelinek  <jakub@redhat.com>
Diffstat (limited to 'elf')
-rw-r--r--elf/do-lookup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/do-lookup.h b/elf/do-lookup.h
index f40ab9d8d4..2585d83005 100644
--- a/elf/do-lookup.h
+++ b/elf/do-lookup.h
@@ -195,6 +195,8 @@ do_lookup_x (const char *undef_name, uint_fast32_t new_hash,
 		  while ((*hasharr++ & 1u) == 0);
 		}
 	    }
+	  /* No symbol found.  */
+	  symidx = SHN_UNDEF;
 	}
       else
 	{