14 lines
291 B
Diff
14 lines
291 B
Diff
--- libmcount/plthook.c
|
|
+++ libmcount/plthook.c
|
|
@@ -22,6 +22,10 @@
|
|
# define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */
|
|
#endif
|
|
|
|
+#if !defined(RTLD_DEFAULT)
|
|
+#define RTLD_DEFAULT ((void *) 0)
|
|
+#endif
|
|
+
|
|
extern struct symtabs symtabs;
|
|
|
|
unsigned long plthook_resolver_addr;
|