diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-03-02 14:38:42 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-03-02 14:39:24 +0100 |
commit | 851f32cf7bf7067f73b991610778915edd57d7b4 (patch) | |
tree | 872288e8f663ef64124423379cce7889ed077ae0 /elf/Makefile | |
parent | 40d055a2ddc86b76d4887e548ed20e40761102b1 (diff) | |
download | glibc-851f32cf7bf7067f73b991610778915edd57d7b4.tar.gz glibc-851f32cf7bf7067f73b991610778915edd57d7b4.tar.xz glibc-851f32cf7bf7067f73b991610778915edd57d7b4.zip |
ld.so: Implement the --list-diagnostics option
Diffstat (limited to 'elf/Makefile')
-rw-r--r-- | elf/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/elf/Makefile b/elf/Makefile index 6f883c2586..b06bf6ca20 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -66,7 +66,7 @@ elide-routines.os = $(all-dl-routines) dl-support enbl-secure dl-origin \ # interpreter and operating independent of libc. rtld-routines = rtld $(all-dl-routines) dl-sysdep dl-environ dl-minimal \ dl-error-minimal dl-conflict dl-hwcaps dl-hwcaps_split dl-hwcaps-subdirs \ - dl-usage + dl-usage dl-diagnostics dl-diagnostics-kernel dl-diagnostics-cpu all-rtld-routines = $(rtld-routines) $(sysdep-rtld-routines) CFLAGS-dl-runtime.c += -fexceptions -fasynchronous-unwind-tables @@ -677,6 +677,9 @@ CFLAGS-cache.c += $(SYSCONF-FLAGS) CFLAGS-rtld.c += $(SYSCONF-FLAGS) CFLAGS-dl-usage.c += $(SYSCONF-FLAGS) \ -D'RTLD="$(rtlddir)/$(rtld-installed-name)"' +CFLAGS-dl-diagnostics.c += $(SYSCONF-FLAGS) \ + -D'PREFIX="$(prefix)"' \ + -D'RTLD="$(rtlddir)/$(rtld-installed-name)"' cpp-srcs-left := $(all-rtld-routines:=.os) lib := rtld |