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

Unified Diff: include/llvm/Support/ELF.h

Issue 15067009: LLVM: Add ELF Note section to NaCl object files identifying them as such to gold (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: reviews, and add initialization to llvm-mc 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 | « include/llvm/MC/MCNaCl.h ('k') | lib/MC/CMakeLists.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/llvm/Support/ELF.h
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h
index 5e70debea1dfa3b44ea7e5a0ff4532278e90a4ae..d665cbd18f8c989b7fb3ad6dff439075d02634dd 100644
--- a/include/llvm/Support/ELF.h
+++ b/include/llvm/Support/ELF.h
@@ -1324,6 +1324,13 @@ enum {
PF_MASKPROC = 0xf0000000 // Bits for processor-specific semantics.
};
+// @LOCALMOD-BEGIN
+// Note segment descriptor types (for object files).
+enum {
+ NT_VERSION = 1 // Note contains a version string.
eliben 2013/05/10 23:43:22 Is this upstreamable?
+};
+// @LOCALMOD-END
+
// Dynamic table entry for ELF32.
struct Elf32_Dyn
{
« no previous file with comments | « include/llvm/MC/MCNaCl.h ('k') | lib/MC/CMakeLists.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698