diff options
Diffstat (limited to 'devel/electron12/files/patch-base_debug_elf__reader.cc')
-rw-r--r-- | devel/electron12/files/patch-base_debug_elf__reader.cc | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/devel/electron12/files/patch-base_debug_elf__reader.cc b/devel/electron12/files/patch-base_debug_elf__reader.cc deleted file mode 100644 index d4ad058d1cf2..000000000000 --- a/devel/electron12/files/patch-base_debug_elf__reader.cc +++ /dev/null @@ -1,28 +0,0 @@ ---- base/debug/elf_reader.cc.orig 2021-01-07 00:36:18 UTC -+++ base/debug/elf_reader.cc -@@ -38,7 +38,9 @@ using Nhdr = Elf64_Nhdr; - using Word = Elf64_Word; - #endif - -+#if !defined(OS_BSD) - constexpr char kGnuNoteName[] = "GNU"; -+#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 -@@ -75,6 +77,7 @@ size_t ReadElfBuildId(const void* elf_mapped_base, - bool found = false; - while (current_section < section_end) { - current_note = reinterpret_cast<const Nhdr*>(current_section); -+#if !defined(OS_BSD) - if (current_note->n_type == NT_GNU_BUILD_ID) { - StringPiece note_name(current_section + sizeof(Nhdr), - current_note->n_namesz); -@@ -84,6 +87,7 @@ size_t ReadElfBuildId(const void* elf_mapped_base, - break; - } - } -+#endif - - size_t section_size = bits::Align(current_note->n_namesz, 4) + - bits::Align(current_note->n_descsz, 4) + |