Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: src/include/elf_constants.h

Issue 14757008: Minidumper: Get the nexe's build ID from PT_NOTE when available (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Comment Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/include/elf32.h ('k') | src/untrusted/minidump_generator/build_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/include/elf_constants.h
diff --git a/src/include/elf_constants.h b/src/include/elf_constants.h
index 8962bb5b9283d7a30f2a0d7c54034b59930b2261..02745e140520b9a084d03c97beddf69aae39a522 100644
--- a/src/include/elf_constants.h
+++ b/src/include/elf_constants.h
@@ -129,6 +129,11 @@ EXTERN_C_BEGIN
#define SHF_MASKOS 0x0f000000 /* Environment-specific use */
#define SHF_MASKPROC 0xf0000000 /* Processor-specific use */
+#define ELF_NOTE_GNU "GNU"
+
+/* n_type value for build ID notes generated by "ld --build-id". */
+#define NT_GNU_BUILD_ID 3
+
EXTERN_C_END
#endif /* NATIVE_CLIENT_SRC_INCLUDE_ELF_CONSTANTS_H_ */
« no previous file with comments | « src/include/elf32.h ('k') | src/untrusted/minidump_generator/build_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698