initial import
[ICEs.git] / bfin-4444 / test_builtin_func.i.0
1 # 1 "test_builtin_func.c"
2 # 1 "/home/aga/try/test_builtin_func//"
3 # 1 "<built-in>"
4 # 1 "<command line>"
5 # 1 "test_builtin_func.c"
6 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 1 3 4
7 # 28 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
8 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 1 3 4
9 # 35 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 3 4
10 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_config.h" 1 3 4
11 # 36 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 2 3 4
12
13 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_arch_features.h" 1 3 4
14 # 38 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 2 3 4
15 # 356 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 3 4
16 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sys/cdefs.h" 1 3 4
17 # 357 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/features.h" 2 3 4
18 # 29 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 2 3 4
19
20
21
22
23
24 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
25 # 214 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 3 4
26 typedef long unsigned int size_t;
27 # 35 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 2 3 4
28
29 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 1 3 4
30 # 28 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 3 4
31 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/wordsize.h" 1 3 4
32 # 29 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4
33
34
35 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
36 # 32 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4
37 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/kernel_types.h" 1 3 4
38 # 10 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/kernel_types.h" 3 4
39 typedef unsigned short __kernel_dev_t;
40 typedef unsigned long __kernel_ino_t;
41 typedef unsigned short __kernel_mode_t;
42 typedef unsigned short __kernel_nlink_t;
43 typedef long __kernel_off_t;
44 typedef int __kernel_pid_t;
45 typedef unsigned int __kernel_ipc_pid_t;
46 typedef unsigned int __kernel_uid_t;
47 typedef unsigned int __kernel_gid_t;
48 typedef unsigned int __kernel_size_t;
49 typedef int __kernel_ssize_t;
50 typedef int __kernel_ptrdiff_t;
51 typedef long __kernel_time_t;
52 typedef long __kernel_suseconds_t;
53 typedef long __kernel_clock_t;
54 typedef int __kernel_daddr_t;
55 typedef char * __kernel_caddr_t;
56 typedef unsigned short __kernel_uid16_t;
57 typedef unsigned short __kernel_gid16_t;
58 typedef unsigned int __kernel_uid32_t;
59 typedef unsigned int __kernel_gid32_t;
60 typedef unsigned short __kernel_old_uid_t;
61 typedef unsigned short __kernel_old_gid_t;
62 typedef long long __kernel_loff_t;
63 typedef __kernel_dev_t __kernel_old_dev_t;
64
65 typedef struct {
66
67
68
69 int __val[2];
70
71 } __kernel_fsid_t;
72 # 33 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4
73
74
75 typedef unsigned char __u_char;
76 typedef unsigned short int __u_short;
77 typedef unsigned int __u_int;
78 typedef unsigned long int __u_long;
79
80
81 typedef signed char __int8_t;
82 typedef unsigned char __uint8_t;
83 typedef signed short int __int16_t;
84 typedef unsigned short int __uint16_t;
85 typedef signed int __int32_t;
86 typedef unsigned int __uint32_t;
87
88
89
90
91 __extension__ typedef signed long long int __int64_t;
92 __extension__ typedef unsigned long long int __uint64_t;
93
94
95
96
97
98
99
100 __extension__ typedef long long int __quad_t;
101 __extension__ typedef unsigned long long int __u_quad_t;
102 # 135 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 3 4
103 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/typesizes.h" 1 3 4
104 # 136 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4
105
106
107 __extension__ typedef __u_quad_t __dev_t;
108 __extension__ typedef unsigned int __uid_t;
109 __extension__ typedef unsigned int __gid_t;
110 __extension__ typedef unsigned long int __ino_t;
111 __extension__ typedef __u_quad_t __ino64_t;
112 __extension__ typedef unsigned int __mode_t;
113 __extension__ typedef unsigned int __nlink_t;
114 __extension__ typedef long int __off_t;
115 __extension__ typedef __quad_t __off64_t;
116 __extension__ typedef int __pid_t;
117 __extension__ typedef struct { int __val[2]; } __fsid_t;
118 __extension__ typedef long int __clock_t;
119 __extension__ typedef unsigned long int __rlim_t;
120 __extension__ typedef __u_quad_t __rlim64_t;
121 __extension__ typedef unsigned int __id_t;
122 __extension__ typedef long int __time_t;
123 __extension__ typedef unsigned int __useconds_t;
124 __extension__ typedef long int __suseconds_t;
125
126 __extension__ typedef int __daddr_t;
127 __extension__ typedef long int __swblk_t;
128 __extension__ typedef int __key_t;
129
130
131 __extension__ typedef int __clockid_t;
132
133
134 __extension__ typedef void * __timer_t;
135
136
137 __extension__ typedef long int __blksize_t;
138
139
140
141
142 __extension__ typedef long int __blkcnt_t;
143 __extension__ typedef __quad_t __blkcnt64_t;
144
145
146 __extension__ typedef unsigned long int __fsblkcnt_t;
147 __extension__ typedef __u_quad_t __fsblkcnt64_t;
148
149
150 __extension__ typedef unsigned long int __fsfilcnt_t;
151 __extension__ typedef __u_quad_t __fsfilcnt64_t;
152
153 __extension__ typedef long int __ssize_t;
154
155
156
157 typedef __off64_t __loff_t;
158 typedef __quad_t *__qaddr_t;
159 typedef char *__caddr_t;
160
161
162 __extension__ typedef int __intptr_t;
163
164
165 __extension__ typedef unsigned int __socklen_t;
166
167
168
169
170
171 typedef __kernel_ipc_pid_t __ipc_pid_t;
172
173
174
175 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 1 3 4
176 # 23 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 3 4
177 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 1 3 4
178 # 91 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 3 4
179 struct __sched_param
180 {
181 int __sched_priority;
182 };
183 # 24 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 2 3 4
184
185
186 struct _pthread_fastlock
187 {
188 long int __status;
189 int __spinlock;
190
191 };
192
193
194
195 typedef struct _pthread_descr_struct *_pthread_descr;
196
197
198
199
200
201 typedef struct __pthread_attr_s
202 {
203 int __detachstate;
204 int __schedpolicy;
205 struct __sched_param __schedparam;
206 int __inheritsched;
207 int __scope;
208 size_t __guardsize;
209 int __stackaddr_set;
210 void *__stackaddr;
211 size_t __stacksize;
212 } pthread_attr_t;
213
214
215
216 typedef struct
217 {
218 struct _pthread_fastlock __c_lock;
219 _pthread_descr __c_waiting;
220 } pthread_cond_t;
221
222
223
224 typedef struct
225 {
226 int __dummy;
227 } pthread_condattr_t;
228
229
230 typedef unsigned int pthread_key_t;
231
232
233
234
235
236 typedef struct
237 {
238 int __m_reserved;
239 int __m_count;
240 _pthread_descr __m_owner;
241 int __m_kind;
242 struct _pthread_fastlock __m_lock;
243 } pthread_mutex_t;
244
245
246
247 typedef struct
248 {
249 int __mutexkind;
250 } pthread_mutexattr_t;
251
252
253
254 typedef int pthread_once_t;
255 # 140 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 3 4
256 typedef unsigned long int pthread_t;
257 # 207 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/types.h" 2 3 4
258 # 37 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 2 3 4
259
260
261
262
263
264
265
266
267
268 typedef struct __STDIO_FILE_STRUCT FILE;
269
270
271
272
273
274 # 62 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
275 typedef struct __STDIO_FILE_STRUCT __FILE;
276 # 72 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
277 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 1 3 4
278 # 119 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
279 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_mutex.h" 1 3 4
280 # 15 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_mutex.h" 3 4
281 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 1 3 4
282 # 20 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
283 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sched.h" 1 3 4
284 # 29 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sched.h" 3 4
285 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 1 3 4
286 # 121 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
287 struct timespec
288 {
289 __time_t tv_sec;
290 long int tv_nsec;
291 };
292 # 30 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sched.h" 2 3 4
293
294
295 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 1 3 4
296 # 65 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 3 4
297 struct sched_param
298 {
299 int __sched_priority;
300 };
301
302
303
304
305
306 extern int clone (int (*__fn) (void *__arg), void *__child_stack,
307 int __flags, void *__arg, ...) __attribute__ ((__nothrow__));
308
309
310
311
312
313
314
315
316 # 106 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sched.h" 3 4
317 typedef unsigned long int __cpu_mask;
318
319
320
321
322
323
324 typedef struct
325 {
326 __cpu_mask __bits[1024 / (8 * sizeof (__cpu_mask))];
327 } cpu_set_t;
328 # 33 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sched.h" 2 3 4
329
330
331
332
333
334
335
336 extern int sched_setparam (__pid_t __pid, __const struct sched_param *__param)
337 __attribute__ ((__nothrow__));
338
339
340 extern int sched_getparam (__pid_t __pid, struct sched_param *__param) __attribute__ ((__nothrow__));
341
342
343 extern int sched_setscheduler (__pid_t __pid, int __policy,
344 __const struct sched_param *__param) __attribute__ ((__nothrow__));
345
346
347 extern int sched_getscheduler (__pid_t __pid) __attribute__ ((__nothrow__));
348
349
350 extern int sched_yield (void) __attribute__ ((__nothrow__));
351
352
353 extern int sched_get_priority_max (int __algorithm) __attribute__ ((__nothrow__));
354
355
356 extern int sched_get_priority_min (int __algorithm) __attribute__ ((__nothrow__));
357
358
359 extern int sched_rr_get_interval (__pid_t __pid, struct timespec *__t) __attribute__ ((__nothrow__));
360 # 84 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/sched.h" 3 4
361
362 # 21 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 2 3 4
363 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 1 3 4
364 # 31 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
365
366
367
368
369
370
371
372
373 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stddef.h" 1 3 4
374 # 40 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 2 3 4
375
376
377
378 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/time.h" 1 3 4
379 # 38 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/time.h" 3 4
380 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_clk_tck.h" 1 3 4
381 # 39 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/time.h" 2 3 4
382 # 44 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 2 3 4
383 # 59 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
384
385
386 typedef __clock_t clock_t;
387
388
389
390 # 75 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
391
392
393 typedef __time_t time_t;
394
395
396
397 # 93 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
398 typedef __clockid_t clockid_t;
399 # 105 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
400 typedef __timer_t timer_t;
401 # 132 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
402
403
404 struct tm
405 {
406 int tm_sec;
407 int tm_min;
408 int tm_hour;
409 int tm_mday;
410 int tm_mon;
411 int tm_year;
412 int tm_wday;
413 int tm_yday;
414 int tm_isdst;
415
416
417
418 long int tm_gmtoff;
419 __const char *tm_zone;
420
421
422
423
424
425 };
426
427
428
429
430
431
432
433
434 struct itimerspec
435 {
436 struct timespec it_interval;
437 struct timespec it_value;
438 };
439
440
441 struct sigevent;
442 # 183 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
443
444
445
446 extern clock_t clock (void) __attribute__ ((__nothrow__));
447
448
449 extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
450
451
452
453 extern double difftime (time_t __time1, time_t __time0)
454 __attribute__ ((__nothrow__)) __attribute__ ((__const__));
455
456
457
458 extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
459
460
461
462
463
464 extern size_t strftime (char *__restrict __s, size_t __maxsize,
465 __const char *__restrict __format,
466 __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
467
468 # 235 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
469
470
471
472 extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
473
474
475
476 extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
477
478
479
480
481
482 extern struct tm *gmtime_r (__const time_t *__restrict __timer,
483 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
484
485
486
487 extern struct tm *localtime_r (__const time_t *__restrict __timer,
488 struct tm *__restrict __tp) __attribute__ ((__nothrow__));
489
490
491
492
493
494 extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
495
496
497 extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
498
499
500
501
502
503
504
505 extern char *asctime_r (__const struct tm *__restrict __tp,
506 char *__restrict __buf) __attribute__ ((__nothrow__));
507
508
509 extern char *ctime_r (__const time_t *__restrict __timer,
510 char *__restrict __buf) __attribute__ ((__nothrow__));
511 # 291 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
512 extern char *tzname[2];
513
514
515
516 extern void tzset (void) __attribute__ ((__nothrow__));
517
518
519
520 extern int daylight;
521 extern long int timezone;
522
523
524
525
526
527 extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
528 # 321 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
529 extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
530
531
532 extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
533
534
535 extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
536 # 337 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
537 extern int nanosleep (__const struct timespec *__requested_time,
538 struct timespec *__remaining);
539
540
541
542 extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
543
544
545 extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
546
547
548 extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
549 __attribute__ ((__nothrow__));
550 # 369 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
551 extern int timer_create (clockid_t __clock_id,
552 struct sigevent *__restrict __evp,
553 timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
554
555
556 extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
557
558
559 extern int timer_settime (timer_t __timerid, int __flags,
560 __const struct itimerspec *__restrict __value,
561 struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
562
563
564 extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
565 __attribute__ ((__nothrow__));
566
567
568 extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
569 # 433 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/time.h" 3 4
570
571 # 22 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 2 3 4
572
573
574 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/signal.h" 1 3 4
575 # 31 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/signal.h" 3 4
576
577
578 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigset.h" 1 3 4
579 # 23 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigset.h" 3 4
580 typedef int __sig_atomic_t;
581
582
583
584
585 typedef struct
586 {
587 unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
588 } __sigset_t;
589 # 34 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/signal.h" 2 3 4
590 # 50 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/signal.h" 3 4
591 typedef __sigset_t sigset_t;
592 # 400 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/signal.h" 3 4
593
594 # 25 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 2 3 4
595 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/pthreadtypes.h" 1 3 4
596 # 26 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 2 3 4
597 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/initspin.h" 1 3 4
598 # 27 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 2 3 4
599
600
601
602 # 59 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
603 enum
604 {
605 PTHREAD_CREATE_JOINABLE,
606
607 PTHREAD_CREATE_DETACHED
608
609 };
610
611 enum
612 {
613 PTHREAD_INHERIT_SCHED,
614
615 PTHREAD_EXPLICIT_SCHED
616
617 };
618
619 enum
620 {
621 PTHREAD_SCOPE_SYSTEM,
622
623 PTHREAD_SCOPE_PROCESS
624
625 };
626
627 enum
628 {
629 PTHREAD_MUTEX_ADAPTIVE_NP,
630 PTHREAD_MUTEX_RECURSIVE_NP,
631 PTHREAD_MUTEX_ERRORCHECK_NP,
632 PTHREAD_MUTEX_TIMED_NP
633 # 100 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
634 };
635
636 enum
637 {
638 PTHREAD_PROCESS_PRIVATE,
639
640 PTHREAD_PROCESS_SHARED
641
642 };
643 # 131 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
644 struct _pthread_cleanup_buffer
645 {
646 void (*__routine) (void *);
647 void *__arg;
648 int __canceltype;
649 struct _pthread_cleanup_buffer *__prev;
650 };
651
652
653
654 enum
655 {
656 PTHREAD_CANCEL_ENABLE,
657
658 PTHREAD_CANCEL_DISABLE
659
660 };
661 enum
662 {
663 PTHREAD_CANCEL_DEFERRED,
664
665 PTHREAD_CANCEL_ASYNCHRONOUS
666
667 };
668 # 163 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
669 extern int pthread_create (pthread_t *__restrict __threadp,
670 __const pthread_attr_t *__restrict __attr,
671 void *(*__start_routine) (void *),
672 void *__restrict __arg) __attribute__ ((__nothrow__));
673
674
675 extern pthread_t pthread_self (void) __attribute__ ((__nothrow__));
676
677
678 extern int pthread_equal (pthread_t __thread1, pthread_t __thread2) __attribute__ ((__nothrow__));
679
680
681 extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__));
682
683
684
685
686 extern int pthread_join (pthread_t __th, void **__thread_return);
687
688
689
690
691
692 extern int pthread_detach (pthread_t __th) __attribute__ ((__nothrow__));
693
694
695
696
697
698
699
700 extern int pthread_attr_init (pthread_attr_t *__attr) __attribute__ ((__nothrow__));
701
702
703 extern int pthread_attr_destroy (pthread_attr_t *__attr) __attribute__ ((__nothrow__));
704
705
706 extern int pthread_attr_setdetachstate (pthread_attr_t *__attr,
707 int __detachstate) __attribute__ ((__nothrow__));
708
709
710 extern int pthread_attr_getdetachstate (__const pthread_attr_t *__attr,
711 int *__detachstate) __attribute__ ((__nothrow__));
712
713
714 extern int pthread_attr_setschedparam (pthread_attr_t *__restrict __attr,
715 __const struct sched_param *__restrict
716 __param) __attribute__ ((__nothrow__));
717
718
719 extern int pthread_attr_getschedparam (__const pthread_attr_t *__restrict
720 __attr,
721 struct sched_param *__restrict __param)
722 __attribute__ ((__nothrow__));
723
724
725 extern int pthread_attr_setschedpolicy (pthread_attr_t *__attr, int __policy)
726 __attribute__ ((__nothrow__));
727
728
729 extern int pthread_attr_getschedpolicy (__const pthread_attr_t *__restrict
730 __attr, int *__restrict __policy)
731 __attribute__ ((__nothrow__));
732
733
734 extern int pthread_attr_setinheritsched (pthread_attr_t *__attr,
735 int __inherit) __attribute__ ((__nothrow__));
736
737
738 extern int pthread_attr_getinheritsched (__const pthread_attr_t *__restrict
739 __attr, int *__restrict __inherit)
740 __attribute__ ((__nothrow__));
741
742
743 extern int pthread_attr_setscope (pthread_attr_t *__attr, int __scope)
744 __attribute__ ((__nothrow__));
745
746
747 extern int pthread_attr_getscope (__const pthread_attr_t *__restrict __attr,
748 int *__restrict __scope) __attribute__ ((__nothrow__));
749 # 259 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
750 extern int pthread_attr_setstackaddr (pthread_attr_t *__attr,
751 void *__stackaddr) __attribute__ ((__nothrow__));
752
753
754 extern int pthread_attr_getstackaddr (__const pthread_attr_t *__restrict
755 __attr, void **__restrict __stackaddr)
756 __attribute__ ((__nothrow__));
757 # 283 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
758 extern int pthread_attr_setstacksize (pthread_attr_t *__attr,
759 size_t __stacksize) __attribute__ ((__nothrow__));
760
761
762 extern int pthread_attr_getstacksize (__const pthread_attr_t *__restrict
763 __attr, size_t *__restrict __stacksize)
764 __attribute__ ((__nothrow__));
765 # 306 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
766 extern int pthread_setschedparam (pthread_t __target_thread, int __policy,
767 __const struct sched_param *__param)
768 __attribute__ ((__nothrow__));
769
770
771 extern int pthread_getschedparam (pthread_t __target_thread,
772 int *__restrict __policy,
773 struct sched_param *__restrict __param)
774 __attribute__ ((__nothrow__));
775 # 328 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
776 extern int pthread_mutex_init (pthread_mutex_t *__restrict __mutex,
777 __const pthread_mutexattr_t *__restrict
778 __mutex_attr) __attribute__ ((__nothrow__));
779
780
781 extern int pthread_mutex_destroy (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__));
782
783
784 extern int pthread_mutex_trylock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__));
785
786
787 extern int pthread_mutex_lock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__));
788 # 349 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
789 extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) __attribute__ ((__nothrow__));
790
791
792
793
794
795
796 extern int pthread_mutexattr_init (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__));
797
798
799 extern int pthread_mutexattr_destroy (pthread_mutexattr_t *__attr) __attribute__ ((__nothrow__));
800
801
802 extern int pthread_mutexattr_getpshared (__const pthread_mutexattr_t *
803 __restrict __attr,
804 int *__restrict __pshared) __attribute__ ((__nothrow__));
805
806
807 extern int pthread_mutexattr_setpshared (pthread_mutexattr_t *__attr,
808 int __pshared) __attribute__ ((__nothrow__));
809 # 387 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
810 extern int pthread_cond_init (pthread_cond_t *__restrict __cond,
811 __const pthread_condattr_t *__restrict
812 __cond_attr) __attribute__ ((__nothrow__));
813
814
815 extern int pthread_cond_destroy (pthread_cond_t *__cond) __attribute__ ((__nothrow__));
816
817
818 extern int pthread_cond_signal (pthread_cond_t *__cond) __attribute__ ((__nothrow__));
819
820
821 extern int pthread_cond_broadcast (pthread_cond_t *__cond) __attribute__ ((__nothrow__));
822
823
824
825 extern int pthread_cond_wait (pthread_cond_t *__restrict __cond,
826 pthread_mutex_t *__restrict __mutex);
827
828
829
830
831
832 extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond,
833 pthread_mutex_t *__restrict __mutex,
834 __const struct timespec *__restrict
835 __abstime);
836
837
838
839
840 extern int pthread_condattr_init (pthread_condattr_t *__attr) __attribute__ ((__nothrow__));
841
842
843 extern int pthread_condattr_destroy (pthread_condattr_t *__attr) __attribute__ ((__nothrow__));
844
845
846 extern int pthread_condattr_getpshared (__const pthread_condattr_t *
847 __restrict __attr,
848 int *__restrict __pshared) __attribute__ ((__nothrow__));
849
850
851 extern int pthread_condattr_setpshared (pthread_condattr_t *__attr,
852 int __pshared) __attribute__ ((__nothrow__));
853 # 557 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
854 extern int pthread_key_create (pthread_key_t *__key,
855 void (*__destr_function) (void *)) __attribute__ ((__nothrow__));
856
857
858 extern int pthread_key_delete (pthread_key_t __key) __attribute__ ((__nothrow__));
859
860
861 extern int pthread_setspecific (pthread_key_t __key,
862 __const void *__pointer) __attribute__ ((__nothrow__));
863
864
865 extern void *pthread_getspecific (pthread_key_t __key) __attribute__ ((__nothrow__));
866 # 580 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
867 extern int pthread_once (pthread_once_t *__once_control,
868 void (*__init_routine) (void));
869
870
871
872
873
874
875 extern int pthread_setcancelstate (int __state, int *__oldstate);
876
877
878
879 extern int pthread_setcanceltype (int __type, int *__oldtype);
880
881
882 extern int pthread_cancel (pthread_t __cancelthread);
883
884
885
886
887 extern void pthread_testcancel (void);
888 # 614 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
889 extern void _pthread_cleanup_push (struct _pthread_cleanup_buffer *__buffer,
890 void (*__routine) (void *),
891 void *__arg) __attribute__ ((__nothrow__));
892
893
894
895
896
897
898
899 extern void _pthread_cleanup_pop (struct _pthread_cleanup_buffer *__buffer,
900 int __execute) __attribute__ ((__nothrow__));
901 # 668 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
902 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigthread.h" 1 3 4
903 # 31 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/sigthread.h" 3 4
904 extern int pthread_sigmask (int __how,
905 __const __sigset_t *__restrict __newmask,
906 __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__));
907
908
909 extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__));
910 # 669 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 2 3 4
911 # 684 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/pthread.h" 3 4
912 extern int pthread_atfork (void (*__prepare) (void),
913 void (*__parent) (void),
914 void (*__child) (void)) __attribute__ ((__nothrow__));
915
916
917
918
919 extern void pthread_kill_other_threads_np (void) __attribute__ ((__nothrow__));
920
921
922 # 16 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_mutex.h" 2 3 4
923 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_pthread.h" 1 3 4
924 # 17 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_mutex.h" 2 3 4
925 # 120 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 2 3 4
926 # 170 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
927 typedef struct {
928 __off_t __pos;
929
930
931
932
933
934
935 } __STDIO_fpos_t;
936
937
938 typedef struct {
939 __off64_t __pos;
940
941
942
943
944
945
946 } __STDIO_fpos64_t;
947
948
949
950
951 typedef __off64_t __offmax_t;
952 # 233 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
953 struct __STDIO_FILE_STRUCT {
954 unsigned short __modeflags;
955
956
957
958
959
960
961
962 unsigned char __ungot[2];
963
964 int __filedes;
965
966 unsigned char *__bufstart;
967 unsigned char *__bufend;
968 unsigned char *__bufpos;
969 unsigned char *__bufread;
970
971
972 unsigned char *__bufgetc_u;
973
974
975 unsigned char *__bufputc_u;
976
977
978
979
980
981 struct __STDIO_FILE_STRUCT *__nextopen;
982 # 277 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
983 int __user_locking;
984 pthread_mutex_t __lock;
985
986
987
988
989
990 };
991 # 384 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
992 extern int __fgetc_unlocked(FILE *__stream);
993 extern int __fputc_unlocked(int __c, FILE *__stream);
994 # 404 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
995 extern FILE *__stdin;
996 # 463 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/uClibc_stdio.h" 3 4
997 extern FILE *__stdout;
998 # 73 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 2 3 4
999
1000
1001
1002 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stdarg.h" 1 3 4
1003 # 43 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.1.2/include/stdarg.h" 3 4
1004 typedef __builtin_va_list __gnuc_va_list;
1005 # 77 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 2 3 4
1006
1007
1008
1009
1010 typedef __STDIO_fpos_t fpos_t;
1011
1012
1013
1014
1015 # 131 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1016 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/bits/stdio_lim.h" 1 3 4
1017 # 132 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 2 3 4
1018
1019
1020
1021 extern FILE *stdin;
1022 extern FILE *stdout;
1023 extern FILE *stderr;
1024
1025
1026
1027
1028
1029
1030
1031 extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
1032
1033 extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043 extern FILE *tmpfile (void) ;
1044 # 171 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1045 extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) ;
1046
1047
1048
1049
1050
1051 extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) ;
1052 # 189 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1053 extern char *tempnam (__const char *__dir, __const char *__pfx)
1054 __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) ;
1055
1056
1057
1058
1059
1060
1061
1062
1063 extern int fclose (FILE *__stream);
1064
1065
1066
1067
1068 extern int fflush (FILE *__stream);
1069
1070 # 214 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1071 extern int fflush_unlocked (FILE *__stream);
1072 # 228 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1073
1074
1075
1076
1077
1078
1079 extern FILE *fopen (__const char *__restrict __filename,
1080 __const char *__restrict __modes) ;
1081
1082
1083
1084
1085 extern FILE *freopen (__const char *__restrict __filename,
1086 __const char *__restrict __modes,
1087 FILE *__restrict __stream) ;
1088 # 257 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1089
1090 # 268 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1091 extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) ;
1092 # 292 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1093
1094
1095
1096 extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
1097
1098
1099
1100 extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
1101 int __modes, size_t __n) __attribute__ ((__nothrow__));
1102
1103
1104
1105
1106
1107 extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
1108 size_t __size) __attribute__ ((__nothrow__));
1109
1110
1111 extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
1112
1113
1114
1115
1116
1117
1118
1119
1120 extern int fprintf (FILE *__restrict __stream,
1121 __const char *__restrict __format, ...);
1122
1123
1124
1125
1126 extern int printf (__const char *__restrict __format, ...);
1127
1128 extern int sprintf (char *__restrict __s,
1129 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
1130
1131
1132
1133
1134
1135 extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
1136 __gnuc_va_list __arg);
1137
1138
1139
1140
1141 extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
1142
1143 extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
1144 __gnuc_va_list __arg) __attribute__ ((__nothrow__));
1145
1146
1147
1148
1149
1150 extern int snprintf (char *__restrict __s, size_t __maxlen,
1151 __const char *__restrict __format, ...)
1152 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
1153
1154 extern int vsnprintf (char *__restrict __s, size_t __maxlen,
1155 __const char *__restrict __format, __gnuc_va_list __arg)
1156 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
1157
1158 # 388 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1159
1160
1161
1162
1163
1164 extern int fscanf (FILE *__restrict __stream,
1165 __const char *__restrict __format, ...) ;
1166
1167
1168
1169
1170 extern int scanf (__const char *__restrict __format, ...) ;
1171
1172 extern int sscanf (__const char *__restrict __s,
1173 __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
1174
1175
1176
1177
1178
1179
1180
1181
1182 extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
1183 __gnuc_va_list __arg)
1184 __attribute__ ((__format__ (__scanf__, 2, 0))) ;
1185
1186
1187
1188
1189
1190 extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
1191 __attribute__ ((__format__ (__scanf__, 1, 0))) ;
1192
1193
1194 extern int vsscanf (__const char *__restrict __s,
1195 __const char *__restrict __format, __gnuc_va_list __arg)
1196 __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206 extern int fgetc (FILE *__stream);
1207 extern int getc (FILE *__stream);
1208
1209
1210
1211
1212
1213 extern int getchar (void);
1214
1215 # 454 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1216 extern int getc_unlocked (FILE *__stream);
1217 extern int getchar_unlocked (void);
1218 # 468 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1219 extern int fgetc_unlocked (FILE *__stream);
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231 extern int fputc (int __c, FILE *__stream);
1232 extern int putc (int __c, FILE *__stream);
1233
1234
1235
1236
1237
1238 extern int putchar (int __c);
1239
1240 # 501 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1241 extern int fputc_unlocked (int __c, FILE *__stream);
1242
1243
1244
1245
1246
1247
1248
1249 extern int putc_unlocked (int __c, FILE *__stream);
1250 extern int putchar_unlocked (int __c);
1251 # 520 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1252 extern int getw (FILE *__stream);
1253
1254
1255 extern int putw (int __w, FILE *__stream);
1256
1257
1258
1259
1260
1261
1262
1263
1264 extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
1265 ;
1266
1267
1268
1269
1270
1271
1272 extern char *gets (char *__s) ;
1273
1274 # 587 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1275
1276
1277
1278
1279
1280 extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
1281
1282
1283
1284
1285
1286 extern int puts (__const char *__s);
1287
1288
1289
1290
1291
1292
1293 extern int ungetc (int __c, FILE *__stream);
1294
1295
1296
1297
1298
1299
1300 extern size_t fread (void *__restrict __ptr, size_t __size,
1301 size_t __n, FILE *__restrict __stream) ;
1302
1303
1304
1305
1306 extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
1307 size_t __n, FILE *__restrict __s) ;
1308
1309 # 640 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1310 extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
1311 size_t __n, FILE *__restrict __stream) ;
1312 extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
1313 size_t __n, FILE *__restrict __stream) ;
1314
1315
1316
1317
1318
1319
1320
1321
1322 extern int fseek (FILE *__stream, long int __off, int __whence);
1323
1324
1325
1326
1327 extern long int ftell (FILE *__stream) ;
1328
1329
1330
1331
1332 extern void rewind (FILE *__stream);
1333
1334 # 695 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1335
1336
1337
1338
1339
1340
1341 extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
1342
1343
1344
1345
1346 extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
1347 # 718 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1348
1349 # 727 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1350
1351
1352 extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
1353
1354 extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) ;
1355
1356 extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) ;
1357
1358
1359
1360
1361 extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
1362 extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
1363 extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
1364
1365
1366
1367
1368
1369
1370
1371
1372 extern void perror (__const char *__s);
1373
1374 # 764 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1375 extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
1376
1377
1378
1379
1380 extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
1381 # 779 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1382 extern FILE *popen (__const char *__command, __const char *__modes) ;
1383
1384
1385
1386
1387
1388 extern int pclose (FILE *__stream);
1389
1390
1391
1392
1393
1394 extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
1395 # 819 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1396 extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
1397
1398
1399
1400 extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) ;
1401
1402
1403 extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
1404 # 873 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/stdio.h" 3 4
1405
1406 # 2 "test_builtin_func.c" 2
1407 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/r2x16_base.h" 1 3 4
1408
1409
1410 #pragma system_header
1411 # 25 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/r2x16_base.h" 3 4
1412 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/r2x16_typedef.h" 1 3 4
1413
1414
1415 #pragma system_header
1416 # 25 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/r2x16_typedef.h" 3 4
1417 # 1 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/raw_typedef.h" 1 3 4
1418
1419
1420 #pragma system_header
1421 # 25 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/raw_typedef.h" 3 4
1422 typedef char _raw8;
1423 typedef short _raw16;
1424 typedef int _raw32;
1425
1426 typedef short __v2hi __attribute__ ((vector_size (4)));
1427 # 26 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/r2x16_typedef.h" 2 3 4
1428
1429
1430 typedef __v2hi raw2x16;
1431 # 26 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/r2x16_base.h" 2 3 4
1432 # 41 "/home/aga/try/git-bfin-test/bfin-linux-uclibc/bfin-linux-uclibc/runtime/usr/include/r2x16_base.h" 3 4
1433 __inline__
1434 __attribute__ ((always_inline))
1435 static raw2x16 compose_2x16(_raw16 _x, _raw16 _y) {
1436 return __builtin_bfin_compose_2x16(_x, _y);
1437 }
1438 __inline__
1439 __attribute__ ((always_inline))
1440 static _raw16 high_of_2x16(raw2x16 _x) {
1441 return __builtin_bfin_extract_hi(_x);
1442 }
1443 __inline__
1444 __attribute__ ((always_inline))
1445 static _raw16 low_of_2x16(raw2x16 _x) {
1446 return __builtin_bfin_extract_lo(_x);
1447 }
1448 # 3 "test_builtin_func.c" 2
1449
1450 int main (int argc, char *argv[])
1451 {
1452 raw2x16 a = compose_2x16(2, 3);
1453 raw2x16 b = compose_2x16(4, 5);
1454
1455 int z = __builtin_bfin_mulhisilh(a, b);
1456 printf("z=%d\n", z);
1457
1458 return 0;
1459 }