diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/exec_elf.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/sys/exec_elf.h b/sys/sys/exec_elf.h index 015003980aa..690df79ad3c 100644 --- a/sys/sys/exec_elf.h +++ b/sys/sys/exec_elf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf.h,v 1.72 2017/02/18 06:09:01 jsg Exp $ */ +/* $OpenBSD: exec_elf.h,v 1.73 2017/02/18 06:42:08 jsg Exp $ */ /* * Copyright (c) 1995, 1996 Erik Theisen. All rights reserved. * @@ -532,6 +532,21 @@ typedef struct { unsigned int elf_hash(const unsigned char *name); /* + * Note header + */ +typedef struct { + Elf32_Word n_namesz; + Elf32_Word n_descsz; + Elf32_Word n_type; +} Elf32_Nhdr; + +typedef struct { + Elf64_Half n_namesz; + Elf64_Half n_descsz; + Elf64_Half n_type; +} Elf64_Nhdr; + +/* * Note Definitions */ typedef struct { |