1 /****************************************************************************
2 ****************************************************************************
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
17 ****************************************************************************
18 ****************************************************************************/
22 #define COFF_SHORT_L(ps) ((short)(((unsigned short)((unsigned char)ps[1])<<8)| ((unsigned short)((unsigned char)ps[0]))))
23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
24 #define COFF_LONG_L(ps) (((long)(((unsigned long)((unsigned char)ps[3])<<24) | ((unsigned long)((unsigned char)ps[2])<<16) | ((unsigned long)((unsigned char)ps[1])<<8) | ((unsigned long)((unsigned char)ps[0])))))
25 #define COFF_SHORT_H(ps) ((short)(((unsigned short)((unsigned char)ps[0])<<8)| ((unsigned short)((unsigned char)ps[1]))))
26 #define COFF_LONG_H(ps) (((long)(((unsigned long)((unsigned char)ps[0])<<24) | ((unsigned long)((unsigned char)ps[1])<<16) | ((unsigned long)((unsigned char)ps[2])<<8) | ((unsigned long)((unsigned char)ps[3])))))
27 #define COFF_LONG(v) COFF_LONG_L(v)
28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29 #define COFF_SHORT(v) COFF_SHORT_L(v)
33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
41 #define COFF_F_RELFLG 0000001
42 #define COFF_F_EXEC 0000002
43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44 #define COFF_F_LNNO 0000004
45 #define COFF_F_LSYMS 0000010
46 #define COFF_F_MINMAL 0000020
47 #define COFF_F_UPDATE 0000040
48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49 #define COFF_F_SWABD 0000100
50 #define COFF_F_AR16WR 0000200
51 #define COFF_F_AR32WR 0000400
52 #define COFF_F_AR32W 0001000
53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54 #define COFF_F_PATCH 0002000
55 #define COFF_F_NODF 0002000
56 #define COFF_I386MAGIC 0x14c
57 #define COFF_I386BADMAG(x) (COFF_SHORT((x).f_magic) != COFF_I386MAGIC)
58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59 #define COFF_FILHDR struct COFF_filehdr
60 #define COFF_FILHSZ sizeof(COFF_FILHDR)
63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
76 #define COFF_AOUTSZ (sizeof(COFF_AOUTHDR))
77 #define COFF_STMAGIC 0401
78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79 #define COFF_OMAGIC 0404
80 #define COFF_JMAGIC 0407
81 #define COFF_DMAGIC 0410
82 #define COFF_ZMAGIC 0413
83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84 #define COFF_SHMAGIC 0443
88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
100 #define COFF_SCNHDR struct COFF_scnhdr
101 #define COFF_SCNHSZ sizeof(COFF_SCNHDR)
102 #define COFF_TEXT ".text"
103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104 #define COFF_DATA ".data"
105 #define COFF_BSS ".bss"
106 #define COFF_COMMENT ".comment"
107 #define COFF_LIB ".lib"
108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109 #define COFF_SECT_TEXT 0
110 #define COFF_SECT_DATA 1
111 #define COFF_SECT_BSS 2
112 #define COFF_SECT_REQD 3
113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114 #define COFF_STYP_REG 0x00
115 #define COFF_STYP_DSECT 0x01
116 #define COFF_STYP_NOLOAD 0x02
117 #define COFF_STYP_GROUP 0x04
118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
119 #define COFF_STYP_PAD 0x08
120 #define COFF_STYP_COPY 0x10
121 #define COFF_STYP_TEXT 0x20
122 #define COFF_STYP_DATA 0x40
123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
124 #define COFF_STYP_BSS 0x80
125 #define COFF_STYP_INFO 0x200
126 #define COFF_STYP_OVER 0x400
127 #define COFF_STYP_LIB 0x800
128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
134 #define COFF_SLIBHD struct COFF_slib
135 #define COFF_SLIBSZ sizeof(COFF_SLIBHD)
138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
145 #define COFF_LINENO struct COFF_lineno
146 #define COFF_LINESZ 6
147 #define COFF_E_SYMNMLEN 8
148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
149 #define COFF_E_FILNMLEN 14
150 #define COFF_E_DIMNUM 4
153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
155 char e_name
[E_SYMNMLEN
];
158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
170 #define COFF_N_BTMASK (0xf)
171 #define COFF_N_TMASK (0x30)
172 #define COFF_N_BTSHFT (4)
173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
174 #define COFF_N_TSHIFT (2)
178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
195 char x_dimen
[E_DIMNUM
][2];
198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
202 char x_fname
[E_FILNMLEN
];
203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
224 #define COFF_SYMENT struct COFF_syment
225 #define COFF_SYMESZ 18
226 #define COFF_AUXENT union COFF_auxent
227 #define COFF_AUXESZ 18
228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
229 #define COFF_ETEXT "etext"
233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
236 #define COFF_RELOC struct COFF_reloc
237 #define COFF_RELSZ 10
238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
239 #define COFF_DEF_DATA_SECTION_ALIGNMENT 4
240 #define COFF_DEF_BSS_SECTION_ALIGNMENT 4
241 #define COFF_DEF_TEXT_SECTION_ALIGNMENT 4
242 #define COFF_DEF_SECTION_ALIGNMENT 4
243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */