From c2c299fd24e87b83c63191ff979d41a86b37d714 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 7 Nov 2017 15:24:19 +0100 Subject: 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. --- elf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/Makefile') diff --git a/elf/Makefile b/elf/Makefile index a31fb72498..d49fd4673d 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -32,7 +32,7 @@ dl-routines = $(addprefix dl-,load lookup object reloc deps hwcaps \ runtime init fini debug misc \ version profile tls origin scope \ execstack caller open close trampoline \ - exception) + exception sort-maps) ifeq (yes,$(use-ldconfig)) dl-routines += dl-cache endif -- cgit v1.2.3-70-g09d2