summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2016-12-06 15:38:15 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2016-12-06 15:38:15 +0000
commit92b54b5d876fd7a1c64699351983a9d9bf3e1d5c (patch)
tree1f200da7e2cad3559791e16060699033fb144428
parent7c7b6496392dbad1daffa99d9387898c95f13831 (diff)
downloadbcm5719-llvm-92b54b5d876fd7a1c64699351983a9d9bf3e1d5c.tar.gz
bcm5719-llvm-92b54b5d876fd7a1c64699351983a9d9bf3e1d5c.zip
[Support/ELF] - Add OpenBSD PT_OPENBSD_BOOTDATA constant.
OpenBSD commit for reference: https://github.com/openbsd/src/commit/d39116912b9536bd77326260dc5c6e593fd4ee24 llvm-svn: 288816
-rw-r--r--llvm/include/llvm/Support/ELF.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/ELF.h b/llvm/include/llvm/Support/ELF.h
index 4d527042f8a..fd171c97cbf 100644
--- a/llvm/include/llvm/Support/ELF.h
+++ b/llvm/include/llvm/Support/ELF.h
@@ -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.
OpenPOWER on IntegriCloud