mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
Changelog: https://chromium.googlesource.com/chromium/src/+log/74.0.3729.169..75.0.3770.80?pretty=fuller&n=10000 Submitted by: Matthias Wolf <matthias@rheinwolf.de>
18 lines
714 B
C++
18 lines
714 B
C++
--- base/debug/elf_reader.cc.orig 2019-06-04 18:55:15 UTC
|
|
+++ base/debug/elf_reader.cc
|
|
@@ -83,6 +83,7 @@ size_t ReadElfBuildId(const void* elf_mapped_base,
|
|
reinterpret_cast<const Nhdr*>(elf_base + header.p_vaddr);
|
|
bool found = false;
|
|
while (current_note < section_end) {
|
|
+#if !defined(OS_BSD)
|
|
if (current_note->n_type == NT_GNU_BUILD_ID) {
|
|
const char* note_name =
|
|
reinterpret_cast<const char*>(current_note) + sizeof(Nhdr);
|
|
@@ -92,6 +93,7 @@ size_t ReadElfBuildId(const void* elf_mapped_base,
|
|
break;
|
|
}
|
|
}
|
|
+#endif
|
|
|
|
current_note = reinterpret_cast<const Nhdr*>(
|
|
reinterpret_cast<const char*>(current_note) + sizeof(Nhdr) +
|