summaryrefslogtreecommitdiff
path: root/dev-util/patchelf/files/patchelf-glibc-dt-mips-xhash.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-27 12:17:07 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-27 12:17:07 +0100
commitc8e8719ce75120aeba1784b5edbe919b2e5e3dc3 (patch)
tree7945df945695274ce144a17413a1560dd350a60c /dev-util/patchelf/files/patchelf-glibc-dt-mips-xhash.patch
parent4936e2350e0b4aae482b12c7ce02aaa3c7e64842 (diff)
gentoo auto-resync : 27:04:2023 - 12:17:07
Diffstat (limited to 'dev-util/patchelf/files/patchelf-glibc-dt-mips-xhash.patch')
-rw-r--r--dev-util/patchelf/files/patchelf-glibc-dt-mips-xhash.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-util/patchelf/files/patchelf-glibc-dt-mips-xhash.patch b/dev-util/patchelf/files/patchelf-glibc-dt-mips-xhash.patch
new file mode 100644
index 000000000000..fd92c803ac7c
--- /dev/null
+++ b/dev-util/patchelf/files/patchelf-glibc-dt-mips-xhash.patch
@@ -0,0 +1,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