summaryrefslogtreecommitdiff
path: root/dev-util/patchelf/files/patchelf-glibc-dt-mips-xhash.patch
blob: fd92c803ac7c8299ee9e4a27e7d7fe5d378fe5d4 (plain)
1
2
3
4
5
6
7
8
9
Add define for DT_MIPS_XHASH (MIPS gnu hash support) using system elf.h header.
Bug: https://bugs.gentoo.org/860888
--- /dev/null
+++ b/src/elf.h
@@ -0,0 +1,4 @@
+#include_next <elf.h>
+#ifndef DT_MIPS_XHASH
+#define DT_MIPS_XHASH 0x70000036
+#endif