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 },
11 { "EAFNOSUPPORT", 106 },
19 { "ECONNABORTED", 113 },
20 { "ECONNREFUSED", 111 },
21 { "ECONNRESET", 104 },
23 { "EDESTADDRREQ", 121 },
31 { "EHOSTUNREACH", 118 },
34 { "EINPROGRESS", 119 },
45 { "ENAMETOOLONG", 91 },
48 { "ENETUNREACH", 114 },
59 { "ENOPROTOOPT", 109 },
67 { "ENOTRECOVERABLE", 141 },
74 { "EOWNERDEAD", 142 },
76 { "EPFNOSUPPORT", 96 },
79 { "EPROTONOSUPPORT", 123 },
80 { "EPROTOTYPE", 107 },
88 { "ETOOMANYREFS", 129 },
90 { "EWOULDBLOCK", 11 },
92 /* end errno target macros */
96 /* from sys/signal.h */
97 /* begin signal target macros */
132 /* end signal target macros */
136 /* from sys/fcntl.h */
137 /* from sys/_default_fcntl.h */
138 /* begin open target macros */
139 { "O_ACCMODE", (0|1|2) },
140 { "O_APPEND", 0x0008 },
141 { "O_CREAT", 0x0200 },
142 { "O_EXCL", 0x0800 },
143 { "O_NOCTTY", 0x8000 },
144 { "O_NONBLOCK", 0x4000 },
147 { "O_SYNC", 0x2000 },
148 { "O_TRUNC", 0x0400 },
150 /* end open target macros */
152 #ifdef NL_TARGET_bfin
155 /* begin bfin sys target macros */
158 { "SYS_argnlen", 23 },
160 { "SYS_argvlen", 12 },
167 { "SYS_gettimeofday", 19 },
173 { "SYS_reconfig", 25 },
180 /* end bfin sys 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_cr16
220 /* begin cr16 sys target macros */
225 { "SYS_close", 0x402 },
228 { "SYS_execve", 59 },
229 { "SYS_exit", 0x410 },
232 { "SYS_getpid", 20 },
233 { "SYS_isatty", 21 },
236 { "SYS_lseek", 0x405 },
238 { "SYS_open", 0x401 },
240 { "SYS_read", 0x403 },
241 { "SYS_rename", 0x406 },
243 { "SYS_time", 0x300 },
244 { "SYS_unlink", 0x407 },
245 { "SYS_utime", 201 },
248 { "SYS_write", 0x404 },
249 /* end cr16 sys target macros */
252 #ifdef NL_TARGET_fr30
255 /* begin fr30 sys target macros */
258 { "SYS_argnlen", 23 },
260 { "SYS_argvlen", 12 },
267 { "SYS_gettimeofday", 19 },
273 { "SYS_reconfig", 25 },
280 /* end fr30 sys target macros */
286 /* begin frv sys target macros */
289 { "SYS_argnlen", 23 },
291 { "SYS_argvlen", 12 },
298 { "SYS_gettimeofday", 19 },
304 { "SYS_reconfig", 25 },
311 /* end frv sys target macros */
314 #ifdef NL_TARGET_i960
317 /* begin i960 sys target macros */
319 { "SYS_argvlen", 12 },
322 { "SYS_close", 234 },
327 { "SYS_lseek", 233 },
334 { "SYS_write", 232 },
335 /* end i960 sys target macros */
338 #ifdef NL_TARGET_m32r
341 /* begin m32r sys target macros */
344 { "SYS_argnlen", 23 },
346 { "SYS_argvlen", 12 },
353 { "SYS_gettimeofday", 19 },
359 { "SYS_reconfig", 25 },
366 /* end m32r sys target macros */
369 #ifdef NL_TARGET_mn10200
372 /* begin mn10200 sys target macros */
375 { "SYS_argnlen", 23 },
377 { "SYS_argvlen", 12 },
384 { "SYS_gettimeofday", 19 },
390 { "SYS_reconfig", 25 },
397 /* end mn10200 sys target macros */
400 #ifdef NL_TARGET_mn10300
403 /* begin mn10300 sys target macros */
406 { "SYS_argnlen", 23 },
408 { "SYS_argvlen", 12 },
415 { "SYS_gettimeofday", 19 },
421 { "SYS_reconfig", 25 },
428 /* end mn10300 sys target macros */
431 #ifdef NL_TARGET_msp430
434 /* begin msp430 sys target macros */
437 { "SYS_argnlen", 23 },
439 { "SYS_argvlen", 12 },
446 { "SYS_gettimeofday", 19 },
452 { "SYS_reconfig", 25 },
459 /* end msp430 sys target macros */
462 #ifdef NL_TARGET_sparc
465 /* begin sparc sys target macros */
468 { "SYS_argnlen", 23 },
470 { "SYS_argvlen", 12 },
477 { "SYS_gettimeofday", 19 },
483 { "SYS_reconfig", 25 },
490 /* end sparc sys target macros */
493 #ifdef NL_TARGET_v850
496 /* begin v850 sys target macros */
504 { "SYS_execve", 59 },
508 { "SYS_getpid", 20 },
509 { "SYS_gettimeofday", 116 },
510 { "SYS_isatty", 21 },
517 { "SYS_rename", 134 },
520 { "SYS_unlink", 10 },
521 { "SYS_utime", 201 },
525 /* end v850 sys target macros */
528 #ifdef NL_TARGET_lm32
531 /* begin lm32 sys target macros */
534 { "SYS_argnlen", 23 },
536 { "SYS_argvlen", 12 },
543 { "SYS_gettimeofday", 19 },
549 { "SYS_reconfig", 25 },
556 /* end lm32 sys target macros */