diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-04-03 10:47:14 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-04-03 10:47:14 -0700 |
commit | fcccd51286acbf9c19ac57ab7143e257d58323fd (patch) | |
tree | 011b737ea7df67117682d2fd4e0a6998c8eca840 /ChangeLog | |
parent | f6488e2b7f13529cde762d02a0352071c078ff9a (diff) | |
download | glibc-fcccd51286acbf9c19ac57ab7143e257d58323fd.tar.gz glibc-fcccd51286acbf9c19ac57ab7143e257d58323fd.tar.xz glibc-fcccd51286acbf9c19ac57ab7143e257d58323fd.zip |
Factor mmap/munmap of PT_LOAD segments out of _dl_map_object_from_fd et al.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index e36b689d29..7a1c10620a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,26 @@ +2014-04-03 Roland McGrath <roland@hack.frob.com> + + * elf/dl-unmap-segments.h: New file. + * sysdeps/generic/ldsodefs.h + (DL_UNMAP): Use _dl_unmap_segments in place of __munmap. + * elf/dl-close.c: Include <dl-unmap-segments.h>. + * elf/dl-fptr.c: Likewise. + (_dl_unmap): Use _dl_unmap_segments in place of __munmap. + * sysdeps/aarch64/tlsdesc.c: Likewise. + * sysdeps/arm/tlsdesc.c: Likewise. + * sysdeps/i386/tlsdesc.c: Likewise. + * sysdeps/tile/dl-runtime.c: Likewise. + * sysdeps/x86_64/tlsdesc.c: Likewise. + * elf/dl-load.h: New file. + * elf/dl-load.c: Include it. + (MAP_FILE, MAP_COPY, MAP_BASE_ADDR): + Macros moved to dl-load.h. + (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise. + (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h. + Use _dl_unmap_segments in place of __munmap. + Break out segment-mapping loop into ... + * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file. + 2014-04-03 Will Newton <will.newton@linaro.org> * elf/dl-lookup.c (do_lookup_x): Remove comment |