2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
4 * Copyright (c) 2000 Robert Nordier
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above copyright
13 * notice, this list of conditions and the following disclaimer in
14 * the documentation and/or other materials provided with the
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) ``AS IS'' AND ANY EXPRESS
18 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY
21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
23 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
27 * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35 #define KGZ_FIX_NSIZE 0 /* Run-time fixup */
37 const struct kgz_aouthdr0 aouthdr0 = {
40 MID_I386 << 020 | OMAGIC, /* a_midmag */
42 sizeof(struct kgz_hdr) + KGZ_FIX_NSIZE, /* a_data */
44 sizeof(struct nlist) * KGZ__STNUM, /* a_syms */
51 const struct kgz_aouthdr1 aouthdr1 = {
56 (char *)offsetof(struct kgz__strtab,
59 N_DATA | N_EXT, /* n_type */
60 AUX_OBJECT, /* n_other */
66 (char *)offsetof(struct kgz__strtab,
69 N_DATA | N_EXT, /* n_type */
70 AUX_OBJECT, /* n_other */
72 sizeof(struct kgz_hdr) /* n_value */
77 sizeof(struct kgz__strtab), /* length */
78 KGZ__STR_KGZ, /* kgz */
79 KGZ__STR_KGZ_NDATA /* kgz_ndata */