summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/rtld.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 8ec637f6a8..6baa7a868a 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -18,13 +18,18 @@ not, write to the Free Software Foundation, Inc., 675 Mass Ave,
 Cambridge, MA 02139, USA.  */
 
 #include <link.h>
-#include "dynamic-link.h"
 #include <stddef.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include "../stdio-common/_itoa.h"
 
 
+/* This #define produces dynamic linking inline functions for
+   bootstrap relocation instead of general-purpose relocation.  */
+#define RTLD_BOOTSTRAP
+#include "dynamic-link.h"
+
+
 #ifdef RTLD_START
 RTLD_START
 #else