diff options
author | Andreas Schwab <schwab@suse.de> | 2017-11-07 15:24:19 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2017-11-27 11:37:19 +0100 |
commit | c2c299fd24e87b83c63191ff979d41a86b37d714 (patch) | |
tree | 47b1dcdd9bd9348b5a15f93b376a8e7d275a324b /ChangeLog | |
parent | de61465c04d36dadce2f4e7f78ebbe50bae6a21e (diff) | |
download | glibc-c2c299fd24e87b83c63191ff979d41a86b37d714.tar glibc-c2c299fd24e87b83c63191ff979d41a86b37d714.tar.gz glibc-c2c299fd24e87b83c63191ff979d41a86b37d714.tar.bz2 glibc-c2c299fd24e87b83c63191ff979d41a86b37d714.zip |
Consolidate link map sorting
Combine the four places where link maps are sorted into a single function.
This also moves the logic to skip the first map (representing the main
binary) to the callers.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,16 @@ +2017-11-27 Andreas Schwab <schwab@suse.de> + + * elf/Makefile (dl-routines): Add dl-sort-maps. + * elf/dl-sort-maps.c: New file. + * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare. + (_dl_sort_maps): Declare. + * elf/dl-fini.c (_dl_sort_fini): Remove. + (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini. + * elf/dl-close.c (_dl_close_worker): Likewise. + * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of + open-coding it. + * elf/dl-open.c (dl_open_worker): Likewise. + 2017-11-24 Joseph Myers <joseph@codesourcery.com> * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define |