+2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf/dl-support.c: Include <dl-procruntime.c>.
+ * include/link.h: Include <link_map.h>.
+ * sysdeps/generic/dl-procruntime.c: New file.
+ * sysdeps/generic/link_map.h: Likewise.
+ * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
+ the writable ld.so namespace.
+
2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
timezone: pacify GCC -Wstringop-truncation
void *_dl_random;
/* Get architecture specific initializer. */
+#include <dl-procruntime.c>
#include <dl-procinfo.c>
/* Initial value of the CPU clock. */
freed, ie. not allocated with
the dummy malloc in ld.so. */
+#include <link_map.h>
+
/* Collected information about own RPATH directories. */
struct r_search_path_struct l_rpath_dirs;
--- /dev/null
+/* No architecture specific definitions. */
EXTERN void (*_dl_rtld_unlock_recursive) (void *);
#endif
+ /* Get architecture specific definitions. */
+#define PROCINFO_DECL
+#ifndef PROCINFO_CLASS
+# define PROCINFO_CLASS EXTERN
+#endif
+#include <dl-procruntime.c>
+
/* If loading a shared object requires that we make the stack executable
when it was not, we do it by calling this function.
It returns an errno code or zero on success. */
#endif
/* Get architecture specific definitions. */
-#define PROCINFO_DECL
-#ifndef PROCINFO_CLASS
-# define PROCINFO_CLASS EXTERN
-#endif
#include <dl-procinfo.c>
/* Names of shared object for which the RPATH should be ignored. */
--- /dev/null
+/* No architecture specific definitions. */