summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-08-29 23:24:40 +0000
committerRoland McGrath <roland@gnu.org>2002-08-29 23:24:40 +0000
commit868b78c83cef264d69a854d9128a68845f346fe3 (patch)
tree73f59b7ed8640199040d8bc32a7415a0edbdb1cd /elf
parentc5738211bd4a61e6950c3e4a61fbb4c366fd13df (diff)
downloadglibc-868b78c83cef264d69a854d9128a68845f346fe3.tar.gz
glibc-868b78c83cef264d69a854d9128a68845f346fe3.tar.xz
glibc-868b78c83cef264d69a854d9128a68845f346fe3.zip
* elf/dl-runtime.c (IN_DL_RUNTIME): Define this macro first thing.
	* sysdeps/i386/dl-machine.h: Only declare fixup, profile_fixup and
	define ELF_MACHINE_RUNTIME_TRAMPOLINE under #ifdef IN_DL_RUNTIME.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-runtime.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/elf/dl-runtime.c b/elf/dl-runtime.c
index ed1c337367..9b24c30841 100644
--- a/elf/dl-runtime.c
+++ b/elf/dl-runtime.c
@@ -17,6 +17,8 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#define IN_DL_RUNTIME 1		/* This can be tested in dl-machine.h.  */
+
 #include <alloca.h>
 #include <stdlib.h>
 #include <unistd.h>