[llvm] r288816 - [Support/ELF] - Add OpenBSD PT_OPENBSD_BOOTDATA constant.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 07:38:16 PST 2016


Author: grimar
Date: Tue Dec  6 09:38:15 2016
New Revision: 288816

URL: http://llvm.org/viewvc/llvm-project?rev=288816&view=rev
Log:
[Support/ELF] - Add OpenBSD PT_OPENBSD_BOOTDATA constant.

OpenBSD commit for reference:
https://github.com/openbsd/src/commit/d39116912b9536bd77326260dc5c6e593fd4ee24

Modified:
    llvm/trunk/include/llvm/Support/ELF.h

Modified: llvm/trunk/include/llvm/Support/ELF.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/ELF.h?rev=288816&r1=288815&r2=288816&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/ELF.h (original)
+++ llvm/trunk/include/llvm/Support/ELF.h Tue Dec  6 09:38:15 2016
@@ -1030,7 +1030,8 @@ enum {
 
   PT_OPENBSD_RANDOMIZE = 0x65a3dbe6, // Fill with random data.
   PT_OPENBSD_WXNEEDED = 0x65a3dbe7,  // Program does W^X violations.
-
+  PT_OPENBSD_BOOTDATA = 0x65a41be6,  // Section for boot arguments.
+  
   // ARM program header types.
   PT_ARM_ARCHEXT = 0x70000000, // Platform architecture compatibility info
   // These all contain stack unwind tables.




More information about the llvm-commits mailing list