Mon Dec 11 20:07:54 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
authorRoland McGrath <roland@gnu.org>
Tue, 12 Dec 1995 04:29:09 +0000 (04:29 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 12 Dec 1995 04:29:09 +0000 (04:29 +0000)
commit3be01400fddc34cc895b903c69c5d24d4b38cdf9
tree2107ca789a267e719e39784f6a10c363856e9aa2
parent65bf5fa3172ab9d77fd1792fae68ad85eed2a7b1
Mon Dec 11 20:07:54 1995  Roland McGrath  <roland@churchy.gnu.ai.mit.edu>

* posix/glob.c [! STDC_HEADERS]: Declare getenv.
(glob): Avoid using function as value.

* elf/rtld.c (dl_main): When mapping argument executable, set
l_name to "", not l_libname.
After loading DT_NEEDED library, set its l_type to lt_library.

* sysdeps/mach/hurd/mmap.c: Don't interpret MAP_INHERIT to mean
VM_INHERIT.  We can't handle MAP_INHERIT easily.
Handle non-page-aligned addresses if congruent to offset.

* elf/dl-init.c: Skip the initializer for l_type lt_executable
with l_name "". Start at _dl_loaded; don't skip the first element.

* elf/dl-load.c (MAP_FILE): Define to zero if undefined.
(MAP_COPY): Define to MAP_PRIVATE if undefined.
(_dl_map_object_from_fd): Don't use MAP_INHERIT in mmap calls.
If file it ET_EXEC, set its l_type to lt_executable.
ChangeLog
posix/glob.c