From 4ba68f475d305b11e55c83994bad4824dad156d3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 5 Jul 2006 07:34:27 +0000 Subject: Linker work. GNU hash support. 64-bit SysV hash support. --- backends/s390_init.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backends/s390_init.c') diff --git a/backends/s390_init.c b/backends/s390_init.c index 64e5639b..80cbb832 100644 --- a/backends/s390_init.c +++ b/backends/s390_init.c @@ -53,5 +53,9 @@ s390_init (elf, machine, eh, ehlen) HOOK (eh, register_name); HOOK (eh, return_value_location); + /* Only the 64-bit format uses the incorrect hash table entry size. */ + if (eh->class == ELFCLASS64) + eh->sysvhash_entrysize = sizeof (Elf64_Xword); + return MODVERSION; } -- cgit v1.2.3