Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove last place for definition of IS_IN_* macros
Ignoring IS_IN_build, which has a different purpose altogether, this
patch removes the last bit of IS_IN_* macro definitions.  Now barring
NOT_IN_libc, all cases use the IN_MODULE scheme.

Generated code unchanged on x86_64.

	* extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
  • Loading branch information
Siddhesh Poyarekar committed Nov 24, 2014
1 parent a384848 commit 76ca86a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
@@ -1,5 +1,7 @@
2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>

* extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).

* elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
* elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
* elf/rtld-Rules: Likewise.
Expand Down
2 changes: 1 addition & 1 deletion extra-lib.mk
Expand Up @@ -106,4 +106,4 @@ ifneq (,$(cpp-srcs-left))
include $(patsubst %,$(..)cppflags-iterator.mk,$(cpp-srcs-left))
endif

CPPFLAGS-$(lib) := -DNOT_IN_libc=1 -DIS_IN_$(lib)=1
CPPFLAGS-$(lib) := -DNOT_IN_libc=1

0 comments on commit 76ca86a

Please sign in to comment.