diff options
-rw-r--r-- | sysdeps/generic/readelflib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/readelflib.c b/sysdeps/generic/readelflib.c index 27502a994a..af5584c37c 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: |