diff options
Diffstat (limited to 'sys/kern/exec_elf.c')
-rw-r--r-- | sys/kern/exec_elf.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c index 11ac6ffc845..c02551b3a27 100644 --- a/sys/kern/exec_elf.c +++ b/sys/kern/exec_elf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf.c,v 1.132 2017/02/08 04:34:29 guenther Exp $ */ +/* $OpenBSD: exec_elf.c,v 1.133 2017/02/08 04:47:23 guenther Exp $ */ /* * Copyright (c) 1996 Per Fogelstrom @@ -843,18 +843,6 @@ ELFNAME2(exec,fixup)(struct proc *p, struct exec_package *epp) return (error); } -/* - * Older ELF binaries use EI_ABIVERSION (formerly EI_BRAND) to brand - * executables. Newer ELF binaries use EI_OSABI instead. - */ -char * -ELFNAME(check_brand)(Elf_Ehdr *eh) -{ - if (eh->e_ident[EI_ABIVERSION] == '\0') - return (NULL); - return (&eh->e_ident[EI_ABIVERSION]); -} - int ELFNAME(os_pt_note)(struct proc *p, struct exec_package *epp, Elf_Ehdr *eh, char *os_name, size_t name_size, size_t desc_size) |