mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -04:00
13 lines
442 B
C++
13 lines
442 B
C++
--- base/debug/elf_reader.cc.orig 2024-06-22 08:49:42 UTC
|
|
+++ base/debug/elf_reader.cc
|
|
@@ -50,6 +50,10 @@ using Xword = Elf64_Xword;
|
|
|
|
constexpr char kGnuNoteName[] = "GNU";
|
|
|
|
+#ifndef NT_GNU_BUILD_ID
|
|
+#define NT_GNU_BUILD_ID 3
|
|
+#endif
|
|
+
|
|
// Returns a pointer to the header of the ELF binary mapped into memory, or a
|
|
// null pointer if the header is invalid. Here and below |elf_mapped_base| is a
|
|
// pointer to the start of the ELF image.
|