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_mcore
372 /* begin mcore sys target macros
*/
373 { "SYS_access", 33 },
382 { "SYS_unlink", 10 },
384 /* end mcore sys target macros
*/
387 #ifdef NL_TARGET_mn10200
390 /* begin mn10200 sys target macros
*/
393 { "SYS_argnlen", 23 },
395 { "SYS_argvlen", 12 },
402 { "SYS_gettimeofday", 19 },
408 { "SYS_reconfig", 25 },
415 /* end mn10200 sys target macros
*/
418 #ifdef NL_TARGET_mn10300
421 /* begin mn10300 sys target macros
*/
424 { "SYS_argnlen", 23 },
426 { "SYS_argvlen", 12 },
433 { "SYS_gettimeofday", 19 },
439 { "SYS_reconfig", 25 },
446 /* end mn10300 sys target macros
*/
449 #ifdef NL_TARGET_msp430
452 /* begin msp430 sys target macros
*/
455 { "SYS_argnlen", 23 },
457 { "SYS_argvlen", 12 },
464 { "SYS_gettimeofday", 19 },
470 { "SYS_reconfig", 25 },
477 /* end msp430 sys target macros
*/
480 #ifdef NL_TARGET_sparc
483 /* begin sparc sys target macros
*/
486 { "SYS_argnlen", 23 },
488 { "SYS_argvlen", 12 },
495 { "SYS_gettimeofday", 19 },
501 { "SYS_reconfig", 25 },
508 /* end sparc sys target macros
*/
511 #ifdef NL_TARGET_v850
514 /* begin v850 sys target macros
*/
522 { "SYS_execve", 59 },
526 { "SYS_getpid", 20 },
527 { "SYS_gettimeofday", 116 },
528 { "SYS_isatty", 21 },
535 { "SYS_rename", 134 },
538 { "SYS_unlink", 10 },
539 { "SYS_utime", 201 },
543 /* end v850 sys target macros
*/
546 #ifdef NL_TARGET_lm32
549 /* begin lm32 sys target macros
*/
552 { "SYS_argnlen", 23 },
554 { "SYS_argvlen", 12 },
561 { "SYS_gettimeofday", 19 },
567 { "SYS_reconfig", 25 },
574 /* end lm32 sys target macros
*/