diff options
| author | Ulrich Drepper <[email protected]> | 2006-07-07 03:43:47 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2006-07-07 03:43:47 +0000 |
| commit | 28ed895fdc303b2a793506bb1fcdd35d5fd14e70 (patch) | |
| tree | 1385a2d5f0e844e26990b9da92b784ca73c73000 /backends/s390_init.c | |
| parent | 1d3a64d70c8f2aec1fc3ae26d124823c1ef304a9 (diff) | |
merge of 2d5572f10b65f0ac7fdf54361b4dae41ebbd51d0
and fda3a25581b7bfac581504e9e887e9b97f234f86
Diffstat (limited to 'backends/s390_init.c')
| -rw-r--r-- | backends/s390_init.c | 4 |
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; } |
