diff options
author | Roland McGrath <roland@gnu.org> | 2004-09-13 00:42:46 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-09-13 00:42:46 +0000 |
commit | c0154f46b7cd10d15eee1a76afe2cf8af94d67b7 (patch) | |
tree | 69b4cd6abaeb91d3856ee716729a96213f37b877 /sysdeps/mach | |
parent | 0c563d9d7ae02827109a09647e1468def8f50c02 (diff) | |
download | glibc-c0154f46b7cd10d15eee1a76afe2cf8af94d67b7.tar.gz glibc-c0154f46b7cd10d15eee1a76afe2cf8af94d67b7.tar.xz glibc-c0154f46b7cd10d15eee1a76afe2cf8af94d67b7.zip |
(init1): fix one more nit in last change
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/i386/init-first.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c index af27473d0d..caa232026d 100644 --- a/sysdeps/mach/hurd/i386/init-first.c +++ b/sysdeps/mach/hurd/i386/init-first.c @@ -123,7 +123,7 @@ init1 (int argc, char *arg0, ...) the exec server. */ extern const void _start; const ElfW(Ehdr) *const ehdr = &_start; - _dl_phdr = (const ElfW(Phdr) *) ((const void *) ehdr + ehdr->e_phoff); + _dl_phdr = (ElfW(Phdr) *) ((const void *) ehdr + ehdr->e_phoff); _dl_phnum = ehdr->e_phnum; assert (ehdr->e_phentsize == sizeof (ElfW(Phdr))); #endif @@ -133,9 +133,9 @@ init1 (int argc, char *arg0, ...) #ifndef SHARED __libc_enable_secure = d->flags & EXEC_SECURE; - _dl_phdr = (const ElfW(Phdr) *) d->phdr; - _dl_phnum = d->phdr_size / sizeof (ElfW(Phdr)); - assert (d->phdr_size % sizeof (ElfW(Phdr)) == 0); + _dl_phdr = (ElfW(Phdr) *) d->phdr; + _dl_phnum = d->phdrsz / sizeof (ElfW(Phdr)); + assert (d->phdrsz % sizeof (ElfW(Phdr)) == 0); #endif _hurd_init_dtable = d->dtable; |