summaryrefslogtreecommitdiffstats
path: root/backends/s390_init.c
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2006-07-05 07:34:27 +0000
committerUlrich Drepper <[email protected]>2006-07-05 07:34:27 +0000
commit4ba68f475d305b11e55c83994bad4824dad156d3 (patch)
tree80193be4e20320e129fcef4859685132c23e6b1a /backends/s390_init.c
parentd5a7519085f35bf48c9b33b8698835b24caa2da1 (diff)
Linker work.
GNU hash support. 64-bit SysV hash support.
Diffstat (limited to 'backends/s390_init.c')
-rw-r--r--backends/s390_init.c4
1 files changed, 4 insertions, 0 deletions
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;
}