2002-08-29 Roland McGrath <roland@redhat.com>
authorroland <roland>
Thu, 29 Aug 2002 20:39:24 +0000 (20:39 +0000)
committerroland <roland>
Thu, 29 Aug 2002 20:39:24 +0000 (20:39 +0000)
* sysdeps/generic/readelflib.c (process_elf_file): Fix typo.

sysdeps/generic/readelflib.c

index 27502a9..af5584c 100644 (file)
@@ -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: