diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/Makefile | 2 | ||||
-rw-r--r-- | elf/dl-open.c | 2 | ||||
-rw-r--r-- | elf/rtld-Rules | 2 | ||||
-rw-r--r-- | elf/setup-vdso.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/elf/Makefile b/elf/Makefile index 3629135..eef3cb8 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -444,7 +444,7 @@ CFLAGS-cache.c = $(SYSCONF-FLAGS) CFLAGS-rtld.c = $(SYSCONF-FLAGS) CPPFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\ - -DNOT_IN_libc=1 -DIS_IN_rtld=1) + -DNOT_IN_libc=1) cpp-srcs-left := $(all-rtld-routines:=.os) lib := rtld diff --git a/elf/dl-open.c b/elf/dl-open.c index 7cc4cc1..dec3d32 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -737,7 +737,7 @@ _dl_show_scope (struct link_map *l, int from) _dl_debug_printf ("\n"); } -#ifdef IS_IN_rtld +#if IS_IN (rtld) /* Return non-zero if ADDR lies within one of L's segments. */ int internal_function diff --git a/elf/rtld-Rules b/elf/rtld-Rules index 4d22436..65d147f 100644 --- a/elf/rtld-Rules +++ b/elf/rtld-Rules @@ -144,6 +144,6 @@ lib := rtld include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left)) # This here is the whole point of all the shenanigans. -rtld-CPPFLAGS := -DNOT_IN_libc=1 -DIS_IN_rtld=1 +rtld-CPPFLAGS := -DNOT_IN_libc=1 endif diff --git a/elf/setup-vdso.h b/elf/setup-vdso.h index 1057cf0..a6dcc4e 100644 --- a/elf/setup-vdso.h +++ b/elf/setup-vdso.h @@ -99,7 +99,7 @@ setup_vdso (struct link_map *main_map __attribute__ ((unused)), /* Add the vDSO to the object list. */ _dl_add_to_namespace_list (l, LM_ID_BASE); -# ifdef IS_IN_rtld +# if IS_IN (rtld) /* Rearrange the list so this DSO appears after rtld_map. */ assert (l->l_next == NULL); assert (l->l_prev == main_map); |