summaryrefslogtreecommitdiff
path: root/lib/csu/common_elf/os-note-elf.h
blob: 48e33f22eb9e250525b8811cad9998a438f27430 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*	$OpenBSD: os-note-elf.h,v 1.5 2009/03/06 23:13:40 kurt Exp $	*/
/*
 * Contents:
 *
 *  long Name length
 *  long Description length
 *  long ELF_NOTE_TYPE_OSVERSION (1) XXX - need a define.
 *  "OpenBSD\0"
 *  version? 0 XXX
 */

__asm("	.section \".note.openbsd.ident\", \"a\"\n"
"	.p2align 2\n"
"	.long	8\n"
"	.long	4\n"
"	.long	1\n"
"	.ascii \"OpenBSD\\0\"\n"
"	.long	0\n"
"	.previous\n");