aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-29 20:39:24 +0000
committerRoland McGrath <roland@gnu.org>2002-08-29 20:39:24 +0000
commit459c2eef2119d858913e0c786234d7d1b4f331f5 (patch)
tree671ffe2b5f13f708edeca6c5b3b6f8f1e577b030
parentc9bf8c600080ff00377aa9d3d552b06202fb1ad6 (diff)
downloadglibc-459c2eef2119d858913e0c786234d7d1b4f331f5.zip
glibc-459c2eef2119d858913e0c786234d7d1b4f331f5.tar.gz
glibc-459c2eef2119d858913e0c786234d7d1b4f331f5.tar.bz2
2002-08-29 Roland McGrath <roland@redhat.com>
* sysdeps/generic/readelflib.c (process_elf_file): Fix typo.
-rw-r--r--sysdeps/generic/readelflib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/readelflib.c b/sysdeps/generic/readelflib.c
index 27502a9..af5584c 100644
--- a/sysdeps/generic/readelflib.c
+++ b/sysdeps/generic/readelflib.c
@@ -101,7 +101,7 @@ process_elf_file (const char *file_name, const char *lib, int *flag,
{
case PT_LOAD:
if (loadaddr == -1)
- loadaddr = segment->p_vaddr - segment_p_offset;
+ loadaddr = segment->p_vaddr - segment->p_offset;
break;
case PT_DYNAMIC: