diff options
author | Derek Schuff <dschuff@chromium.org> | 2013-05-10 16:00:11 -0700 |
---|---|---|
committer | Derek Schuff <dschuff@chromium.org> | 2013-05-10 16:00:11 -0700 |
commit | 52daf9d821c963f84dd312ff90921bfe1b1cc0a1 (patch) | |
tree | 8f94ccf4841f2a0bbfdb19bf3b230f7ad220e8ff /include/llvm/Support | |
parent | 42ac59f56fb0d473f84b6be738a64e80b09557d1 (diff) |
LLVM: Add ELF Note section to NaCl object files identifying them as such to gold
This is needed to switch the native linker to one based on upstream binutils
2.23
R=mseaborn@chromium.org
BUG= https://code.google.com/p/nativeclient/issues/detail?id=2971
also related to bug https://code.google.com/p/nativeclient/issues/detail?id=3424
Review URL: https://codereview.chromium.org/15067009
Diffstat (limited to 'include/llvm/Support')
-rw-r--r-- | include/llvm/Support/ELF.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h index 5e70debea1..d665cbd18f 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. +}; +// @LOCALMOD-END + // Dynamic table entry for ELF32. struct Elf32_Dyn { |