]> git.ipfire.org Git - thirdparty/glibc.git/commit - Makeconfig
Use MODULE_NAME in stap-probe instead of IN_LIB
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 20 Nov 2014 06:12:00 +0000 (11:42 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Mon, 24 Nov 2014 06:11:42 +0000 (11:41 +0530)
commit279bc5b3c384c09746fbadb2b68c6db9e833c064
treee0f6a347b712368adaef58c3befa459d6c262117
parente0cfa51064489fdff85953bad1e0f3c42e093662
Use MODULE_NAME in stap-probe instead of IN_LIB

Define MODULE_NAME in the build command and define IN_MODULE using
MODULE_NAME.  Verified that the generated code is unchanged on x86_64.

* Makeconfig (module-cppflags-real): Define MODULE_NAME
instead of IN_MODULE.
* include/libc-symbols.h (IN_MODULE): Define using
MODULE_NAME.
(PASTE_NAME, PASTE_NAME1): New macros.
* include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
of IN_LIB.
(STAP_PROBE_ASM): Likewise.
ChangeLog
Makeconfig
include/libc-symbols.h
include/stap-probe.h