From 3a097cc7a18309c864186c1b864b90889d2a45e9 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 25 May 2012 13:40:20 -0700 Subject: Add --enable-systemtap configuration to define static probe points. --- elf/Makefile | 3 ++- elf/rtld-Rules | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'elf') diff --git a/elf/Makefile b/elf/Makefile index f6c6fb4644..0c26ce545a 100644 --- a/elf/Makefile +++ b/elf/Makefile @@ -422,7 +422,8 @@ CFLAGS-dl-cache.c = $(SYSCONF-FLAGS) 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) +CPPFLAGS-.os += $(if $(filter $(@F),$(patsubst %,%.os,$(all-rtld-routines))),\ + -DNOT_IN_libc=1 -DIS_IN_rtld=1 -DIN_LIB=rtld) test-modules = $(addprefix $(objpfx),$(addsuffix .so,$(strip $(modules-names)))) generated += $(addsuffix .so,$(strip $(modules-names))) diff --git a/elf/rtld-Rules b/elf/rtld-Rules index 6526aec19a..1e03332ca1 100644 --- a/elf/rtld-Rules +++ b/elf/rtld-Rules @@ -1,7 +1,6 @@ # Subroutine makefile for compiling libc modules linked into dynamic linker. -# Copyright (C) 2002,2003,2005,2006,2008,2010,2011 -# Free Software Foundation, Inc. +# Copyright (C) 2002-2012 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -130,6 +129,6 @@ ifdef rtld-depfiles endif # 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 -DIS_IN_rtld=1 -DIN_LIB=rtld endif -- cgit 1.4.1