1 /* Newlib
/libgloss macro values needed by remote target support.
*/
2 /* This file is machine generated by gennltvals.sh.
*/
6 /* begin errno target macros
*/
10 { "EADDRNOTAVAIL", 125 },
12 { "EAFNOSUPPORT", 106 },
27 { "ECONNABORTED", 113 },
28 { "ECONNREFUSED", 111 },
29 { "ECONNRESET", 104 },
32 { "EDESTADDRREQ", 121 },
40 { "EHOSTUNREACH", 118 },
42 { "EINPROGRESS", 119 },
64 { "ENAMETOOLONG", 91 },
67 { "ENETUNREACH", 114 },
83 { "ENOPROTOOPT", 109 },
99 { "EPFNOSUPPORT", 96 },
103 { "EPROTONOSUPPORT", 123 },
104 { "EPROTOTYPE", 107 },
109 { "ESHUTDOWN", 110 },
110 { "ESOCKTNOSUPPORT", 124 },
116 { "ETIMEDOUT", 116 },
117 { "ETOOMANYREFS", 129 },
121 { "EWOULDBLOCK", 11 },
124 /* end errno target macros
*/
128 /* from sys
/signal.h
*/
129 /* begin signal target macros
*/
164 /* end signal target macros
*/
168 /* from sys
/fcntl.h
*/
169 /* begin open target macros
*/
170 { "O_ACCMODE", (0 |
1 |
2 ) },
171 { "O_APPEND", 0x0008 },
172 { "O_CREAT", 0x0200 },
173 { "O_EXCL", 0x0800 },
174 { "O_NOCTTY", 0x8000 },
175 { "O_NONBLOCK", 0x4000 },
178 { "O_SYNC", 0x2000 },
179 { "O_TRUNC", 0x0400 },
181 /* end open target macros
*/
183 #ifdef NL_TARGET_d10v
186 /* begin d10v sys target macros
*/
194 { "SYS_execve", 59 },
198 { "SYS_getpid", 20 },
199 { "SYS_isatty", 21 },
209 { "SYS_unlink", 10 },
210 { "SYS_utime", 201 },
214 /* end d10v sys target macros
*/
217 #ifdef NL_TARGET_fr30
220 /* begin fr30 sys target macros
*/
222 { "SYS_argvlen", 12 },
238 /* end fr30 sys target macros
*/
244 /* begin frv sys target macros
*/
246 { "SYS_argvlen", 12 },
253 { "SYS_gettimeofday", 19 },
264 /* end frv sys target macros
*/
267 #ifdef NL_TARGET_i960
270 /* begin i960 sys target macros
*/
272 { "SYS_argvlen", 12 },
275 { "SYS_close", 234 },
280 { "SYS_lseek", 233 },
287 { "SYS_write", 232 },
288 /* end i960 sys target macros
*/
291 #ifdef NL_TARGET_m32r
294 /* begin m32r sys target macros
*/
296 { "SYS_argvlen", 12 },
312 /* end m32r sys target macros
*/
315 #ifdef NL_TARGET_mn10200
318 /* begin mn10200 sys target macros
*/
320 { "SYS_argvlen", 12 },
336 /* end mn10200 sys target macros
*/
339 #ifdef NL_TARGET_mn10300
342 /* begin mn10300 sys target macros
*/
344 { "SYS_argvlen", 12 },
360 /* end mn10300 sys target macros
*/
363 #ifdef NL_TARGET_sparc
366 /* begin sparc sys target macros
*/
368 { "SYS_argvlen", 12 },
384 /* end sparc sys target macros
*/
387 #ifdef NL_TARGET_v850
390 /* begin v850 sys target macros
*/
398 { "SYS_execve", 59 },
402 { "SYS_getpid", 20 },
403 { "SYS_gettimeofday", 116 },
404 { "SYS_isatty", 21 },
413 { "SYS_unlink", 10 },
414 { "SYS_utime", 201 },
418 /* end v850 sys target macros
*/