diff options
| author | Ulrich Drepper <[email protected]> | 2007-03-13 06:22:40 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2007-03-13 06:22:40 +0000 |
| commit | 6258e7486eb3eed6e50005946795c5fbf73aa106 (patch) | |
| tree | 669a314f55739470bd3dbe1220088b43485f58c6 /libdwfl/elf-from-memory.c | |
| parent | 8b383101ca9c958e27175a0b77b6c227c08386eb (diff) | |
propagate from branch 'com.redhat.elfutils.roland.pending' (head e0c7abd450c9e49093cfae30af8a22782a74a403)
to branch 'com.redhat.elfutils' (head 2c784d50eee72e33972c333138a3a28df304da63)
Diffstat (limited to 'libdwfl/elf-from-memory.c')
| -rw-r--r-- | libdwfl/elf-from-memory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdwfl/elf-from-memory.c b/libdwfl/elf-from-memory.c index 2a174759..a292210a 100644 --- a/libdwfl/elf-from-memory.c +++ b/libdwfl/elf-from-memory.c @@ -1,5 +1,5 @@ /* Reconstruct an ELF file by reading the segments out of remote memory. - Copyright (C) 2005, 2006 Red Hat, Inc. + Copyright (C) 2005, 2006, 2007 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -154,7 +154,7 @@ elf_from_remote_memory (GElf_Addr ehdr_vma, case ELFCLASS64: xlatefrom.d_size = sizeof (Elf64_Ehdr); - if (elf32_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL) + if (elf64_xlatetom (&xlateto, &xlatefrom, buffer[EI_DATA]) == NULL) goto libelf_error; phoff = ehdr.e64.e_phoff; phnum = ehdr.e64.e_phnum; |
