| author | |
| committer | |
| log | d3cf040c900c14feec427f3835f247b6a4c616bb |
| tree | 37b4ec4a4409f96627a307d6432e0196ee5f6056 |
| parent | 9a18db8a80c96d206297e865d203b2a7d8a803ba |
| parent | b21ad07767822070903633476f74f167c1793758 |
| signature |
closes #309894 files changed, 2005 insertions(+), 2036 deletions(-)
lib/libc/glibc/abi.txt+330| ... | ... | @@ -514,6 +514,7 @@ aarch64-linux-gnu aarch64_be-linux-gnu |
| 514 | 514 | 29 |
| 515 | 515 | 29 |
| 516 | 516 | 29 |
| 517 | ||
| 517 | 518 | 29 |
| 518 | 519 | |
| 519 | 520 | 29 |
| ... | ... | @@ -655,6 +656,18 @@ aarch64-linux-gnu aarch64_be-linux-gnu |
| 655 | 656 | |
| 656 | 657 | |
| 657 | 658 | |
| 659 | ||
| 660 | ||
| 661 | ||
| 662 | ||
| 663 | ||
| 664 | ||
| 665 | ||
| 666 | ||
| 667 | ||
| 668 | ||
| 669 | ||
| 670 | ||
| 658 | 671 | |
| 659 | 672 | |
| 660 | 673 | |
| ... | ... | @@ -1928,6 +1941,7 @@ aarch64-linux-gnu aarch64_be-linux-gnu |
| 1928 | 1941 | 29 |
| 1929 | 1942 | 29 |
| 1930 | 1943 | 29 |
| 1944 | 40 | |
| 1931 | 1945 | 29 |
| 1932 | 1946 | 29 |
| 1933 | 1947 | 29 |
| ... | ... | @@ -2048,6 +2062,7 @@ aarch64-linux-gnu aarch64_be-linux-gnu |
| 2048 | 2062 | 29 |
| 2049 | 2063 | 29 |
| 2050 | 2064 | 29 |
| 2065 | 40 | |
| 2051 | 2066 | 29 |
| 2052 | 2067 | 29 |
| 2053 | 2068 | 29 |
| ... | ... | @@ -2721,6 +2736,7 @@ aarch64-linux-gnu aarch64_be-linux-gnu |
| 2721 | 2736 | 29 |
| 2722 | 2737 | 29 |
| 2723 | 2738 | 29 |
| 2739 | 40 | |
| 2724 | 2740 | 29 |
| 2725 | 2741 | 29 |
| 2726 | 2742 | 29 |
| ... | ... | @@ -2749,6 +2765,7 @@ aarch64-linux-gnu aarch64_be-linux-gnu |
| 2749 | 2765 | 29 |
| 2750 | 2766 | 29 |
| 2751 | 2767 | 29 |
| 2768 | 40 | |
| 2752 | 2769 | 29 |
| 2753 | 2770 | 29 |
| 2754 | 2771 | 29 |
| ... | ... | @@ -2776,6 +2793,8 @@ aarch64-linux-gnu aarch64_be-linux-gnu |
| 2776 | 2793 | 29 |
| 2777 | 2794 | 29 |
| 2778 | 2795 | 29 |
| 2796 | 40 | |
| 2797 | 40 | |
| 2779 | 2798 | 29 |
| 2780 | 2799 | 29 |
| 2781 | 2800 | 29 |
| ... | ... | @@ -3002,6 +3021,7 @@ aarch64-linux-gnu aarch64_be-linux-gnu |
| 3002 | 3021 | 29 |
| 3003 | 3022 | 29 |
| 3004 | 3023 | 29 |
| 3024 | 40 | |
| 3005 | 3025 | 29 |
| 3006 | 3026 | 29 |
| 3007 | 3027 | 29 |
| ... | ... | @@ -3370,6 +3390,7 @@ aarch64-linux-gnu aarch64_be-linux-gnu |
| 3370 | 3390 | 37 |
| 3371 | 3391 | 37 |
| 3372 | 3392 | 29 |
| 3393 | 40 | |
| 3373 | 3394 | 38 |
| 3374 | 3395 | 38 |
| 3375 | 3396 | 38 |
| ... | ... | @@ -3443,6 +3464,7 @@ aarch64-linux-gnu aarch64_be-linux-gnu |
| 3443 | 3464 | 29 |
| 3444 | 3465 | 29 |
| 3445 | 3466 | 29 |
| 3467 | 40 | |
| 3446 | 3468 | 29 |
| 3447 | 3469 | 29 |
| 3448 | 3470 | 29 |
| ... | ... | @@ -4218,6 +4240,7 @@ s390x-linux-gnu |
| 4218 | 4240 | 5 |
| 4219 | 4241 | 5 |
| 4220 | 4242 | 5 |
| 4243 | ||
| 4221 | 4244 | 27 |
| 4222 | 4245 | |
| 4223 | 4246 | 27 |
| ... | ... | @@ -4330,12 +4353,18 @@ s390x-linux-gnu |
| 4330 | 4353 | 16 |
| 4331 | 4354 | 16 |
| 4332 | 4355 | 16 |
| 4356 | 40 | |
| 4357 | 40 | |
| 4333 | 4358 | 16 |
| 4334 | 4359 | 38 |
| 4335 | 4360 | 38 |
| 4336 | 4361 | 38 |
| 4337 | 4362 | 16 |
| 4338 | 4363 | 38 |
| 4364 | 40 | |
| 4365 | 40 | |
| 4366 | 40 | |
| 4367 | 40 | |
| 4339 | 4368 | 16 |
| 4340 | 4369 | 16 |
| 4341 | 4370 | 16 |
| ... | ... | @@ -4356,6 +4385,8 @@ s390x-linux-gnu |
| 4356 | 4385 | 16 |
| 4357 | 4386 | 16 |
| 4358 | 4387 | 16 |
| 4388 | 40 | |
| 4389 | 40 | |
| 4359 | 4390 | 16 |
| 4360 | 4391 | 16 |
| 4361 | 4392 | 16 |
| ... | ... | @@ -4368,8 +4399,12 @@ s390x-linux-gnu |
| 4368 | 4399 | 16 |
| 4369 | 4400 | 16 |
| 4370 | 4401 | 16 |
| 4402 | 40 | |
| 4403 | 40 | |
| 4371 | 4404 | 16 |
| 4372 | 4405 | 16 |
| 4406 | 40 | |
| 4407 | 40 | |
| 4373 | 4408 | 16 |
| 4374 | 4409 | 16 |
| 4375 | 4410 | 5 |
| ... | ... | @@ -5632,6 +5667,7 @@ s390x-linux-gnu |
| 5632 | 5667 | 5 |
| 5633 | 5668 | 5 |
| 5634 | 5669 | 5 |
| 5670 | 40 | |
| 5635 | 5671 | 5 |
| 5636 | 5672 | 5 |
| 5637 | 5673 | 5 |
| ... | ... | @@ -5752,6 +5788,7 @@ s390x-linux-gnu |
| 5752 | 5788 | 5 |
| 5753 | 5789 | 5 |
| 5754 | 5790 | 5 |
| 5791 | 40 | |
| 5755 | 5792 | 5 |
| 5756 | 5793 | 5 |
| 5757 | 5794 | 5 |
| ... | ... | @@ -6425,6 +6462,7 @@ s390x-linux-gnu |
| 6425 | 6462 | 5 |
| 6426 | 6463 | 5 |
| 6427 | 6464 | 5 13 |
| 6465 | 40 | |
| 6428 | 6466 | 5 13 |
| 6429 | 6467 | 5 13 |
| 6430 | 6468 | 5 13 |
| ... | ... | @@ -6453,6 +6491,7 @@ s390x-linux-gnu |
| 6453 | 6491 | 5 |
| 6454 | 6492 | 5 |
| 6455 | 6493 | 5 |
| 6494 | 40 | |
| 6456 | 6495 | 24 |
| 6457 | 6496 | 16 |
| 6458 | 6497 | 5 |
| ... | ... | @@ -6480,6 +6519,8 @@ s390x-linux-gnu |
| 6480 | 6519 | 16 |
| 6481 | 6520 | 5 |
| 6482 | 6521 | 5 |
| 6522 | 40 | |
| 6523 | 40 | |
| 6483 | 6524 | 5 |
| 6484 | 6525 | 5 |
| 6485 | 6526 | 5 |
| ... | ... | @@ -6706,6 +6747,7 @@ s390x-linux-gnu |
| 6706 | 6747 | 5 |
| 6707 | 6748 | 5 |
| 6708 | 6749 | 5 |
| 6750 | 40 | |
| 6709 | 6751 | 5 |
| 6710 | 6752 | 5 |
| 6711 | 6753 | 5 |
| ... | ... | @@ -7074,6 +7116,7 @@ s390x-linux-gnu |
| 7074 | 7116 | 37 |
| 7075 | 7117 | 37 |
| 7076 | 7118 | 5 16 |
| 7119 | 40 | |
| 7077 | 7120 | 38 |
| 7078 | 7121 | 38 |
| 7079 | 7122 | 38 |
| ... | ... | @@ -7147,6 +7190,7 @@ s390x-linux-gnu |
| 7147 | 7190 | 5 |
| 7148 | 7191 | 5 |
| 7149 | 7192 | 5 |
| 7193 | 40 | |
| 7150 | 7194 | 5 |
| 7151 | 7195 | 5 |
| 7152 | 7196 | 5 |
| ... | ... | @@ -7922,6 +7966,7 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf |
| 7922 | 7966 | 16 |
| 7923 | 7967 | 16 |
| 7924 | 7968 | 16 |
| 7969 | ||
| 7925 | 7970 | 27 |
| 7926 | 7971 | |
| 7927 | 7972 | 27 |
| ... | ... | @@ -8063,6 +8108,18 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf |
| 8063 | 8108 | |
| 8064 | 8109 | |
| 8065 | 8110 | |
| 8111 | ||
| 8112 | ||
| 8113 | ||
| 8114 | ||
| 8115 | ||
| 8116 | ||
| 8117 | ||
| 8118 | ||
| 8119 | ||
| 8120 | ||
| 8121 | ||
| 8122 | ||
| 8066 | 8123 | |
| 8067 | 8124 | |
| 8068 | 8125 | |
| ... | ... | @@ -9336,6 +9393,7 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf |
| 9336 | 9393 | 16 |
| 9337 | 9394 | 16 |
| 9338 | 9395 | 16 |
| 9396 | 40 | |
| 9339 | 9397 | 16 |
| 9340 | 9398 | 16 |
| 9341 | 9399 | 16 |
| ... | ... | @@ -9456,6 +9514,7 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf |
| 9456 | 9514 | 16 |
| 9457 | 9515 | 16 |
| 9458 | 9516 | 16 |
| 9517 | 40 | |
| 9459 | 9518 | 16 |
| 9460 | 9519 | 16 |
| 9461 | 9520 | 16 |
| ... | ... | @@ -10129,6 +10188,7 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf |
| 10129 | 10188 | 16 |
| 10130 | 10189 | 16 |
| 10131 | 10190 | 16 |
| 10191 | 40 | |
| 10132 | 10192 | 16 |
| 10133 | 10193 | 16 |
| 10134 | 10194 | 16 |
| ... | ... | @@ -10157,6 +10217,7 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf |
| 10157 | 10217 | 16 |
| 10158 | 10218 | 16 |
| 10159 | 10219 | 16 |
| 10220 | 40 | |
| 10160 | 10221 | 24 |
| 10161 | 10222 | 16 |
| 10162 | 10223 | 16 |
| ... | ... | @@ -10184,6 +10245,8 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf |
| 10184 | 10245 | 16 |
| 10185 | 10246 | 16 |
| 10186 | 10247 | 16 |
| 10248 | 40 | |
| 10249 | 40 | |
| 10187 | 10250 | 16 |
| 10188 | 10251 | 16 |
| 10189 | 10252 | 16 |
| ... | ... | @@ -10410,6 +10473,7 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf |
| 10410 | 10473 | 16 |
| 10411 | 10474 | 16 |
| 10412 | 10475 | 16 |
| 10476 | 40 | |
| 10413 | 10477 | 16 |
| 10414 | 10478 | 16 |
| 10415 | 10479 | 16 |
| ... | ... | @@ -10778,6 +10842,7 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf |
| 10778 | 10842 | 37 |
| 10779 | 10843 | |
| 10780 | 10844 | 16 |
| 10845 | 40 | |
| 10781 | 10846 | 38 |
| 10782 | 10847 | 38 |
| 10783 | 10848 | 38 |
| ... | ... | @@ -10851,6 +10916,7 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf |
| 10851 | 10916 | 16 |
| 10852 | 10917 | 16 |
| 10853 | 10918 | 16 |
| 10919 | 40 | |
| 10854 | 10920 | 16 |
| 10855 | 10921 | 16 |
| 10856 | 10922 | 16 |
| ... | ... | @@ -11626,6 +11692,7 @@ sparc-linux-gnu sparcel-linux-gnu |
| 11626 | 11692 | 1 |
| 11627 | 11693 | 0 |
| 11628 | 11694 | 0 |
| 11695 | 3 | |
| 11629 | 11696 | 27 |
| 11630 | 11697 | |
| 11631 | 11698 | 27 |
| ... | ... | @@ -11738,12 +11805,18 @@ sparc-linux-gnu sparcel-linux-gnu |
| 11738 | 11805 | 16 |
| 11739 | 11806 | 16 |
| 11740 | 11807 | 16 |
| 11808 | 40 | |
| 11809 | 40 | |
| 11741 | 11810 | 16 |
| 11742 | 11811 | 38 |
| 11743 | 11812 | 38 |
| 11744 | 11813 | 38 |
| 11745 | 11814 | 16 |
| 11746 | 11815 | 38 |
| 11816 | 40 | |
| 11817 | 40 | |
| 11818 | 40 | |
| 11819 | 40 | |
| 11747 | 11820 | 16 |
| 11748 | 11821 | 16 |
| 11749 | 11822 | 16 |
| ... | ... | @@ -11764,6 +11837,8 @@ sparc-linux-gnu sparcel-linux-gnu |
| 11764 | 11837 | 16 |
| 11765 | 11838 | 16 |
| 11766 | 11839 | 16 |
| 11840 | 40 | |
| 11841 | 40 | |
| 11767 | 11842 | 16 |
| 11768 | 11843 | 16 |
| 11769 | 11844 | 16 |
| ... | ... | @@ -11776,8 +11851,12 @@ sparc-linux-gnu sparcel-linux-gnu |
| 11776 | 11851 | 16 |
| 11777 | 11852 | 16 |
| 11778 | 11853 | 16 |
| 11854 | 40 | |
| 11855 | 40 | |
| 11779 | 11856 | 16 |
| 11780 | 11857 | 16 |
| 11858 | 40 | |
| 11859 | 40 | |
| 11781 | 11860 | 16 |
| 11782 | 11861 | 16 |
| 11783 | 11862 | 0 |
| ... | ... | @@ -13040,6 +13119,7 @@ sparc-linux-gnu sparcel-linux-gnu |
| 13040 | 13119 | 1 |
| 13041 | 13120 | 1 |
| 13042 | 13121 | 0 |
| 13122 | 40 | |
| 13043 | 13123 | 0 |
| 13044 | 13124 | 5 |
| 13045 | 13125 | 0 |
| ... | ... | @@ -13160,6 +13240,7 @@ sparc-linux-gnu sparcel-linux-gnu |
| 13160 | 13240 | 0 3 |
| 13161 | 13241 | 0 |
| 13162 | 13242 | 0 |
| 13243 | 40 | |
| 13163 | 13244 | 0 |
| 13164 | 13245 | 0 |
| 13165 | 13246 | 0 |
| ... | ... | @@ -13833,6 +13914,7 @@ sparc-linux-gnu sparcel-linux-gnu |
| 13833 | 13914 | 5 |
| 13834 | 13915 | 0 |
| 13835 | 13916 | 0 13 |
| 13917 | 40 | |
| 13836 | 13918 | 0 13 |
| 13837 | 13919 | 0 13 |
| 13838 | 13920 | 0 13 |
| ... | ... | @@ -13861,6 +13943,7 @@ sparc-linux-gnu sparcel-linux-gnu |
| 13861 | 13943 | 0 |
| 13862 | 13944 | 0 |
| 13863 | 13945 | 0 |
| 13946 | 40 | |
| 13864 | 13947 | 24 |
| 13865 | 13948 | 16 |
| 13866 | 13949 | 0 |
| ... | ... | @@ -13888,6 +13971,8 @@ sparc-linux-gnu sparcel-linux-gnu |
| 13888 | 13971 | 16 |
| 13889 | 13972 | 1 |
| 13890 | 13973 | 0 |
| 13974 | 40 | |
| 13975 | 40 | |
| 13891 | 13976 | 1 |
| 13892 | 13977 | 1 |
| 13893 | 13978 | 1 |
| ... | ... | @@ -14114,6 +14199,7 @@ sparc-linux-gnu sparcel-linux-gnu |
| 14114 | 14199 | 0 |
| 14115 | 14200 | 0 |
| 14116 | 14201 | 0 |
| 14202 | 40 | |
| 14117 | 14203 | 2 |
| 14118 | 14204 | 0 1 |
| 14119 | 14205 | 0 1 |
| ... | ... | @@ -14482,6 +14568,7 @@ sparc-linux-gnu sparcel-linux-gnu |
| 14482 | 14568 | 37 |
| 14483 | 14569 | 37 |
| 14484 | 14570 | 1 16 |
| 14571 | 40 | |
| 14485 | 14572 | 38 |
| 14486 | 14573 | 38 |
| 14487 | 14574 | 38 |
| ... | ... | @@ -14555,6 +14642,7 @@ sparc-linux-gnu sparcel-linux-gnu |
| 14555 | 14642 | 0 |
| 14556 | 14643 | 0 |
| 14557 | 14644 | 0 |
| 14645 | 40 | |
| 14558 | 14646 | 0 |
| 14559 | 14647 | 0 |
| 14560 | 14648 | 0 |
| ... | ... | @@ -15330,6 +15418,7 @@ sparcv9-linux-gnu |
| 15330 | 15418 | 5 |
| 15331 | 15419 | 5 |
| 15332 | 15420 | 5 |
| 15421 | ||
| 15333 | 15422 | 27 |
| 15334 | 15423 | |
| 15335 | 15424 | 27 |
| ... | ... | @@ -15471,6 +15560,18 @@ sparcv9-linux-gnu |
| 15471 | 15560 | |
| 15472 | 15561 | |
| 15473 | 15562 | |
| 15563 | ||
| 15564 | ||
| 15565 | ||
| 15566 | ||
| 15567 | ||
| 15568 | ||
| 15569 | ||
| 15570 | ||
| 15571 | ||
| 15572 | ||
| 15573 | ||
| 15574 | ||
| 15474 | 15575 | |
| 15475 | 15576 | |
| 15476 | 15577 | |
| ... | ... | @@ -16744,6 +16845,7 @@ sparcv9-linux-gnu |
| 16744 | 16845 | 5 |
| 16745 | 16846 | 5 |
| 16746 | 16847 | 5 |
| 16848 | 40 | |
| 16747 | 16849 | 5 |
| 16748 | 16850 | 5 |
| 16749 | 16851 | 5 |
| ... | ... | @@ -16864,6 +16966,7 @@ sparcv9-linux-gnu |
| 16864 | 16966 | 5 |
| 16865 | 16967 | 5 |
| 16866 | 16968 | 5 |
| 16969 | 40 | |
| 16867 | 16970 | 5 |
| 16868 | 16971 | 5 |
| 16869 | 16972 | 5 |
| ... | ... | @@ -17537,6 +17640,7 @@ sparcv9-linux-gnu |
| 17537 | 17640 | 5 |
| 17538 | 17641 | 5 |
| 17539 | 17642 | 5 13 |
| 17643 | 40 | |
| 17540 | 17644 | 5 13 |
| 17541 | 17645 | 5 13 |
| 17542 | 17646 | 5 13 |
| ... | ... | @@ -17565,6 +17669,7 @@ sparcv9-linux-gnu |
| 17565 | 17669 | 5 |
| 17566 | 17670 | 5 |
| 17567 | 17671 | 5 |
| 17672 | 40 | |
| 17568 | 17673 | 24 |
| 17569 | 17674 | 16 |
| 17570 | 17675 | 5 |
| ... | ... | @@ -17592,6 +17697,8 @@ sparcv9-linux-gnu |
| 17592 | 17697 | 16 |
| 17593 | 17698 | 5 |
| 17594 | 17699 | 5 |
| 17700 | 40 | |
| 17701 | 40 | |
| 17595 | 17702 | 5 |
| 17596 | 17703 | 5 |
| 17597 | 17704 | 5 |
| ... | ... | @@ -17818,6 +17925,7 @@ sparcv9-linux-gnu |
| 17818 | 17925 | 5 |
| 17819 | 17926 | 5 |
| 17820 | 17927 | 5 |
| 17928 | 40 | |
| 17821 | 17929 | 5 |
| 17822 | 17930 | 5 |
| 17823 | 17931 | 5 |
| ... | ... | @@ -18186,6 +18294,7 @@ sparcv9-linux-gnu |
| 18186 | 18294 | 37 |
| 18187 | 18295 | 37 |
| 18188 | 18296 | 5 |
| 18297 | 40 | |
| 18189 | 18298 | 38 |
| 18190 | 18299 | 38 |
| 18191 | 18300 | 38 |
| ... | ... | @@ -18259,6 +18368,7 @@ sparcv9-linux-gnu |
| 18259 | 18368 | 5 |
| 18260 | 18369 | 5 |
| 18261 | 18370 | 5 |
| 18371 | 40 | |
| 18262 | 18372 | 5 |
| 18263 | 18373 | 5 |
| 18264 | 18374 | 5 |
| ... | ... | @@ -19034,6 +19144,7 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 19034 | 19144 | 5 |
| 19035 | 19145 | 0 |
| 19036 | 19146 | 0 |
| 19147 | ||
| 19037 | 19148 | 27 |
| 19038 | 19149 | |
| 19039 | 19150 | 27 |
| ... | ... | @@ -19175,6 +19286,18 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 19175 | 19286 | |
| 19176 | 19287 | |
| 19177 | 19288 | |
| 19289 | ||
| 19290 | ||
| 19291 | ||
| 19292 | ||
| 19293 | ||
| 19294 | ||
| 19295 | ||
| 19296 | ||
| 19297 | ||
| 19298 | ||
| 19299 | ||
| 19300 | ||
| 19178 | 19301 | |
| 19179 | 19302 | |
| 19180 | 19303 | |
| ... | ... | @@ -20448,6 +20571,7 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 20448 | 20571 | 5 |
| 20449 | 20572 | 5 |
| 20450 | 20573 | 0 |
| 20574 | 40 | |
| 20451 | 20575 | 0 |
| 20452 | 20576 | 5 |
| 20453 | 20577 | 0 |
| ... | ... | @@ -20568,6 +20692,7 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 20568 | 20692 | 0 5 |
| 20569 | 20693 | 0 |
| 20570 | 20694 | 0 |
| 20695 | 40 | |
| 20571 | 20696 | 0 |
| 20572 | 20697 | 0 |
| 20573 | 20698 | 0 |
| ... | ... | @@ -21241,6 +21366,7 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 21241 | 21366 | 5 |
| 21242 | 21367 | 0 |
| 21243 | 21368 | 0 13 |
| 21369 | 40 | |
| 21244 | 21370 | 0 13 |
| 21245 | 21371 | 0 13 |
| 21246 | 21372 | 0 13 |
| ... | ... | @@ -21269,6 +21395,7 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 21269 | 21395 | 0 |
| 21270 | 21396 | 0 |
| 21271 | 21397 | 0 |
| 21398 | 40 | |
| 21272 | 21399 | 24 |
| 21273 | 21400 | 16 |
| 21274 | 21401 | 0 |
| ... | ... | @@ -21296,6 +21423,8 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 21296 | 21423 | 16 |
| 21297 | 21424 | 5 |
| 21298 | 21425 | 0 |
| 21426 | 40 | |
| 21427 | 40 | |
| 21299 | 21428 | 5 |
| 21300 | 21429 | 5 |
| 21301 | 21430 | 5 |
| ... | ... | @@ -21522,6 +21651,7 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 21522 | 21651 | 0 |
| 21523 | 21652 | 0 |
| 21524 | 21653 | 0 |
| 21654 | 40 | |
| 21525 | 21655 | 5 |
| 21526 | 21656 | 0 5 |
| 21527 | 21657 | 0 5 |
| ... | ... | @@ -21890,6 +22020,7 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 21890 | 22020 | 37 |
| 21891 | 22021 | 37 |
| 21892 | 22022 | 5 |
| 22023 | 40 | |
| 21893 | 22024 | 38 |
| 21894 | 22025 | 38 |
| 21895 | 22026 | 38 |
| ... | ... | @@ -21963,6 +22094,7 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 21963 | 22094 | 0 |
| 21964 | 22095 | 0 |
| 21965 | 22096 | 0 |
| 22097 | 40 | |
| 21966 | 22098 | 0 |
| 21967 | 22099 | 0 |
| 21968 | 22100 | 0 |
| ... | ... | @@ -22738,6 +22870,7 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 22738 | 22870 | 5 |
| 22739 | 22871 | 0 |
| 22740 | 22872 | 0 |
| 22873 | ||
| 22741 | 22874 | 27 |
| 22742 | 22875 | |
| 22743 | 22876 | 27 |
| ... | ... | @@ -22879,6 +23012,18 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 22879 | 23012 | |
| 22880 | 23013 | |
| 22881 | 23014 | |
| 23015 | ||
| 23016 | ||
| 23017 | ||
| 23018 | ||
| 23019 | ||
| 23020 | ||
| 23021 | ||
| 23022 | ||
| 23023 | ||
| 23024 | ||
| 23025 | ||
| 23026 | ||
| 22882 | 23027 | |
| 22883 | 23028 | |
| 22884 | 23029 | |
| ... | ... | @@ -24152,6 +24297,7 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 24152 | 24297 | 5 |
| 24153 | 24298 | 5 |
| 24154 | 24299 | 0 |
| 24300 | 40 | |
| 24155 | 24301 | 0 |
| 24156 | 24302 | 5 |
| 24157 | 24303 | 0 |
| ... | ... | @@ -24272,6 +24418,7 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 24272 | 24418 | 0 5 |
| 24273 | 24419 | 0 |
| 24274 | 24420 | 0 |
| 24421 | 40 | |
| 24275 | 24422 | 0 |
| 24276 | 24423 | 0 |
| 24277 | 24424 | 0 |
| ... | ... | @@ -24945,6 +25092,7 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 24945 | 25092 | 5 |
| 24946 | 25093 | 0 |
| 24947 | 25094 | 0 13 |
| 25095 | 40 | |
| 24948 | 25096 | 0 13 |
| 24949 | 25097 | 0 13 |
| 24950 | 25098 | 0 13 |
| ... | ... | @@ -24973,6 +25121,7 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 24973 | 25121 | 0 |
| 24974 | 25122 | 0 |
| 24975 | 25123 | 0 |
| 25124 | 40 | |
| 24976 | 25125 | 24 |
| 24977 | 25126 | 16 |
| 24978 | 25127 | 0 |
| ... | ... | @@ -25000,6 +25149,8 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 25000 | 25149 | 16 |
| 25001 | 25150 | 5 |
| 25002 | 25151 | 0 |
| 25152 | 40 | |
| 25153 | 40 | |
| 25003 | 25154 | 5 |
| 25004 | 25155 | 5 |
| 25005 | 25156 | 5 |
| ... | ... | @@ -25226,6 +25377,7 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 25226 | 25377 | 0 |
| 25227 | 25378 | 0 |
| 25228 | 25379 | 0 |
| 25380 | 40 | |
| 25229 | 25381 | 5 |
| 25230 | 25382 | 0 5 |
| 25231 | 25383 | 0 5 |
| ... | ... | @@ -25594,6 +25746,7 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 25594 | 25746 | 37 |
| 25595 | 25747 | 37 |
| 25596 | 25748 | 5 |
| 25749 | 40 | |
| 25597 | 25750 | 38 |
| 25598 | 25751 | 38 |
| 25599 | 25752 | 38 |
| ... | ... | @@ -25667,6 +25820,7 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 25667 | 25820 | 0 |
| 25668 | 25821 | 0 |
| 25669 | 25822 | 0 |
| 25823 | 40 | |
| 25670 | 25824 | 0 |
| 25671 | 25825 | 0 |
| 25672 | 25826 | 0 |
| ... | ... | @@ -26442,6 +26596,7 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 26442 | 26596 | 5 |
| 26443 | 26597 | 0 |
| 26444 | 26598 | 0 |
| 26599 | ||
| 26445 | 26600 | 27 |
| 26446 | 26601 | |
| 26447 | 26602 | 27 |
| ... | ... | @@ -26583,6 +26738,18 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 26583 | 26738 | |
| 26584 | 26739 | |
| 26585 | 26740 | |
| 26741 | ||
| 26742 | ||
| 26743 | ||
| 26744 | ||
| 26745 | ||
| 26746 | ||
| 26747 | ||
| 26748 | ||
| 26749 | ||
| 26750 | ||
| 26751 | ||
| 26752 | ||
| 26586 | 26753 | |
| 26587 | 26754 | |
| 26588 | 26755 | |
| ... | ... | @@ -27856,6 +28023,7 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 27856 | 28023 | 5 |
| 27857 | 28024 | 5 |
| 27858 | 28025 | 0 |
| 28026 | 40 | |
| 27859 | 28027 | 0 |
| 27860 | 28028 | 5 |
| 27861 | 28029 | 0 |
| ... | ... | @@ -27976,6 +28144,7 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 27976 | 28144 | 0 5 |
| 27977 | 28145 | 0 |
| 27978 | 28146 | 0 |
| 28147 | 40 | |
| 27979 | 28148 | 0 |
| 27980 | 28149 | 0 |
| 27981 | 28150 | 0 |
| ... | ... | @@ -28649,6 +28818,7 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 28649 | 28818 | 5 |
| 28650 | 28819 | 0 |
| 28651 | 28820 | 0 13 |
| 28821 | 40 | |
| 28652 | 28822 | 0 13 |
| 28653 | 28823 | 0 13 |
| 28654 | 28824 | 0 13 |
| ... | ... | @@ -28677,6 +28847,7 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 28677 | 28847 | 0 |
| 28678 | 28848 | 0 |
| 28679 | 28849 | 0 |
| 28850 | 40 | |
| 28680 | 28851 | 24 |
| 28681 | 28852 | 16 |
| 28682 | 28853 | 0 |
| ... | ... | @@ -28704,6 +28875,8 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 28704 | 28875 | 16 |
| 28705 | 28876 | 5 |
| 28706 | 28877 | 0 |
| 28878 | 40 | |
| 28879 | 40 | |
| 28707 | 28880 | 5 |
| 28708 | 28881 | 5 |
| 28709 | 28882 | 5 |
| ... | ... | @@ -28930,6 +29103,7 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 28930 | 29103 | 0 |
| 28931 | 29104 | 0 |
| 28932 | 29105 | 0 |
| 29106 | 40 | |
| 28933 | 29107 | 5 |
| 28934 | 29108 | 0 5 |
| 28935 | 29109 | 0 5 |
| ... | ... | @@ -29298,6 +29472,7 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 29298 | 29472 | 37 |
| 29299 | 29473 | |
| 29300 | 29474 | 5 |
| 29475 | 40 | |
| 29301 | 29476 | 38 |
| 29302 | 29477 | 38 |
| 29303 | 29478 | 38 |
| ... | ... | @@ -29371,6 +29546,7 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 29371 | 29546 | 0 |
| 29372 | 29547 | 0 |
| 29373 | 29548 | 0 |
| 29549 | 40 | |
| 29374 | 29550 | 0 |
| 29375 | 29551 | 0 |
| 29376 | 29552 | 0 |
| ... | ... | @@ -30146,6 +30322,7 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 30146 | 30322 | 5 |
| 30147 | 30323 | 0 |
| 30148 | 30324 | 0 |
| 30325 | ||
| 30149 | 30326 | 27 |
| 30150 | 30327 | |
| 30151 | 30328 | 27 |
| ... | ... | @@ -30287,6 +30464,18 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 30287 | 30464 | |
| 30288 | 30465 | |
| 30289 | 30466 | |
| 30467 | ||
| 30468 | ||
| 30469 | ||
| 30470 | ||
| 30471 | ||
| 30472 | ||
| 30473 | ||
| 30474 | ||
| 30475 | ||
| 30476 | ||
| 30477 | ||
| 30478 | ||
| 30290 | 30479 | |
| 30291 | 30480 | |
| 30292 | 30481 | |
| ... | ... | @@ -31560,6 +31749,7 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 31560 | 31749 | 5 |
| 31561 | 31750 | 5 |
| 31562 | 31751 | 0 |
| 31752 | 40 | |
| 31563 | 31753 | 0 |
| 31564 | 31754 | 5 |
| 31565 | 31755 | 0 |
| ... | ... | @@ -31680,6 +31870,7 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 31680 | 31870 | 0 5 |
| 31681 | 31871 | 0 |
| 31682 | 31872 | 0 |
| 31873 | 40 | |
| 31683 | 31874 | 0 |
| 31684 | 31875 | 0 |
| 31685 | 31876 | 0 |
| ... | ... | @@ -32353,6 +32544,7 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 32353 | 32544 | 5 |
| 32354 | 32545 | 0 |
| 32355 | 32546 | 0 13 |
| 32547 | 40 | |
| 32356 | 32548 | 0 13 |
| 32357 | 32549 | 0 13 |
| 32358 | 32550 | 0 13 |
| ... | ... | @@ -32381,6 +32573,7 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 32381 | 32573 | 0 |
| 32382 | 32574 | 0 |
| 32383 | 32575 | 0 |
| 32576 | 40 | |
| 32384 | 32577 | 24 |
| 32385 | 32578 | 16 |
| 32386 | 32579 | 0 |
| ... | ... | @@ -32408,6 +32601,8 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 32408 | 32601 | 16 |
| 32409 | 32602 | 5 |
| 32410 | 32603 | 0 |
| 32604 | 40 | |
| 32605 | 40 | |
| 32411 | 32606 | 5 |
| 32412 | 32607 | 5 |
| 32413 | 32608 | 5 |
| ... | ... | @@ -32634,6 +32829,7 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 32634 | 32829 | 0 |
| 32635 | 32830 | 0 |
| 32636 | 32831 | 0 |
| 32832 | 40 | |
| 32637 | 32833 | 5 |
| 32638 | 32834 | 0 5 |
| 32639 | 32835 | 0 5 |
| ... | ... | @@ -33002,6 +33198,7 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 33002 | 33198 | 37 |
| 33003 | 33199 | |
| 33004 | 33200 | 5 |
| 33201 | 40 | |
| 33005 | 33202 | 38 |
| 33006 | 33203 | 38 |
| 33007 | 33204 | 38 |
| ... | ... | @@ -33075,6 +33272,7 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 33075 | 33272 | 0 |
| 33076 | 33273 | 0 |
| 33077 | 33274 | 0 |
| 33275 | 40 | |
| 33078 | 33276 | 0 |
| 33079 | 33277 | 0 |
| 33080 | 33278 | 0 |
| ... | ... | @@ -33850,6 +34048,7 @@ x86_64-linux-gnu |
| 33850 | 34048 | 10 |
| 33851 | 34049 | 10 |
| 33852 | 34050 | 10 |
| 34051 | ||
| 33853 | 34052 | 27 |
| 33854 | 34053 | 36 |
| 33855 | 34054 | 27 |
| ... | ... | @@ -33991,6 +34190,18 @@ x86_64-linux-gnu |
| 33991 | 34190 | |
| 33992 | 34191 | |
| 33993 | 34192 | |
| 34193 | ||
| 34194 | ||
| 34195 | ||
| 34196 | ||
| 34197 | ||
| 34198 | ||
| 34199 | ||
| 34200 | ||
| 34201 | ||
| 34202 | ||
| 34203 | ||
| 34204 | ||
| 33994 | 34205 | |
| 33995 | 34206 | |
| 33996 | 34207 | |
| ... | ... | @@ -35264,6 +35475,7 @@ x86_64-linux-gnu |
| 35264 | 35475 | 10 |
| 35265 | 35476 | 10 |
| 35266 | 35477 | 10 |
| 35478 | 40 | |
| 35267 | 35479 | 10 |
| 35268 | 35480 | 10 |
| 35269 | 35481 | 10 |
| ... | ... | @@ -35384,6 +35596,7 @@ x86_64-linux-gnu |
| 35384 | 35596 | 10 |
| 35385 | 35597 | 10 |
| 35386 | 35598 | 10 |
| 35599 | 40 | |
| 35387 | 35600 | 10 |
| 35388 | 35601 | 10 |
| 35389 | 35602 | 10 |
| ... | ... | @@ -36057,6 +36270,7 @@ x86_64-linux-gnu |
| 36057 | 36270 | 10 |
| 36058 | 36271 | 10 |
| 36059 | 36272 | 10 13 |
| 36273 | 40 | |
| 36060 | 36274 | 10 13 |
| 36061 | 36275 | 10 13 |
| 36062 | 36276 | 10 13 |
| ... | ... | @@ -36085,6 +36299,7 @@ x86_64-linux-gnu |
| 36085 | 36299 | 10 |
| 36086 | 36300 | 10 |
| 36087 | 36301 | 10 |
| 36302 | 40 | |
| 36088 | 36303 | 24 |
| 36089 | 36304 | 16 |
| 36090 | 36305 | 10 |
| ... | ... | @@ -36112,6 +36327,8 @@ x86_64-linux-gnu |
| 36112 | 36327 | 16 |
| 36113 | 36328 | 10 |
| 36114 | 36329 | 10 |
| 36330 | 40 | |
| 36331 | 40 | |
| 36115 | 36332 | 10 |
| 36116 | 36333 | 10 |
| 36117 | 36334 | 10 |
| ... | ... | @@ -36338,6 +36555,7 @@ x86_64-linux-gnu |
| 36338 | 36555 | 10 |
| 36339 | 36556 | 10 |
| 36340 | 36557 | 10 |
| 36558 | 40 | |
| 36341 | 36559 | 10 |
| 36342 | 36560 | 10 |
| 36343 | 36561 | 10 |
| ... | ... | @@ -36706,6 +36924,7 @@ x86_64-linux-gnu |
| 36706 | 36924 | 37 |
| 36707 | 36925 | 37 |
| 36708 | 36926 | 10 |
| 36927 | 40 | |
| 36709 | 36928 | 38 |
| 36710 | 36929 | 38 |
| 36711 | 36930 | 38 |
| ... | ... | @@ -36779,6 +36998,7 @@ x86_64-linux-gnu |
| 36779 | 36998 | 10 |
| 36780 | 36999 | 10 |
| 36781 | 37000 | 10 |
| 37001 | 40 | |
| 36782 | 37002 | 10 |
| 36783 | 37003 | 10 |
| 36784 | 37004 | 10 |
| ... | ... | @@ -37554,6 +37774,7 @@ x86_64-linux-gnux32 |
| 37554 | 37774 | 28 |
| 37555 | 37775 | 28 |
| 37556 | 37776 | 28 |
| 37777 | ||
| 37557 | 37778 | 28 |
| 37558 | 37779 | 36 |
| 37559 | 37780 | 28 |
| ... | ... | @@ -37695,6 +37916,18 @@ x86_64-linux-gnux32 |
| 37695 | 37916 | |
| 37696 | 37917 | |
| 37697 | 37918 | |
| 37919 | ||
| 37920 | ||
| 37921 | ||
| 37922 | ||
| 37923 | ||
| 37924 | ||
| 37925 | ||
| 37926 | ||
| 37927 | ||
| 37928 | ||
| 37929 | ||
| 37930 | ||
| 37698 | 37931 | |
| 37699 | 37932 | |
| 37700 | 37933 | |
| ... | ... | @@ -38968,6 +39201,7 @@ x86_64-linux-gnux32 |
| 38968 | 39201 | 28 |
| 38969 | 39202 | 28 |
| 38970 | 39203 | 28 |
| 39204 | 40 | |
| 38971 | 39205 | 28 |
| 38972 | 39206 | 28 |
| 38973 | 39207 | 28 |
| ... | ... | @@ -39088,6 +39322,7 @@ x86_64-linux-gnux32 |
| 39088 | 39322 | 28 |
| 39089 | 39323 | 28 |
| 39090 | 39324 | 28 |
| 39325 | 40 | |
| 39091 | 39326 | 28 |
| 39092 | 39327 | 28 |
| 39093 | 39328 | 28 |
| ... | ... | @@ -39761,6 +39996,7 @@ x86_64-linux-gnux32 |
| 39761 | 39996 | 28 |
| 39762 | 39997 | 28 |
| 39763 | 39998 | 28 |
| 39999 | 40 | |
| 39764 | 40000 | 28 |
| 39765 | 40001 | 28 |
| 39766 | 40002 | 28 |
| ... | ... | @@ -39789,6 +40025,7 @@ x86_64-linux-gnux32 |
| 39789 | 40025 | 28 |
| 39790 | 40026 | 28 |
| 39791 | 40027 | 28 |
| 40028 | 40 | |
| 39792 | 40029 | 28 |
| 39793 | 40030 | 28 |
| 39794 | 40031 | 28 |
| ... | ... | @@ -39816,6 +40053,8 @@ x86_64-linux-gnux32 |
| 39816 | 40053 | 28 |
| 39817 | 40054 | 28 |
| 39818 | 40055 | 28 |
| 40056 | 40 | |
| 40057 | 40 | |
| 39819 | 40058 | 28 |
| 39820 | 40059 | 28 |
| 39821 | 40060 | 28 |
| ... | ... | @@ -40042,6 +40281,7 @@ x86_64-linux-gnux32 |
| 40042 | 40281 | 28 |
| 40043 | 40282 | 28 |
| 40044 | 40283 | 28 |
| 40284 | 40 | |
| 40045 | 40285 | 28 |
| 40046 | 40286 | 28 |
| 40047 | 40287 | 28 |
| ... | ... | @@ -40410,6 +40650,7 @@ x86_64-linux-gnux32 |
| 40410 | 40650 | 37 |
| 40411 | 40651 | 37 |
| 40412 | 40652 | 28 |
| 40653 | 40 | |
| 40413 | 40654 | 38 |
| 40414 | 40655 | 38 |
| 40415 | 40656 | 38 |
| ... | ... | @@ -40483,6 +40724,7 @@ x86_64-linux-gnux32 |
| 40483 | 40724 | 28 |
| 40484 | 40725 | 28 |
| 40485 | 40726 | 28 |
| 40727 | 40 | |
| 40486 | 40728 | 28 |
| 40487 | 40729 | 28 |
| 40488 | 40730 | 28 |
| ... | ... | @@ -41258,6 +41500,7 @@ i386-linux-gnu |
| 41258 | 41500 | 1 |
| 41259 | 41501 | 0 |
| 41260 | 41502 | 0 |
| 41503 | 3 | |
| 41261 | 41504 | 27 |
| 41262 | 41505 | 36 |
| 41263 | 41506 | 27 |
| ... | ... | @@ -41399,6 +41642,18 @@ i386-linux-gnu |
| 41399 | 41642 | |
| 41400 | 41643 | |
| 41401 | 41644 | |
| 41645 | ||
| 41646 | ||
| 41647 | ||
| 41648 | ||
| 41649 | ||
| 41650 | ||
| 41651 | ||
| 41652 | ||
| 41653 | ||
| 41654 | ||
| 41655 | ||
| 41656 | ||
| 41402 | 41657 | |
| 41403 | 41658 | |
| 41404 | 41659 | |
| ... | ... | @@ -42672,6 +42927,7 @@ i386-linux-gnu |
| 42672 | 42927 | 1 |
| 42673 | 42928 | 1 |
| 42674 | 42929 | 0 |
| 42930 | 40 | |
| 42675 | 42931 | 0 |
| 42676 | 42932 | 5 |
| 42677 | 42933 | 0 |
| ... | ... | @@ -42792,6 +43048,7 @@ i386-linux-gnu |
| 42792 | 43048 | 0 3 |
| 42793 | 43049 | 0 |
| 42794 | 43050 | 0 |
| 43051 | 40 | |
| 42795 | 43052 | 0 |
| 42796 | 43053 | 0 |
| 42797 | 43054 | 0 |
| ... | ... | @@ -43465,6 +43722,7 @@ i386-linux-gnu |
| 43465 | 43722 | 5 |
| 43466 | 43723 | 0 |
| 43467 | 43724 | 0 13 |
| 43725 | 40 | |
| 43468 | 43726 | 0 13 |
| 43469 | 43727 | 0 13 |
| 43470 | 43728 | 0 13 |
| ... | ... | @@ -43493,6 +43751,7 @@ i386-linux-gnu |
| 43493 | 43751 | 0 |
| 43494 | 43752 | 0 |
| 43495 | 43753 | 0 |
| 43754 | 40 | |
| 43496 | 43755 | 24 |
| 43497 | 43756 | 16 |
| 43498 | 43757 | 0 |
| ... | ... | @@ -43520,6 +43779,8 @@ i386-linux-gnu |
| 43520 | 43779 | 16 |
| 43521 | 43780 | 1 |
| 43522 | 43781 | 0 |
| 43782 | 40 | |
| 43783 | 40 | |
| 43523 | 43784 | 1 |
| 43524 | 43785 | 1 |
| 43525 | 43786 | 1 |
| ... | ... | @@ -43746,6 +44007,7 @@ i386-linux-gnu |
| 43746 | 44007 | 0 |
| 43747 | 44008 | 0 |
| 43748 | 44009 | 0 |
| 44010 | 40 | |
| 43749 | 44011 | 2 |
| 43750 | 44012 | 0 1 |
| 43751 | 44013 | 0 1 |
| ... | ... | @@ -44114,6 +44376,7 @@ i386-linux-gnu |
| 44114 | 44376 | 37 |
| 44115 | 44377 | 37 |
| 44116 | 44378 | 1 |
| 44379 | 40 | |
| 44117 | 44380 | 38 |
| 44118 | 44381 | 38 |
| 44119 | 44382 | 38 |
| ... | ... | @@ -44187,6 +44450,7 @@ i386-linux-gnu |
| 44187 | 44450 | 0 |
| 44188 | 44451 | 0 |
| 44189 | 44452 | 0 |
| 44453 | 40 | |
| 44190 | 44454 | 0 |
| 44191 | 44455 | 0 |
| 44192 | 44456 | 0 |
| ... | ... | @@ -44962,6 +45226,7 @@ powerpc64le-linux-gnu |
| 44962 | 45226 | 29 |
| 44963 | 45227 | 29 |
| 44964 | 45228 | 29 |
| 45229 | ||
| 44965 | 45230 | 29 |
| 44966 | 45231 | 36 |
| 44967 | 45232 | 29 |
| ... | ... | @@ -45074,12 +45339,18 @@ powerpc64le-linux-gnu |
| 45074 | 45339 | 29 |
| 45075 | 45340 | 29 |
| 45076 | 45341 | 29 |
| 45342 | 40 | |
| 45343 | 40 | |
| 45077 | 45344 | 29 |
| 45078 | 45345 | 38 |
| 45079 | 45346 | 38 |
| 45080 | 45347 | 38 |
| 45081 | 45348 | 29 |
| 45082 | 45349 | 38 |
| 45350 | 40 | |
| 45351 | 40 | |
| 45352 | 40 | |
| 45353 | 40 | |
| 45083 | 45354 | 29 |
| 45084 | 45355 | 29 |
| 45085 | 45356 | 29 |
| ... | ... | @@ -45100,6 +45371,8 @@ powerpc64le-linux-gnu |
| 45100 | 45371 | 29 |
| 45101 | 45372 | 29 |
| 45102 | 45373 | 29 |
| 45374 | 40 | |
| 45375 | 40 | |
| 45103 | 45376 | 29 |
| 45104 | 45377 | 29 |
| 45105 | 45378 | 29 |
| ... | ... | @@ -45112,8 +45385,12 @@ powerpc64le-linux-gnu |
| 45112 | 45385 | 29 |
| 45113 | 45386 | 29 |
| 45114 | 45387 | 29 |
| 45388 | 40 | |
| 45389 | 40 | |
| 45115 | 45390 | 29 |
| 45116 | 45391 | 29 |
| 45392 | 40 | |
| 45393 | 40 | |
| 45117 | 45394 | 29 |
| 45118 | 45395 | 29 |
| 45119 | 45396 | 29 |
| ... | ... | @@ -46376,6 +46653,7 @@ powerpc64le-linux-gnu |
| 46376 | 46653 | 29 |
| 46377 | 46654 | 29 |
| 46378 | 46655 | 29 |
| 46656 | 40 | |
| 46379 | 46657 | 29 |
| 46380 | 46658 | 29 |
| 46381 | 46659 | 29 |
| ... | ... | @@ -46496,6 +46774,7 @@ powerpc64le-linux-gnu |
| 46496 | 46774 | 29 |
| 46497 | 46775 | 29 |
| 46498 | 46776 | 29 |
| 46777 | 40 | |
| 46499 | 46778 | 29 |
| 46500 | 46779 | 29 |
| 46501 | 46780 | 29 |
| ... | ... | @@ -47169,6 +47448,7 @@ powerpc64le-linux-gnu |
| 47169 | 47448 | 29 |
| 47170 | 47449 | 29 |
| 47171 | 47450 | 29 |
| 47451 | 40 | |
| 47172 | 47452 | 29 |
| 47173 | 47453 | 29 |
| 47174 | 47454 | 29 |
| ... | ... | @@ -47197,6 +47477,7 @@ powerpc64le-linux-gnu |
| 47197 | 47477 | 29 |
| 47198 | 47478 | 29 |
| 47199 | 47479 | 29 |
| 47480 | 40 | |
| 47200 | 47481 | 29 |
| 47201 | 47482 | 29 |
| 47202 | 47483 | 29 |
| ... | ... | @@ -47224,6 +47505,8 @@ powerpc64le-linux-gnu |
| 47224 | 47505 | 29 |
| 47225 | 47506 | 29 |
| 47226 | 47507 | 29 |
| 47508 | 40 | |
| 47509 | 40 | |
| 47227 | 47510 | 29 |
| 47228 | 47511 | 29 |
| 47229 | 47512 | 29 |
| ... | ... | @@ -47450,6 +47733,7 @@ powerpc64le-linux-gnu |
| 47450 | 47733 | 29 |
| 47451 | 47734 | 29 |
| 47452 | 47735 | 29 |
| 47736 | 40 | |
| 47453 | 47737 | 29 |
| 47454 | 47738 | 29 |
| 47455 | 47739 | 29 |
| ... | ... | @@ -47818,6 +48102,7 @@ powerpc64le-linux-gnu |
| 47818 | 48102 | 37 |
| 47819 | 48103 | 37 |
| 47820 | 48104 | 29 |
| 48105 | 40 | |
| 47821 | 48106 | 38 |
| 47822 | 48107 | 38 |
| 47823 | 48108 | 38 |
| ... | ... | @@ -47891,6 +48176,7 @@ powerpc64le-linux-gnu |
| 47891 | 48176 | 29 |
| 47892 | 48177 | 29 |
| 47893 | 48178 | 29 |
| 48179 | 40 | |
| 47894 | 48180 | 29 |
| 47895 | 48181 | 29 |
| 47896 | 48182 | 29 |
| ... | ... | @@ -48666,6 +48952,7 @@ powerpc64-linux-gnu |
| 48666 | 48952 | 12 |
| 48667 | 48953 | 12 |
| 48668 | 48954 | 12 |
| 48955 | ||
| 48669 | 48956 | 27 |
| 48670 | 48957 | |
| 48671 | 48958 | 27 |
| ... | ... | @@ -48778,12 +49065,18 @@ powerpc64-linux-gnu |
| 48778 | 49065 | 16 |
| 48779 | 49066 | 16 |
| 48780 | 49067 | 16 |
| 49068 | 40 | |
| 49069 | 40 | |
| 48781 | 49070 | 16 |
| 48782 | 49071 | 38 |
| 48783 | 49072 | 38 |
| 48784 | 49073 | 38 |
| 48785 | 49074 | 16 |
| 48786 | 49075 | 38 |
| 49076 | 40 | |
| 49077 | 40 | |
| 49078 | 40 | |
| 49079 | 40 | |
| 48787 | 49080 | 16 |
| 48788 | 49081 | 16 |
| 48789 | 49082 | 16 |
| ... | ... | @@ -48804,6 +49097,8 @@ powerpc64-linux-gnu |
| 48804 | 49097 | 16 |
| 48805 | 49098 | 16 |
| 48806 | 49099 | 16 |
| 49100 | 40 | |
| 49101 | 40 | |
| 48807 | 49102 | 16 |
| 48808 | 49103 | 16 |
| 48809 | 49104 | 16 |
| ... | ... | @@ -48816,8 +49111,12 @@ powerpc64-linux-gnu |
| 48816 | 49111 | 16 |
| 48817 | 49112 | 16 |
| 48818 | 49113 | 16 |
| 49114 | 40 | |
| 49115 | 40 | |
| 48819 | 49116 | 16 |
| 48820 | 49117 | 16 |
| 49118 | 40 | |
| 49119 | 40 | |
| 48821 | 49120 | 16 |
| 48822 | 49121 | 16 |
| 48823 | 49122 | 12 |
| ... | ... | @@ -50080,6 +50379,7 @@ powerpc64-linux-gnu |
| 50080 | 50379 | 12 |
| 50081 | 50380 | 12 |
| 50082 | 50381 | 12 |
| 50382 | 40 | |
| 50083 | 50383 | 12 |
| 50084 | 50384 | 12 |
| 50085 | 50385 | 12 |
| ... | ... | @@ -50200,6 +50500,7 @@ powerpc64-linux-gnu |
| 50200 | 50500 | 12 |
| 50201 | 50501 | 12 |
| 50202 | 50502 | 12 |
| 50503 | 40 | |
| 50203 | 50504 | 12 |
| 50204 | 50505 | 12 |
| 50205 | 50506 | 12 |
| ... | ... | @@ -50873,6 +51174,7 @@ powerpc64-linux-gnu |
| 50873 | 51174 | 12 |
| 50874 | 51175 | 12 |
| 50875 | 51176 | 12 13 |
| 51177 | 40 | |
| 50876 | 51178 | 12 13 |
| 50877 | 51179 | 12 13 |
| 50878 | 51180 | 12 13 |
| ... | ... | @@ -50901,6 +51203,7 @@ powerpc64-linux-gnu |
| 50901 | 51203 | 12 |
| 50902 | 51204 | 12 |
| 50903 | 51205 | 12 |
| 51206 | 40 | |
| 50904 | 51207 | 24 |
| 50905 | 51208 | 16 |
| 50906 | 51209 | 12 |
| ... | ... | @@ -50928,6 +51231,8 @@ powerpc64-linux-gnu |
| 50928 | 51231 | 16 |
| 50929 | 51232 | 12 |
| 50930 | 51233 | 12 |
| 51234 | 40 | |
| 51235 | 40 | |
| 50931 | 51236 | 12 |
| 50932 | 51237 | 12 |
| 50933 | 51238 | 12 |
| ... | ... | @@ -51154,6 +51459,7 @@ powerpc64-linux-gnu |
| 51154 | 51459 | 12 |
| 51155 | 51460 | 12 |
| 51156 | 51461 | 12 |
| 51462 | 40 | |
| 51157 | 51463 | 12 |
| 51158 | 51464 | 12 |
| 51159 | 51465 | 12 |
| ... | ... | @@ -51522,6 +51828,7 @@ powerpc64-linux-gnu |
| 51522 | 51828 | 37 |
| 51523 | 51829 | |
| 51524 | 51830 | 12 16 |
| 51831 | 40 | |
| 51525 | 51832 | 38 |
| 51526 | 51833 | 38 |
| 51527 | 51834 | 38 |
| ... | ... | @@ -51595,6 +51902,7 @@ powerpc64-linux-gnu |
| 51595 | 51902 | 12 |
| 51596 | 51903 | 12 |
| 51597 | 51904 | 12 |
| 51905 | 40 | |
| 51598 | 51906 | 12 |
| 51599 | 51907 | 12 |
| 51600 | 51908 | 12 |
| ... | ... | @@ -52370,6 +52678,7 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 52370 | 52678 | 1 |
| 52371 | 52679 | 0 |
| 52372 | 52680 | 0 |
| 52681 | 3 | |
| 52373 | 52682 | 27 |
| 52374 | 52683 | |
| 52375 | 52684 | 27 |
| ... | ... | @@ -52482,12 +52791,18 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 52482 | 52791 | 16 |
| 52483 | 52792 | 16 |
| 52484 | 52793 | 16 |
| 52794 | 40 | |
| 52795 | 40 | |
| 52485 | 52796 | 16 |
| 52486 | 52797 | 38 |
| 52487 | 52798 | 38 |
| 52488 | 52799 | 38 |
| 52489 | 52800 | 16 |
| 52490 | 52801 | 38 |
| 52802 | 40 | |
| 52803 | 40 | |
| 52804 | 40 | |
| 52805 | 40 | |
| 52491 | 52806 | 16 |
| 52492 | 52807 | 16 |
| 52493 | 52808 | 16 |
| ... | ... | @@ -52508,6 +52823,8 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 52508 | 52823 | 16 |
| 52509 | 52824 | 16 |
| 52510 | 52825 | 16 |
| 52826 | 40 | |
| 52827 | 40 | |
| 52511 | 52828 | 16 |
| 52512 | 52829 | 16 |
| 52513 | 52830 | 16 |
| ... | ... | @@ -52520,8 +52837,12 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 52520 | 52837 | 16 |
| 52521 | 52838 | 16 |
| 52522 | 52839 | 16 |
| 52840 | 40 | |
| 52841 | 40 | |
| 52523 | 52842 | 16 |
| 52524 | 52843 | 16 |
| 52844 | 40 | |
| 52845 | 40 | |
| 52525 | 52846 | 16 |
| 52526 | 52847 | 16 |
| 52527 | 52848 | 0 |
| ... | ... | @@ -53784,6 +54105,7 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 53784 | 54105 | 1 |
| 53785 | 54106 | 1 |
| 53786 | 54107 | 0 |
| 54108 | 40 | |
| 53787 | 54109 | 0 |
| 53788 | 54110 | 5 |
| 53789 | 54111 | 0 |
| ... | ... | @@ -53904,6 +54226,7 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 53904 | 54226 | 0 3 |
| 53905 | 54227 | 0 |
| 53906 | 54228 | 0 |
| 54229 | 40 | |
| 53907 | 54230 | 0 |
| 53908 | 54231 | 0 |
| 53909 | 54232 | 0 |
| ... | ... | @@ -54577,6 +54900,7 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 54577 | 54900 | 5 |
| 54578 | 54901 | 0 |
| 54579 | 54902 | 0 13 |
| 54903 | 40 | |
| 54580 | 54904 | 0 13 |
| 54581 | 54905 | 0 13 |
| 54582 | 54906 | 0 13 |
| ... | ... | @@ -54605,6 +54929,7 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 54605 | 54929 | 0 |
| 54606 | 54930 | 0 |
| 54607 | 54931 | 0 |
| 54932 | 40 | |
| 54608 | 54933 | 24 |
| 54609 | 54934 | 16 |
| 54610 | 54935 | 0 |
| ... | ... | @@ -54632,6 +54957,8 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 54632 | 54957 | 16 |
| 54633 | 54958 | 1 |
| 54634 | 54959 | 0 |
| 54960 | 40 | |
| 54961 | 40 | |
| 54635 | 54962 | 1 |
| 54636 | 54963 | 1 |
| 54637 | 54964 | 1 |
| ... | ... | @@ -54858,6 +55185,7 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 54858 | 55185 | 0 |
| 54859 | 55186 | 0 |
| 54860 | 55187 | 0 |
| 55188 | 40 | |
| 54861 | 55189 | 2 |
| 54862 | 55190 | 0 1 |
| 54863 | 55191 | 0 1 |
| ... | ... | @@ -55226,6 +55554,7 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 55226 | 55554 | 37 |
| 55227 | 55555 | |
| 55228 | 55556 | 1 16 |
| 55557 | 40 | |
| 55229 | 55558 | 38 |
| 55230 | 55559 | 38 |
| 55231 | 55560 | 38 |
| ... | ... | @@ -55299,6 +55628,7 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 55299 | 55628 | 0 |
| 55300 | 55629 | 0 |
| 55301 | 55630 | 0 |
| 55631 | 40 | |
| 55302 | 55632 | 0 |
| 55303 | 55633 | 0 |
| 55304 | 55634 | 0 |
lib/libc/glibc/fns.txt+22| ... | ... | @@ -513,6 +513,7 @@ __libc_realloc c |
| 513 | 513 | __libc_sa_len c |
| 514 | 514 | __libc_start_main c |
| 515 | 515 | __libc_valloc c |
| 516 | __libpthread_version_placeholder pthread | |
| 516 | 517 | __log10_finite m |
| 517 | 518 | __log10f128_finite m |
| 518 | 519 | __log10f_finite m |
| ... | ... | @@ -625,12 +626,18 @@ __nldbl___vswprintf_chk c |
| 625 | 626 | __nldbl___vsyslog_chk c |
| 626 | 627 | __nldbl___vwprintf_chk c |
| 627 | 628 | __nldbl___wprintf_chk c |
| 629 | __nldbl_argp_error c | |
| 630 | __nldbl_argp_failure c | |
| 628 | 631 | __nldbl_asprintf c |
| 629 | 632 | __nldbl_daddl m |
| 630 | 633 | __nldbl_ddivl m |
| 631 | 634 | __nldbl_dmull m |
| 632 | 635 | __nldbl_dprintf c |
| 633 | 636 | __nldbl_dsubl m |
| 637 | __nldbl_err c | |
| 638 | __nldbl_error c | |
| 639 | __nldbl_error_at_line c | |
| 640 | __nldbl_errx c | |
| 634 | 641 | __nldbl_fprintf c |
| 635 | 642 | __nldbl_fscanf c |
| 636 | 643 | __nldbl_fwprintf c |
| ... | ... | @@ -651,6 +658,8 @@ __nldbl_swscanf c |
| 651 | 658 | __nldbl_syslog c |
| 652 | 659 | __nldbl_vasprintf c |
| 653 | 660 | __nldbl_vdprintf c |
| 661 | __nldbl_verr c | |
| 662 | __nldbl_verrx c | |
| 654 | 663 | __nldbl_vfprintf c |
| 655 | 664 | __nldbl_vfscanf c |
| 656 | 665 | __nldbl_vfwprintf c |
| ... | ... | @@ -663,8 +672,12 @@ __nldbl_vsscanf c |
| 663 | 672 | __nldbl_vswprintf c |
| 664 | 673 | __nldbl_vswscanf c |
| 665 | 674 | __nldbl_vsyslog c |
| 675 | __nldbl_vwarn c | |
| 676 | __nldbl_vwarnx c | |
| 666 | 677 | __nldbl_vwprintf c |
| 667 | 678 | __nldbl_vwscanf c |
| 679 | __nldbl_warn c | |
| 680 | __nldbl_warnx c | |
| 668 | 681 | __nldbl_wprintf c |
| 669 | 682 | __nldbl_wscanf c |
| 670 | 683 | __nss_configure_lookup c |
| ... | ... | @@ -1927,6 +1940,7 @@ getdate c |
| 1927 | 1940 | getdate_err c |
| 1928 | 1941 | getdate_r c |
| 1929 | 1942 | getdelim c |
| 1943 | getdents64 c | |
| 1930 | 1944 | getdirentries c |
| 1931 | 1945 | getdirentries64 c |
| 1932 | 1946 | getdomainname c |
| ... | ... | @@ -2047,6 +2061,7 @@ getspnam c |
| 2047 | 2061 | getspnam_r c |
| 2048 | 2062 | getsubopt c |
| 2049 | 2063 | gettext c |
| 2064 | gettid c | |
| 2050 | 2065 | gettimeofday c |
| 2051 | 2066 | getttyent c |
| 2052 | 2067 | getttynam c |
| ... | ... | @@ -2720,6 +2735,7 @@ pthread_barrierattr_init pthread |
| 2720 | 2735 | pthread_barrierattr_setpshared pthread |
| 2721 | 2736 | pthread_cancel pthread |
| 2722 | 2737 | pthread_cond_broadcast c |
| 2738 | pthread_cond_clockwait pthread | |
| 2723 | 2739 | pthread_cond_destroy c |
| 2724 | 2740 | pthread_cond_init c |
| 2725 | 2741 | pthread_cond_signal c |
| ... | ... | @@ -2748,6 +2764,7 @@ pthread_key_create pthread |
| 2748 | 2764 | pthread_key_delete pthread |
| 2749 | 2765 | pthread_kill pthread |
| 2750 | 2766 | pthread_kill_other_threads_np pthread |
| 2767 | pthread_mutex_clocklock pthread | |
| 2751 | 2768 | pthread_mutex_consistent pthread |
| 2752 | 2769 | pthread_mutex_consistent_np pthread |
| 2753 | 2770 | pthread_mutex_destroy c |
| ... | ... | @@ -2775,6 +2792,8 @@ pthread_mutexattr_setrobust pthread |
| 2775 | 2792 | pthread_mutexattr_setrobust_np pthread |
| 2776 | 2793 | pthread_mutexattr_settype pthread |
| 2777 | 2794 | pthread_once pthread |
| 2795 | pthread_rwlock_clockrdlock pthread | |
| 2796 | pthread_rwlock_clockwrlock pthread | |
| 2778 | 2797 | pthread_rwlock_destroy pthread |
| 2779 | 2798 | pthread_rwlock_init pthread |
| 2780 | 2799 | pthread_rwlock_rdlock pthread |
| ... | ... | @@ -3001,6 +3020,7 @@ seed48 c |
| 3001 | 3020 | seed48_r c |
| 3002 | 3021 | seekdir c |
| 3003 | 3022 | select c |
| 3023 | sem_clockwait pthread | |
| 3004 | 3024 | sem_close pthread |
| 3005 | 3025 | sem_destroy pthread |
| 3006 | 3026 | sem_getvalue pthread |
| ... | ... | @@ -3369,6 +3389,7 @@ tgammaf32x m |
| 3369 | 3389 | tgammaf64 m |
| 3370 | 3390 | tgammaf64x m |
| 3371 | 3391 | tgammal m |
| 3392 | tgkill c | |
| 3372 | 3393 | thrd_create pthread |
| 3373 | 3394 | thrd_current c |
| 3374 | 3395 | thrd_detach pthread |
| ... | ... | @@ -3442,6 +3463,7 @@ ttyname c |
| 3442 | 3463 | ttyname_r c |
| 3443 | 3464 | ttyslot c |
| 3444 | 3465 | twalk c |
| 3466 | twalk_r c | |
| 3445 | 3467 | tzname c |
| 3446 | 3468 | tzset c |
| 3447 | 3469 | ualarm c |
lib/libc/glibc/vers.txt+1| ... | ... | @@ -38,3 +38,4 @@ GLIBC_2.26 |
| 38 | 38 | GLIBC_2.27 |
| 39 | 39 | GLIBC_2.28 |
| 40 | 40 | GLIBC_2.29 |
| 41 | GLIBC_2.30 |
lib/libc/include/aarch64-linux-gnu/bits/hwcap.h+4-1| ... | ... | @@ -50,4 +50,7 @@ |
| 50 | 50 | #define HWCAP_USCAT		(1 << 25) |
| 51 | 51 | #define HWCAP_ILRCPC		(1 << 26) |
| 52 | 52 | #define HWCAP_FLAGM		(1 << 27) |
| 53 | #define HWCAP_SSBS		(1 << 28) | |
| \ No newline at end of file | ||
| 53 | #define HWCAP_SSBS		(1 << 28) | |
| 54 | #define HWCAP_SB		(1 << 29) | |
| 55 | #define HWCAP_PACA		(1 << 30) | |
| 56 | #define HWCAP_PACG		(1UL << 31) | |
| \ No newline at end of file |
lib/libc/include/aarch64-linux-gnu/gnu/stubs-lp64.h-6| ... | ... | @@ -13,15 +13,9 @@ |
| 13 | 13 | #define __stub___compat_query_module |
| 14 | 14 | #define __stub___compat_uselib |
| 15 | 15 | #define __stub_chflags |
| 16 | #define __stub_fattach | |
| 17 | 16 | #define __stub_fchflags |
| 18 | #define __stub_fdetach | |
| 19 | #define __stub_getmsg | |
| 20 | #define __stub_getpmsg | |
| 21 | 17 | #define __stub_gtty |
| 22 | 18 | #define __stub_lchmod |
| 23 | #define __stub_putmsg | |
| 24 | #define __stub_putpmsg | |
| 25 | 19 | #define __stub_revoke |
| 26 | 20 | #define __stub_setlogin |
| 27 | 21 | #define __stub_sigreturn |
lib/libc/include/aarch64_be-linux-gnu/bits/hwcap.h+4-1| ... | ... | @@ -50,4 +50,7 @@ |
| 50 | 50 | #define HWCAP_USCAT		(1 << 25) |
| 51 | 51 | #define HWCAP_ILRCPC		(1 << 26) |
| 52 | 52 | #define HWCAP_FLAGM		(1 << 27) |
| 53 | #define HWCAP_SSBS		(1 << 28) | |
| \ No newline at end of file | ||
| 53 | #define HWCAP_SSBS		(1 << 28) | |
| 54 | #define HWCAP_SB		(1 << 29) | |
| 55 | #define HWCAP_PACA		(1 << 30) | |
| 56 | #define HWCAP_PACG		(1UL << 31) | |
| \ No newline at end of file |
lib/libc/include/aarch64_be-linux-gnu/gnu/stubs-lp64_be.h-6| ... | ... | @@ -13,15 +13,9 @@ |
| 13 | 13 | #define __stub___compat_query_module |
| 14 | 14 | #define __stub___compat_uselib |
| 15 | 15 | #define __stub_chflags |
| 16 | #define __stub_fattach | |
| 17 | 16 | #define __stub_fchflags |
| 18 | #define __stub_fdetach | |
| 19 | #define __stub_getmsg | |
| 20 | #define __stub_getpmsg | |
| 21 | 17 | #define __stub_gtty |
| 22 | 18 | #define __stub_lchmod |
| 23 | #define __stub_putmsg | |
| 24 | #define __stub_putpmsg | |
| 25 | 19 | #define __stub_revoke |
| 26 | 20 | #define __stub_setlogin |
| 27 | 21 | #define __stub_sigreturn |
lib/libc/include/generic-glibc/bits/dirent_ext.h created+33| ... | ... | @@ -0,0 +1,33 @@ |
| 1 | /* System-specific extensions of <dirent.h>. Linux version. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _DIRENT_H | |
| 20 | # error "Never include <bits/dirent_ext.h> directly; use <dirent.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | __BEGIN_DECLS | |
| 24 | ||
| 25 | #ifdef __USE_GNU | |
| 26 | /* Read from the directory descriptor FD into LENGTH bytes at BUFFER. | |
| 27 | Return the number of bytes read on success (0 for end of | |
| 28 | directory), and -1 for failure. */ | |
| 29 | extern __ssize_t getdents64 (int __fd, void *__buffer, size_t __length) | |
| 30 | __THROW __nonnull ((2)); | |
| 31 | #endif | |
| 32 | ||
| 33 | __END_DECLS | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/fcntl-linux.h+2| ... | ... | @@ -284,6 +284,8 @@ struct f_owner_ex |
| 284 | 284 | # define F_SEAL_SHRINK	0x0002	/* Prevent file from shrinking. */ |
| 285 | 285 | # define F_SEAL_GROW	0x0004	/* Prevent file from growing. */ |
| 286 | 286 | # define F_SEAL_WRITE	0x0008	/* Prevent writes. */ |
| 287 | # define F_SEAL_FUTURE_WRITE	0x0010	/* Prevent future writes while | |
| 288 | 					 mapped. */ | |
| 287 | 289 | #endif |
| 288 | 290 | |
| 289 | 291 | #ifdef __USE_GNU |
lib/libc/include/generic-glibc/bits/in.h+1| ... | ... | @@ -192,6 +192,7 @@ struct in_pktinfo |
| 192 | 192 | #define IPV6_JOIN_ANYCAST	27 |
| 193 | 193 | #define IPV6_LEAVE_ANYCAST	28 |
| 194 | 194 | #define IPV6_MULTICAST_ALL	29 |
| 195 | #define IPV6_ROUTER_ALERT_ISOLATE 30 | |
| 195 | 196 | #define IPV6_IPSEC_POLICY	34 |
| 196 | 197 | #define IPV6_XFRM_POLICY	35 |
| 197 | 198 | #define IPV6_HDRINCL		36 |
lib/libc/include/generic-glibc/bits/math-vector-fortran.h deleted-19| ... | ... | @@ -1,19 +0,0 @@ |
| 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- | |
| 2 | ! Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | ! This file is part of the GNU C Library. | |
| 4 | ! | |
| 5 | ! The GNU C Library is free software; you can redistribute it and/or | |
| 6 | ! modify it under the terms of the GNU Lesser General Public | |
| 7 | ! License as published by the Free Software Foundation; either | |
| 8 | ! version 2.1 of the License, or (at your option) any later version. | |
| 9 | ! | |
| 10 | ! The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | ! but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | ! Lesser General Public License for more details. | |
| 14 | ! | |
| 15 | ! You should have received a copy of the GNU Lesser General Public | |
| 16 | ! License along with the GNU C Library; if not, see | |
| 17 | ! <http://www.gnu.org/licenses/>. | |
| 18 | ||
| 19 | ! No SIMD math functions are available for this platform. | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/signal_ext.h created+31| ... | ... | @@ -0,0 +1,31 @@ |
| 1 | /* System-specific extensions of <signal.h>, Linux version. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SIGNAL_H | |
| 20 | # error "Never include <bits/signal_ext.h> directly; use <signal.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #ifdef __USE_GNU | |
| 24 | ||
| 25 | /* Send SIGNAL to the thread TID in the thread group (process) | |
| 26 | identified by TGID. This function behaves like kill, but also | |
| 27 | fails with ESRCH if the specified TID does not belong to the | |
| 28 | specified thread group. */ | |
| 29 | extern int tgkill (__pid_t __tgid, __pid_t __tid, int __signal); | |
| 30 | ||
| 31 | #endif /* __USE_GNU */ | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/socket-constants.h created+38| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | /* Socket constants which vary among Linux architectures. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_SOCKET_H | |
| 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define SOL_SOCKET 1 | |
| 24 | #define SO_ACCEPTCONN 30 | |
| 25 | #define SO_BROADCAST 6 | |
| 26 | #define SO_DONTROUTE 5 | |
| 27 | #define SO_ERROR 4 | |
| 28 | #define SO_KEEPALIVE 9 | |
| 29 | #define SO_LINGER 13 | |
| 30 | #define SO_OOBINLINE 10 | |
| 31 | #define SO_RCVBUF 8 | |
| 32 | #define SO_RCVLOWAT 18 | |
| 33 | #define SO_RCVTIMEO 20 | |
| 34 | #define SO_REUSEADDR 2 | |
| 35 | #define SO_SNDBUF 7 | |
| 36 | #define SO_SNDLOWAT 19 | |
| 37 | #define SO_SNDTIMEO 21 | |
| 38 | #define SO_TYPE 3 | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/socket.h+6-92| ... | ... | @@ -349,98 +349,12 @@ struct ucred |
| 349 | 349 | }; |
| 350 | 350 | #endif |
| 351 | 351 | |
| 352 | /* Ugly workaround for unclean kernel headers. */ | |
| 353 | #ifndef __USE_MISC | |
| 354 | # ifndef FIOGETOWN | |
| 355 | # define __SYS_SOCKET_H_undef_FIOGETOWN | |
| 356 | # endif | |
| 357 | # ifndef FIOSETOWN | |
| 358 | # define __SYS_SOCKET_H_undef_FIOSETOWN | |
| 359 | # endif | |
| 360 | # ifndef SIOCATMARK | |
| 361 | # define __SYS_SOCKET_H_undef_SIOCATMARK | |
| 362 | # endif | |
| 363 | # ifndef SIOCGPGRP | |
| 364 | # define __SYS_SOCKET_H_undef_SIOCGPGRP | |
| 365 | # endif | |
| 366 | # ifndef SIOCGSTAMP | |
| 367 | # define __SYS_SOCKET_H_undef_SIOCGSTAMP | |
| 368 | # endif | |
| 369 | # ifndef SIOCGSTAMPNS | |
| 370 | # define __SYS_SOCKET_H_undef_SIOCGSTAMPNS | |
| 371 | # endif | |
| 372 | # ifndef SIOCSPGRP | |
| 373 | # define __SYS_SOCKET_H_undef_SIOCSPGRP | |
| 374 | # endif | |
| 375 | #endif | |
| 376 | #ifndef IOCSIZE_MASK | |
| 377 | # define __SYS_SOCKET_H_undef_IOCSIZE_MASK | |
| 378 | #endif | |
| 379 | #ifndef IOCSIZE_SHIFT | |
| 380 | # define __SYS_SOCKET_H_undef_IOCSIZE_SHIFT | |
| 381 | #endif | |
| 382 | #ifndef IOC_IN | |
| 383 | # define __SYS_SOCKET_H_undef_IOC_IN | |
| 384 | #endif | |
| 385 | #ifndef IOC_INOUT | |
| 386 | # define __SYS_SOCKET_H_undef_IOC_INOUT | |
| 387 | #endif | |
| 388 | #ifndef IOC_OUT | |
| 389 | # define __SYS_SOCKET_H_undef_IOC_OUT | |
| 390 | #endif | |
| 391 | ||
| 392 | /* Get socket manipulation related informations from kernel headers. */ | |
| 393 | #include <asm/socket.h> | |
| 394 | ||
| 395 | #ifndef __USE_MISC | |
| 396 | # ifdef __SYS_SOCKET_H_undef_FIOGETOWN | |
| 397 | # undef __SYS_SOCKET_H_undef_FIOGETOWN | |
| 398 | # undef FIOGETOWN | |
| 399 | # endif | |
| 400 | # ifdef __SYS_SOCKET_H_undef_FIOSETOWN | |
| 401 | # undef __SYS_SOCKET_H_undef_FIOSETOWN | |
| 402 | # undef FIOSETOWN | |
| 403 | # endif | |
| 404 | # ifdef __SYS_SOCKET_H_undef_SIOCATMARK | |
| 405 | # undef __SYS_SOCKET_H_undef_SIOCATMARK | |
| 406 | # undef SIOCATMARK | |
| 407 | # endif | |
| 408 | # ifdef __SYS_SOCKET_H_undef_SIOCGPGRP | |
| 409 | # undef __SYS_SOCKET_H_undef_SIOCGPGRP | |
| 410 | # undef SIOCGPGRP | |
| 411 | # endif | |
| 412 | # ifdef __SYS_SOCKET_H_undef_SIOCGSTAMP | |
| 413 | # undef __SYS_SOCKET_H_undef_SIOCGSTAMP | |
| 414 | # undef SIOCGSTAMP | |
| 415 | # endif | |
| 416 | # ifdef __SYS_SOCKET_H_undef_SIOCGSTAMPNS | |
| 417 | # undef __SYS_SOCKET_H_undef_SIOCGSTAMPNS | |
| 418 | # undef SIOCGSTAMPNS | |
| 419 | # endif | |
| 420 | # ifdef __SYS_SOCKET_H_undef_SIOCSPGRP | |
| 421 | # undef __SYS_SOCKET_H_undef_SIOCSPGRP | |
| 422 | # undef SIOCSPGRP | |
| 423 | # endif | |
| 424 | #endif | |
| 425 | #ifdef __SYS_SOCKET_H_undef_IOCSIZE_MASK | |
| 426 | # undef __SYS_SOCKET_H_undef_IOCSIZE_MASK | |
| 427 | # undef IOCSIZE_MASK | |
| 428 | #endif | |
| 429 | #ifdef __SYS_SOCKET_H_undef_IOCSIZE_SHIFT | |
| 430 | # undef __SYS_SOCKET_H_undef_IOCSIZE_SHIFT | |
| 431 | # undef IOCSIZE_SHIFT | |
| 432 | #endif | |
| 433 | #ifdef __SYS_SOCKET_H_undef_IOC_IN | |
| 434 | # undef __SYS_SOCKET_H_undef_IOC_IN | |
| 435 | # undef IOC_IN | |
| 436 | #endif | |
| 437 | #ifdef __SYS_SOCKET_H_undef_IOC_INOUT | |
| 438 | # undef __SYS_SOCKET_H_undef_IOC_INOUT | |
| 439 | # undef IOC_INOUT | |
| 440 | #endif | |
| 441 | #ifdef __SYS_SOCKET_H_undef_IOC_OUT | |
| 442 | # undef __SYS_SOCKET_H_undef_IOC_OUT | |
| 443 | # undef IOC_OUT | |
| 352 | #ifdef __USE_MISC | |
| 353 | # include <bits/types/time_t.h> | |
| 354 | # include <asm/socket.h> | |
| 355 | #else | |
| 356 | # define SO_DEBUG 1 | |
| 357 | # include <bits/socket-constants.h> | |
| 444 | 358 | #endif |
| 445 | 359 | |
| 446 | 360 | /* Structure used to manipulate the SO_LINGER option. */ |
lib/libc/include/generic-glibc/bits/statx-generic.h created+60| ... | ... | @@ -0,0 +1,60 @@ |
| 1 | /* Generic statx-related definitions and declarations. | |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | /* This interface is based on <linux/stat.h> in Linux. */ | |
| 20 | ||
| 21 | #ifndef _SYS_STAT_H | |
| 22 | # error Never include <bits/statx-generic.h> directly, include <sys/stat.h> instead. | |
| 23 | #endif | |
| 24 | ||
| 25 | #include <bits/types/struct_statx_timestamp.h> | |
| 26 | #include <bits/types/struct_statx.h> | |
| 27 | ||
| 28 | #ifndef STATX_TYPE | |
| 29 | # define STATX_TYPE 0x0001U | |
| 30 | # define STATX_MODE 0x0002U | |
| 31 | # define STATX_NLINK 0x0004U | |
| 32 | # define STATX_UID 0x0008U | |
| 33 | # define STATX_GID 0x0010U | |
| 34 | # define STATX_ATIME 0x0020U | |
| 35 | # define STATX_MTIME 0x0040U | |
| 36 | # define STATX_CTIME 0x0080U | |
| 37 | # define STATX_INO 0x0100U | |
| 38 | # define STATX_SIZE 0x0200U | |
| 39 | # define STATX_BLOCKS 0x0400U | |
| 40 | # define STATX_BASIC_STATS 0x07ffU | |
| 41 | # define STATX_ALL 0x0fffU | |
| 42 | # define STATX_BTIME 0x0800U | |
| 43 | # define STATX__RESERVED 0x80000000U | |
| 44 | ||
| 45 | # define STATX_ATTR_COMPRESSED 0x0004 | |
| 46 | # define STATX_ATTR_IMMUTABLE 0x0010 | |
| 47 | # define STATX_ATTR_APPEND 0x0020 | |
| 48 | # define STATX_ATTR_NODUMP 0x0040 | |
| 49 | # define STATX_ATTR_ENCRYPTED 0x0800 | |
| 50 | # define STATX_ATTR_AUTOMOUNT 0x1000 | |
| 51 | #endif /* !STATX_TYPE */ | |
| 52 | ||
| 53 | __BEGIN_DECLS | |
| 54 | ||
| 55 | /* Fill *BUF with information about PATH in DIRFD. */ | |
| 56 | int statx (int __dirfd, const char *__restrict __path, int __flags, | |
| 57 | unsigned int __mask, struct statx *__restrict __buf) | |
| 58 | __THROW __nonnull ((2, 5)); | |
| 59 | ||
| 60 | __END_DECLS | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/statx.h+13-67| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* statx-related definitions and declarations. | |
| 1 | /* statx-related definitions and declarations. Linux version. | |
| 2 | 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -19,73 +19,19 @@ |
| 19 | 19 | /* This interface is based on <linux/stat.h> in Linux. */ |
| 20 | 20 | |
| 21 | 21 | #ifndef _SYS_STAT_H |
| 22 | # error Never include <bits/stat.x.h> directly, include <sys/stat.h> instead. | |
| 22 | # error Never include <bits/statx.h> directly, include <sys/stat.h> instead. | |
| 23 | 23 | #endif |
| 24 | 24 | |
| 25 | struct statx_timestamp | |
| 26 | { | |
| 27 | __int64_t tv_sec; | |
| 28 | __uint32_t tv_nsec; | |
| 29 | __int32_t __statx_timestamp_pad1[1]; | |
| 30 | }; | |
| 25 | /* Use the Linux kernel header if available. */ | |
| 31 | 26 | |
| 32 | /* Warning: The kernel may add additional fields to this struct in the | |
| 33 | future. Only use this struct for calling the statx function, not | |
| 34 | for storing data. (Expansion will be controlled by the mask | |
| 35 | argument of the statx function.) */ | |
| 36 | struct statx | |
| 37 | { | |
| 38 | __uint32_t stx_mask; | |
| 39 | __uint32_t stx_blksize; | |
| 40 | __uint64_t stx_attributes; | |
| 41 | __uint32_t stx_nlink; | |
| 42 | __uint32_t stx_uid; | |
| 43 | __uint32_t stx_gid; | |
| 44 | __uint16_t stx_mode; | |
| 45 | __uint16_t __statx_pad1[1]; | |
| 46 | __uint64_t stx_ino; | |
| 47 | __uint64_t stx_size; | |
| 48 | __uint64_t stx_blocks; | |
| 49 | __uint64_t stx_attributes_mask; | |
| 50 | struct statx_timestamp stx_atime; | |
| 51 | struct statx_timestamp stx_btime; | |
| 52 | struct statx_timestamp stx_ctime; | |
| 53 | struct statx_timestamp stx_mtime; | |
| 54 | __uint32_t stx_rdev_major; | |
| 55 | __uint32_t stx_rdev_minor; | |
| 56 | __uint32_t stx_dev_major; | |
| 57 | __uint32_t stx_dev_minor; | |
| 58 | __uint64_t __statx_pad2[14]; | |
| 59 | }; | |
| 60 | ||
| 61 | #define STATX_TYPE 0x0001U | |
| 62 | #define STATX_MODE 0x0002U | |
| 63 | #define STATX_NLINK 0x0004U | |
| 64 | #define STATX_UID 0x0008U | |
| 65 | #define STATX_GID 0x0010U | |
| 66 | #define STATX_ATIME 0x0020U | |
| 67 | #define STATX_MTIME 0x0040U | |
| 68 | #define STATX_CTIME 0x0080U | |
| 69 | #define STATX_INO 0x0100U | |
| 70 | #define STATX_SIZE 0x0200U | |
| 71 | #define STATX_BLOCKS 0x0400U | |
| 72 | #define STATX_BASIC_STATS 0x07ffU | |
| 73 | #define STATX_ALL 0x0fffU | |
| 74 | #define STATX_BTIME 0x0800U | |
| 75 | #define STATX__RESERVED 0x80000000U | |
| 76 | ||
| 77 | #define STATX_ATTR_COMPRESSED 0x0004 | |
| 78 | #define STATX_ATTR_IMMUTABLE 0x0010 | |
| 79 | #define STATX_ATTR_APPEND 0x0020 | |
| 80 | #define STATX_ATTR_NODUMP 0x0040 | |
| 81 | #define STATX_ATTR_ENCRYPTED 0x0800 | |
| 82 | #define STATX_ATTR_AUTOMOUNT 0x1000 | |
| 83 | ||
| 84 | __BEGIN_DECLS | |
| 85 | ||
| 86 | /* Fill *BUF with information about PATH in DIRFD. */ | |
| 87 | int statx (int __dirfd, const char *__restrict __path, int __flags, | |
| 88 | unsigned int __mask, struct statx *__restrict __buf) | |
| 89 | __THROW __nonnull ((2, 5)); | |
| 27 | /* Use "" to work around incorrect macro expansion of the | |
| 28 | __has_include argument (GCC PR 80005). */ | |
| 29 | #if __glibc_has_include ("linux/stat.h") | |
| 30 | # include "linux/stat.h" | |
| 31 | # ifdef STATX_TYPE | |
| 32 | # define __statx_timestamp_defined 1 | |
| 33 | # define __statx_defined 1 | |
| 34 | # endif | |
| 35 | #endif | |
| 90 | 36 | |
| 91 | __END_DECLS | |
| \ No newline at end of file | ||
| 37 | #include <bits/statx-generic.h> | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/stropts.h deleted-230| ... | ... | @@ -1,230 +0,0 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | This file is part of the GNU C Library. | |
| 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | |
| 5 | modify it under the terms of the GNU Lesser General Public | |
| 6 | License as published by the Free Software Foundation; either | |
| 7 | version 2.1 of the License, or (at your option) any later version. | |
| 8 | ||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | Lesser General Public License for more details. | |
| 13 | ||
| 14 | You should have received a copy of the GNU Lesser General Public | |
| 15 | License along with the GNU C Library; if not, see | |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 17 | ||
| 18 | #ifndef _STROPTS_H | |
| 19 | # error "Never include <bits/stropts.h> directly; use <stropts.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #ifndef _BITS_STROPTS_H | |
| 23 | #define _BITS_STROPTS_H	1 | |
| 24 | ||
| 25 | #include <bits/types.h> | |
| 26 | ||
| 27 | /* Macros used as `request' argument to `ioctl'. */ | |
| 28 | #define __SID		('S' << 8) | |
| 29 | ||
| 30 | #define I_NREAD	 (__SID | 1)	/* Counts the number of data bytes in the data | |
| 31 | 				 block in the first message. */ | |
| 32 | #define I_PUSH	 (__SID | 2)	/* Push STREAMS module onto top of the current | |
| 33 | 				 STREAM, just below the STREAM head. */ | |
| 34 | #define I_POP	 (__SID | 3)	/* Remove STREAMS module from just below the | |
| 35 | 				 STREAM head. */ | |
| 36 | #define I_LOOK	 (__SID | 4)	/* Retrieve the name of the module just below | |
| 37 | 				 the STREAM head and place it in a character | |
| 38 | 				 string. */ | |
| 39 | #define I_FLUSH	 (__SID | 5)	/* Flush all input and/or output. */ | |
| 40 | #define I_SRDOPT (__SID | 6)	/* Sets the read mode. */ | |
| 41 | #define I_GRDOPT (__SID | 7)	/* Returns the current read mode setting. */ | |
| 42 | #define I_STR	 (__SID | 8)	/* Construct an internal STREAMS `ioctl' | |
| 43 | 				 message and send that message downstream. */ | |
| 44 | #define I_SETSIG (__SID | 9)	/* Inform the STREAM head that the process | |
| 45 | 				 wants the SIGPOLL signal issued. */ | |
| 46 | #define I_GETSIG (__SID |10) /* Return the events for which the calling | |
| 47 | 				 process is currently registered to be sent | |
| 48 | 				 a SIGPOLL signal. */ | |
| 49 | #define I_FIND	 (__SID |11) /* Compares the names of all modules currently | |
| 50 | 				 present in the STREAM to the name pointed to | |
| 51 | 				 by `arg'. */ | |
| 52 | #define I_LINK	 (__SID |12) /* Connect two STREAMs. */ | |
| 53 | #define I_UNLINK (__SID |13) /* Disconnects the two STREAMs. */ | |
| 54 | #define I_PEEK	 (__SID |15) /* Allows a process to retrieve the information | |
| 55 | 				 in the first message on the STREAM head read | |
| 56 | 				 queue without taking the message off the | |
| 57 | 				 queue. */ | |
| 58 | #define I_FDINSERT (__SID |16) /* Create a message from the specified | |
| 59 | 				 buffer(s), adds information about another | |
| 60 | 				 STREAM, and send the message downstream. */ | |
| 61 | #define I_SENDFD (__SID |17) /* Requests the STREAM associated with `fildes' | |
| 62 | 				 to send a message, containing a file | |
| 63 | 				 pointer, to the STREAM head at the other end | |
| 64 | 				 of a STREAMS pipe. */ | |
| 65 | #define I_RECVFD (__SID |14) /* Non-EFT definition. */ | |
| 66 | #define I_SWROPT (__SID |19) /* Set the write mode. */ | |
| 67 | #define I_GWROPT (__SID |20) /* Return the current write mode setting. */ | |
| 68 | #define I_LIST	 (__SID |21) /* List all the module names on the STREAM, up | |
| 69 | 				 to and including the topmost driver name. */ | |
| 70 | #define I_PLINK	 (__SID |22) /* Connect two STREAMs with a persistent | |
| 71 | 				 link. */ | |
| 72 | #define I_PUNLINK (__SID |23) /* Disconnect the two STREAMs that were | |
| 73 | 				 connected with a persistent link. */ | |
| 74 | #define I_FLUSHBAND (__SID |28) /* Flush only band specified. */ | |
| 75 | #define I_CKBAND (__SID |29) /* Check if the message of a given priority | |
| 76 | 				 band exists on the STREAM head read | |
| 77 | 				 queue. */ | |
| 78 | #define I_GETBAND (__SID |30) /* Return the priority band of the first | |
| 79 | 				 message on the STREAM head read queue. */ | |
| 80 | #define I_ATMARK (__SID |31) /* See if the current message on the STREAM | |
| 81 | 				 head read queue is "marked" by some module | |
| 82 | 				 downstream. */ | |
| 83 | #define I_SETCLTIME (__SID |32) /* Set the time the STREAM head will delay when | |
| 84 | 				 a STREAM is closing and there is data on | |
| 85 | 				 the write queues. */ | |
| 86 | #define I_GETCLTIME (__SID |33) /* Get current value for closing timeout. */ | |
| 87 | #define I_CANPUT (__SID |34) /* Check if a certain band is writable. */ | |
| 88 | ||
| 89 | ||
| 90 | /* Used in `I_LOOK' request. */ | |
| 91 | #define FMNAMESZ	8	/* compatibility w/UnixWare/Solaris. */ | |
| 92 | ||
| 93 | /* Flush options. */ | |
| 94 | #define FLUSHR		0x01	/* Flush read queues. */ | |
| 95 | #define FLUSHW		0x02	/* Flush write queues. */ | |
| 96 | #define FLUSHRW		0x03	/* Flush read and write queues. */ | |
| 97 | #ifdef __USE_GNU | |
| 98 | # define FLUSHBAND	0x04	/* Flush only specified band. */ | |
| 99 | #endif | |
| 100 | ||
| 101 | /* Possible arguments for `I_SETSIG'. */ | |
| 102 | #define S_INPUT		0x0001	/* A message, other than a high-priority | |
| 103 | 				 message, has arrived. */ | |
| 104 | #define S_HIPRI		0x0002	/* A high-priority message is present. */ | |
| 105 | #define S_OUTPUT	0x0004	/* The write queue for normal data is no longer | |
| 106 | 				 full. */ | |
| 107 | #define S_MSG		0x0008	/* A STREAMS signal message that contains the | |
| 108 | 				 SIGPOLL signal reaches the front of the | |
| 109 | 				 STREAM head read queue. */ | |
| 110 | #define S_ERROR		0x0010	/* Notification of an error condition. */ | |
| 111 | #define S_HANGUP	0x0020	/* Notification of a hangup. */ | |
| 112 | #define S_RDNORM	0x0040	/* A normal message has arrived. */ | |
| 113 | #define S_WRNORM	S_OUTPUT | |
| 114 | #define S_RDBAND	0x0080	/* A message with a non-zero priority has | |
| 115 | 				 arrived. */ | |
| 116 | #define S_WRBAND	0x0100	/* The write queue for a non-zero priority | |
| 117 | 				 band is no longer full. */ | |
| 118 | #define S_BANDURG	0x0200	/* When used in conjunction with S_RDBAND, | |
| 119 | 				 SIGURG is generated instead of SIGPOLL when | |
| 120 | 				 a priority message reaches the front of the | |
| 121 | 				 STREAM head read queue. */ | |
| 122 | ||
| 123 | /* Option for `I_PEEK'. */ | |
| 124 | #define RS_HIPRI	0x01	/* Only look for high-priority messages. */ | |
| 125 | ||
| 126 | /* Options for `I_SRDOPT'. */ | |
| 127 | #define RNORM		0x0000	/* Byte-STREAM mode, the default. */ | |
| 128 | #define RMSGD		0x0001	/* Message-discard mode. */ | |
| 129 | #define RMSGN		0x0002	/* Message-nondiscard mode. */ | |
| 130 | #define RPROTDAT	0x0004	/* Deliver the control part of a message as | |
| 131 | 				 data. */ | |
| 132 | #define RPROTDIS	0x0008	/* Discard the control part of a message, | |
| 133 | 				 delivering any data part. */ | |
| 134 | #define RPROTNORM	0x0010	/* Fail `read' with EBADMSG if a message | |
| 135 | 				 containing a control part is at the front | |
| 136 | 				 of the STREAM head read queue. */ | |
| 137 | #ifdef __USE_GNU | |
| 138 | # define RPROTMASK	0x001C	/* The RPROT bits */ | |
| 139 | #endif | |
| 140 | ||
| 141 | /* Possible mode for `I_SWROPT'. */ | |
| 142 | #define SNDZERO		0x001	/* Send a zero-length message downstream when a | |
| 143 | 				 `write' of 0 bytes occurs. */ | |
| 144 | #ifdef __USE_GNU | |
| 145 | # define SNDPIPE	0x002	/* Send SIGPIPE on write and putmsg if | |
| 146 | 				 sd_werror is set. */ | |
| 147 | #endif | |
| 148 | ||
| 149 | /* Arguments for `I_ATMARK'. */ | |
| 150 | #define ANYMARK		0x01	/* Check if the message is marked. */ | |
| 151 | #define LASTMARK	0x02	/* Check if the message is the last one marked | |
| 152 | 				 on the queue. */ | |
| 153 | ||
| 154 | /* Argument for `I_UNLINK'. */ | |
| 155 | #ifdef __USE_GNU | |
| 156 | # define MUXID_ALL	(-1)	/* Unlink all STREAMs linked to the STREAM | |
| 157 | 				 associated with `fildes'. */ | |
| 158 | #endif | |
| 159 | ||
| 160 | ||
| 161 | /* Macros for `getmsg', `getpmsg', `putmsg' and `putpmsg'. */ | |
| 162 | #define MSG_HIPRI	0x01	/* Send/receive high priority message. */ | |
| 163 | #define MSG_ANY		0x02	/* Receive any message. */ | |
| 164 | #define MSG_BAND	0x04	/* Receive message from specified band. */ | |
| 165 | ||
| 166 | /* Values returned by getmsg and getpmsg */ | |
| 167 | #define MORECTL		1	/* More control information is left in | |
| 168 | 				 message. */ | |
| 169 | #define MOREDATA	2	/* More data is left in message. */ | |
| 170 | ||
| 171 | ||
| 172 | /* Structure used for the I_FLUSHBAND ioctl on streams. */ | |
| 173 | struct bandinfo | |
| 174 | { | |
| 175 | unsigned char bi_pri; | |
| 176 | int bi_flag; | |
| 177 | }; | |
| 178 | ||
| 179 | struct strbuf | |
| 180 | { | |
| 181 | int maxlen;		/* Maximum buffer length. */ | |
| 182 | int len;		/* Length of data. */ | |
| 183 | char *buf;		/* Pointer to buffer. */ | |
| 184 | }; | |
| 185 | ||
| 186 | struct strpeek | |
| 187 | { | |
| 188 | struct strbuf ctlbuf; | |
| 189 | struct strbuf databuf; | |
| 190 | t_uscalar_t flags;			/* UnixWare/Solaris compatibility. */ | |
| 191 | }; | |
| 192 | ||
| 193 | struct strfdinsert | |
| 194 | { | |
| 195 | struct strbuf ctlbuf; | |
| 196 | struct strbuf databuf; | |
| 197 | t_uscalar_t flags;			/* UnixWare/Solaris compatibility. */ | |
| 198 | int fildes; | |
| 199 | int offset; | |
| 200 | }; | |
| 201 | ||
| 202 | struct strioctl | |
| 203 | { | |
| 204 | int ic_cmd; | |
| 205 | int ic_timout; | |
| 206 | int ic_len; | |
| 207 | char *ic_dp; | |
| 208 | }; | |
| 209 | ||
| 210 | struct strrecvfd | |
| 211 | { | |
| 212 | int fd; | |
| 213 | uid_t uid; | |
| 214 | gid_t gid; | |
| 215 | char __fill[8];			/* UnixWare/Solaris compatibility */ | |
| 216 | }; | |
| 217 | ||
| 218 | ||
| 219 | struct str_mlist | |
| 220 | { | |
| 221 | char l_name[FMNAMESZ + 1]; | |
| 222 | }; | |
| 223 | ||
| 224 | struct str_list | |
| 225 | { | |
| 226 | int sl_nmods; | |
| 227 | struct str_mlist *sl_modlist; | |
| 228 | }; | |
| 229 | ||
| 230 | #endif /* bits/stropts.h */ | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/syscall.h+154-2| ... | ... | @@ -1,11 +1,11 @@ |
| 1 | 1 | /* Generated at libc build time from syscall list. */ |
| 2 | /* The system call list corresponds to kernel 4.20. */ | |
| 2 | /* The system call list corresponds to kernel 5.2. */ | |
| 3 | 3 | |
| 4 | 4 | #ifndef _SYSCALL_H |
| 5 | 5 | # error "Never use <bits/syscall.h> directly; include <sys/syscall.h> instead." |
| 6 | 6 | #endif |
| 7 | 7 | |
| 8 | #define __GLIBC_LINUX_VERSION_CODE 267264 | |
| 8 | #define __GLIBC_LINUX_VERSION_CODE 328192 | |
| 9 | 9 | |
| 10 | 10 | #ifdef __NR_FAST_atomic_update |
| 11 | 11 | # define SYS_FAST_atomic_update __NR_FAST_atomic_update |
| ... | ... | @@ -115,6 +115,10 @@ |
| 115 | 115 | # define SYS_break __NR_break |
| 116 | 116 | #endif |
| 117 | 117 | |
| 118 | #ifdef __NR_breakpoint | |
| 119 | # define SYS_breakpoint __NR_breakpoint | |
| 120 | #endif | |
| 121 | ||
| 118 | 122 | #ifdef __NR_brk |
| 119 | 123 | # define SYS_brk __NR_brk |
| 120 | 124 | #endif |
| ... | ... | @@ -159,22 +163,42 @@ |
| 159 | 163 | # define SYS_clock_adjtime __NR_clock_adjtime |
| 160 | 164 | #endif |
| 161 | 165 | |
| 166 | #ifdef __NR_clock_adjtime64 | |
| 167 | # define SYS_clock_adjtime64 __NR_clock_adjtime64 | |
| 168 | #endif | |
| 169 | ||
| 162 | 170 | #ifdef __NR_clock_getres |
| 163 | 171 | # define SYS_clock_getres __NR_clock_getres |
| 164 | 172 | #endif |
| 165 | 173 | |
| 174 | #ifdef __NR_clock_getres_time64 | |
| 175 | # define SYS_clock_getres_time64 __NR_clock_getres_time64 | |
| 176 | #endif | |
| 177 | ||
| 166 | 178 | #ifdef __NR_clock_gettime |
| 167 | 179 | # define SYS_clock_gettime __NR_clock_gettime |
| 168 | 180 | #endif |
| 169 | 181 | |
| 182 | #ifdef __NR_clock_gettime64 | |
| 183 | # define SYS_clock_gettime64 __NR_clock_gettime64 | |
| 184 | #endif | |
| 185 | ||
| 170 | 186 | #ifdef __NR_clock_nanosleep |
| 171 | 187 | # define SYS_clock_nanosleep __NR_clock_nanosleep |
| 172 | 188 | #endif |
| 173 | 189 | |
| 190 | #ifdef __NR_clock_nanosleep_time64 | |
| 191 | # define SYS_clock_nanosleep_time64 __NR_clock_nanosleep_time64 | |
| 192 | #endif | |
| 193 | ||
| 174 | 194 | #ifdef __NR_clock_settime |
| 175 | 195 | # define SYS_clock_settime __NR_clock_settime |
| 176 | 196 | #endif |
| 177 | 197 | |
| 198 | #ifdef __NR_clock_settime64 | |
| 199 | # define SYS_clock_settime64 __NR_clock_settime64 | |
| 200 | #endif | |
| 201 | ||
| 178 | 202 | #ifdef __NR_clone |
| 179 | 203 | # define SYS_clone __NR_clone |
| 180 | 204 | #endif |
| ... | ... | @@ -367,6 +391,10 @@ |
| 367 | 391 | # define SYS_fork __NR_fork |
| 368 | 392 | #endif |
| 369 | 393 | |
| 394 | #ifdef __NR_fp_udfiex_crtl | |
| 395 | # define SYS_fp_udfiex_crtl __NR_fp_udfiex_crtl | |
| 396 | #endif | |
| 397 | ||
| 370 | 398 | #ifdef __NR_free_hugepages |
| 371 | 399 | # define SYS_free_hugepages __NR_free_hugepages |
| 372 | 400 | #endif |
| ... | ... | @@ -375,10 +403,26 @@ |
| 375 | 403 | # define SYS_fremovexattr __NR_fremovexattr |
| 376 | 404 | #endif |
| 377 | 405 | |
| 406 | #ifdef __NR_fsconfig | |
| 407 | # define SYS_fsconfig __NR_fsconfig | |
| 408 | #endif | |
| 409 | ||
| 378 | 410 | #ifdef __NR_fsetxattr |
| 379 | 411 | # define SYS_fsetxattr __NR_fsetxattr |
| 380 | 412 | #endif |
| 381 | 413 | |
| 414 | #ifdef __NR_fsmount | |
| 415 | # define SYS_fsmount __NR_fsmount | |
| 416 | #endif | |
| 417 | ||
| 418 | #ifdef __NR_fsopen | |
| 419 | # define SYS_fsopen __NR_fsopen | |
| 420 | #endif | |
| 421 | ||
| 422 | #ifdef __NR_fspick | |
| 423 | # define SYS_fspick __NR_fspick | |
| 424 | #endif | |
| 425 | ||
| 382 | 426 | #ifdef __NR_fstat |
| 383 | 427 | # define SYS_fstat __NR_fstat |
| 384 | 428 | #endif |
| ... | ... | @@ -419,6 +463,10 @@ |
| 419 | 463 | # define SYS_futex __NR_futex |
| 420 | 464 | #endif |
| 421 | 465 | |
| 466 | #ifdef __NR_futex_time64 | |
| 467 | # define SYS_futex_time64 __NR_futex_time64 | |
| 468 | #endif | |
| 469 | ||
| 422 | 470 | #ifdef __NR_futimesat |
| 423 | 471 | # define SYS_futimesat __NR_futimesat |
| 424 | 472 | #endif |
| ... | ... | @@ -439,6 +487,10 @@ |
| 439 | 487 | # define SYS_get_thread_area __NR_get_thread_area |
| 440 | 488 | #endif |
| 441 | 489 | |
| 490 | #ifdef __NR_get_tls | |
| 491 | # define SYS_get_tls __NR_get_tls | |
| 492 | #endif | |
| 493 | ||
| 442 | 494 | #ifdef __NR_getcpu |
| 443 | 495 | # define SYS_getcpu __NR_getcpu |
| 444 | 496 | #endif |
| ... | ... | @@ -655,6 +707,10 @@ |
| 655 | 707 | # define SYS_io_pgetevents __NR_io_pgetevents |
| 656 | 708 | #endif |
| 657 | 709 | |
| 710 | #ifdef __NR_io_pgetevents_time64 | |
| 711 | # define SYS_io_pgetevents_time64 __NR_io_pgetevents_time64 | |
| 712 | #endif | |
| 713 | ||
| 658 | 714 | #ifdef __NR_io_setup |
| 659 | 715 | # define SYS_io_setup __NR_io_setup |
| 660 | 716 | #endif |
| ... | ... | @@ -663,6 +719,18 @@ |
| 663 | 719 | # define SYS_io_submit __NR_io_submit |
| 664 | 720 | #endif |
| 665 | 721 | |
| 722 | #ifdef __NR_io_uring_enter | |
| 723 | # define SYS_io_uring_enter __NR_io_uring_enter | |
| 724 | #endif | |
| 725 | ||
| 726 | #ifdef __NR_io_uring_register | |
| 727 | # define SYS_io_uring_register __NR_io_uring_register | |
| 728 | #endif | |
| 729 | ||
| 730 | #ifdef __NR_io_uring_setup | |
| 731 | # define SYS_io_uring_setup __NR_io_uring_setup | |
| 732 | #endif | |
| 733 | ||
| 666 | 734 | #ifdef __NR_ioctl |
| 667 | 735 | # define SYS_ioctl __NR_ioctl |
| 668 | 736 | #endif |
| ... | ... | @@ -847,6 +915,10 @@ |
| 847 | 915 | # define SYS_mount __NR_mount |
| 848 | 916 | #endif |
| 849 | 917 | |
| 918 | #ifdef __NR_move_mount | |
| 919 | # define SYS_move_mount __NR_move_mount | |
| 920 | #endif | |
| 921 | ||
| 850 | 922 | #ifdef __NR_move_pages |
| 851 | 923 | # define SYS_move_pages __NR_move_pages |
| 852 | 924 | #endif |
| ... | ... | @@ -875,10 +947,18 @@ |
| 875 | 947 | # define SYS_mq_timedreceive __NR_mq_timedreceive |
| 876 | 948 | #endif |
| 877 | 949 | |
| 950 | #ifdef __NR_mq_timedreceive_time64 | |
| 951 | # define SYS_mq_timedreceive_time64 __NR_mq_timedreceive_time64 | |
| 952 | #endif | |
| 953 | ||
| 878 | 954 | #ifdef __NR_mq_timedsend |
| 879 | 955 | # define SYS_mq_timedsend __NR_mq_timedsend |
| 880 | 956 | #endif |
| 881 | 957 | |
| 958 | #ifdef __NR_mq_timedsend_time64 | |
| 959 | # define SYS_mq_timedsend_time64 __NR_mq_timedsend_time64 | |
| 960 | #endif | |
| 961 | ||
| 882 | 962 | #ifdef __NR_mq_unlink |
| 883 | 963 | # define SYS_mq_unlink __NR_mq_unlink |
| 884 | 964 | #endif |
| ... | ... | @@ -951,6 +1031,10 @@ |
| 951 | 1031 | # define SYS_old_adjtimex __NR_old_adjtimex |
| 952 | 1032 | #endif |
| 953 | 1033 | |
| 1034 | #ifdef __NR_old_getpagesize | |
| 1035 | # define SYS_old_getpagesize __NR_old_getpagesize | |
| 1036 | #endif | |
| 1037 | ||
| 954 | 1038 | #ifdef __NR_oldfstat |
| 955 | 1039 | # define SYS_oldfstat __NR_oldfstat |
| 956 | 1040 | #endif |
| ... | ... | @@ -983,6 +1067,10 @@ |
| 983 | 1067 | # define SYS_open_by_handle_at __NR_open_by_handle_at |
| 984 | 1068 | #endif |
| 985 | 1069 | |
| 1070 | #ifdef __NR_open_tree | |
| 1071 | # define SYS_open_tree __NR_open_tree | |
| 1072 | #endif | |
| 1073 | ||
| 986 | 1074 | #ifdef __NR_openat |
| 987 | 1075 | # define SYS_openat __NR_openat |
| 988 | 1076 | #endif |
| ... | ... | @@ -1459,6 +1547,10 @@ |
| 1459 | 1547 | # define SYS_personality __NR_personality |
| 1460 | 1548 | #endif |
| 1461 | 1549 | |
| 1550 | #ifdef __NR_pidfd_send_signal | |
| 1551 | # define SYS_pidfd_send_signal __NR_pidfd_send_signal | |
| 1552 | #endif | |
| 1553 | ||
| 1462 | 1554 | #ifdef __NR_pipe |
| 1463 | 1555 | # define SYS_pipe __NR_pipe |
| 1464 | 1556 | #endif |
| ... | ... | @@ -1491,6 +1583,10 @@ |
| 1491 | 1583 | # define SYS_ppoll __NR_ppoll |
| 1492 | 1584 | #endif |
| 1493 | 1585 | |
| 1586 | #ifdef __NR_ppoll_time64 | |
| 1587 | # define SYS_ppoll_time64 __NR_ppoll_time64 | |
| 1588 | #endif | |
| 1589 | ||
| 1494 | 1590 | #ifdef __NR_prctl |
| 1495 | 1591 | # define SYS_prctl __NR_prctl |
| 1496 | 1592 | #endif |
| ... | ... | @@ -1531,6 +1627,10 @@ |
| 1531 | 1627 | # define SYS_pselect6 __NR_pselect6 |
| 1532 | 1628 | #endif |
| 1533 | 1629 | |
| 1630 | #ifdef __NR_pselect6_time64 | |
| 1631 | # define SYS_pselect6_time64 __NR_pselect6_time64 | |
| 1632 | #endif | |
| 1633 | ||
| 1534 | 1634 | #ifdef __NR_ptrace |
| 1535 | 1635 | # define SYS_ptrace __NR_ptrace |
| 1536 | 1636 | #endif |
| ... | ... | @@ -1599,6 +1699,10 @@ |
| 1599 | 1699 | # define SYS_recvmmsg __NR_recvmmsg |
| 1600 | 1700 | #endif |
| 1601 | 1701 | |
| 1702 | #ifdef __NR_recvmmsg_time64 | |
| 1703 | # define SYS_recvmmsg_time64 __NR_recvmmsg_time64 | |
| 1704 | #endif | |
| 1705 | ||
| 1602 | 1706 | #ifdef __NR_recvmsg |
| 1603 | 1707 | # define SYS_recvmsg __NR_recvmsg |
| 1604 | 1708 | #endif |
| ... | ... | @@ -1671,6 +1775,10 @@ |
| 1671 | 1775 | # define SYS_rt_sigtimedwait __NR_rt_sigtimedwait |
| 1672 | 1776 | #endif |
| 1673 | 1777 | |
| 1778 | #ifdef __NR_rt_sigtimedwait_time64 | |
| 1779 | # define SYS_rt_sigtimedwait_time64 __NR_rt_sigtimedwait_time64 | |
| 1780 | #endif | |
| 1781 | ||
| 1674 | 1782 | #ifdef __NR_rt_tgsigqueueinfo |
| 1675 | 1783 | # define SYS_rt_tgsigqueueinfo __NR_rt_tgsigqueueinfo |
| 1676 | 1784 | #endif |
| ... | ... | @@ -1731,6 +1839,10 @@ |
| 1731 | 1839 | # define SYS_sched_rr_get_interval __NR_sched_rr_get_interval |
| 1732 | 1840 | #endif |
| 1733 | 1841 | |
| 1842 | #ifdef __NR_sched_rr_get_interval_time64 | |
| 1843 | # define SYS_sched_rr_get_interval_time64 __NR_sched_rr_get_interval_time64 | |
| 1844 | #endif | |
| 1845 | ||
| 1734 | 1846 | #ifdef __NR_sched_set_affinity |
| 1735 | 1847 | # define SYS_sched_set_affinity __NR_sched_set_affinity |
| 1736 | 1848 | #endif |
| ... | ... | @@ -1783,6 +1895,10 @@ |
| 1783 | 1895 | # define SYS_semtimedop __NR_semtimedop |
| 1784 | 1896 | #endif |
| 1785 | 1897 | |
| 1898 | #ifdef __NR_semtimedop_time64 | |
| 1899 | # define SYS_semtimedop_time64 __NR_semtimedop_time64 | |
| 1900 | #endif | |
| 1901 | ||
| 1786 | 1902 | #ifdef __NR_send |
| 1787 | 1903 | # define SYS_send __NR_send |
| 1788 | 1904 | #endif |
| ... | ... | @@ -1823,6 +1939,10 @@ |
| 1823 | 1939 | # define SYS_set_tid_address __NR_set_tid_address |
| 1824 | 1940 | #endif |
| 1825 | 1941 | |
| 1942 | #ifdef __NR_set_tls | |
| 1943 | # define SYS_set_tls __NR_set_tls | |
| 1944 | #endif | |
| 1945 | ||
| 1826 | 1946 | #ifdef __NR_setdomainname |
| 1827 | 1947 | # define SYS_setdomainname __NR_setdomainname |
| 1828 | 1948 | #endif |
| ... | ... | @@ -2171,10 +2291,18 @@ |
| 2171 | 2291 | # define SYS_timer_gettime __NR_timer_gettime |
| 2172 | 2292 | #endif |
| 2173 | 2293 | |
| 2294 | #ifdef __NR_timer_gettime64 | |
| 2295 | # define SYS_timer_gettime64 __NR_timer_gettime64 | |
| 2296 | #endif | |
| 2297 | ||
| 2174 | 2298 | #ifdef __NR_timer_settime |
| 2175 | 2299 | # define SYS_timer_settime __NR_timer_settime |
| 2176 | 2300 | #endif |
| 2177 | 2301 | |
| 2302 | #ifdef __NR_timer_settime64 | |
| 2303 | # define SYS_timer_settime64 __NR_timer_settime64 | |
| 2304 | #endif | |
| 2305 | ||
| 2178 | 2306 | #ifdef __NR_timerfd |
| 2179 | 2307 | # define SYS_timerfd __NR_timerfd |
| 2180 | 2308 | #endif |
| ... | ... | @@ -2187,10 +2315,18 @@ |
| 2187 | 2315 | # define SYS_timerfd_gettime __NR_timerfd_gettime |
| 2188 | 2316 | #endif |
| 2189 | 2317 | |
| 2318 | #ifdef __NR_timerfd_gettime64 | |
| 2319 | # define SYS_timerfd_gettime64 __NR_timerfd_gettime64 | |
| 2320 | #endif | |
| 2321 | ||
| 2190 | 2322 | #ifdef __NR_timerfd_settime |
| 2191 | 2323 | # define SYS_timerfd_settime __NR_timerfd_settime |
| 2192 | 2324 | #endif |
| 2193 | 2325 | |
| 2326 | #ifdef __NR_timerfd_settime64 | |
| 2327 | # define SYS_timerfd_settime64 __NR_timerfd_settime64 | |
| 2328 | #endif | |
| 2329 | ||
| 2194 | 2330 | #ifdef __NR_times |
| 2195 | 2331 | # define SYS_times __NR_times |
| 2196 | 2332 | #endif |
| ... | ... | @@ -2211,6 +2347,10 @@ |
| 2211 | 2347 | # define SYS_tuxcall __NR_tuxcall |
| 2212 | 2348 | #endif |
| 2213 | 2349 | |
| 2350 | #ifdef __NR_udftrap | |
| 2351 | # define SYS_udftrap __NR_udftrap | |
| 2352 | #endif | |
| 2353 | ||
| 2214 | 2354 | #ifdef __NR_ugetrlimit |
| 2215 | 2355 | # define SYS_ugetrlimit __NR_ugetrlimit |
| 2216 | 2356 | #endif |
| ... | ... | @@ -2255,6 +2395,14 @@ |
| 2255 | 2395 | # define SYS_userfaultfd __NR_userfaultfd |
| 2256 | 2396 | #endif |
| 2257 | 2397 | |
| 2398 | #ifdef __NR_usr26 | |
| 2399 | # define SYS_usr26 __NR_usr26 | |
| 2400 | #endif | |
| 2401 | ||
| 2402 | #ifdef __NR_usr32 | |
| 2403 | # define SYS_usr32 __NR_usr32 | |
| 2404 | #endif | |
| 2405 | ||
| 2258 | 2406 | #ifdef __NR_ustat |
| 2259 | 2407 | # define SYS_ustat __NR_ustat |
| 2260 | 2408 | #endif |
| ... | ... | @@ -2267,6 +2415,10 @@ |
| 2267 | 2415 | # define SYS_utimensat __NR_utimensat |
| 2268 | 2416 | #endif |
| 2269 | 2417 | |
| 2418 | #ifdef __NR_utimensat_time64 | |
| 2419 | # define SYS_utimensat_time64 __NR_utimensat_time64 | |
| 2420 | #endif | |
| 2421 | ||
| 2270 | 2422 | #ifdef __NR_utimes |
| 2271 | 2423 | # define SYS_utimes __NR_utimes |
| 2272 | 2424 | #endif |
lib/libc/include/generic-glibc/bits/types.h+11-8| ... | ... | @@ -87,7 +87,7 @@ __extension__ typedef unsigned long long int __uintmax_t; |
| 87 | 87 | 	32		-- "natural" 32-bit type (always int) |
| 88 | 88 | 	64		-- "natural" 64-bit type (long or long long) |
| 89 | 89 | 	LONG32		-- 32-bit type, traditionally long |
| 90 | 	QUAD		-- 64-bit type, always long long | |
| 90 | 	QUAD		-- 64-bit type, traditionally long long | |
| 91 | 91 | 	WORD		-- natural type of __WORDSIZE bits (int or long) |
| 92 | 92 | 	LONGWORD	-- type of __WORDSIZE bits, traditionally long |
| 93 | 93 | |
| ... | ... | @@ -113,14 +113,14 @@ __extension__ typedef unsigned long long int __uintmax_t; |
| 113 | 113 | #define __SLONGWORD_TYPE	long int |
| 114 | 114 | #define __ULONGWORD_TYPE	unsigned long int |
| 115 | 115 | #if __WORDSIZE == 32 |
| 116 | # define __SQUAD_TYPE		__quad_t | |
| 117 | # define __UQUAD_TYPE		__u_quad_t | |
| 116 | # define __SQUAD_TYPE		__int64_t | |
| 117 | # define __UQUAD_TYPE		__uint64_t | |
| 118 | 118 | # define __SWORD_TYPE		int |
| 119 | 119 | # define __UWORD_TYPE		unsigned int |
| 120 | 120 | # define __SLONG32_TYPE		long int |
| 121 | 121 | # define __ULONG32_TYPE		unsigned long int |
| 122 | # define __S64_TYPE		__quad_t | |
| 123 | # define __U64_TYPE		__u_quad_t | |
| 122 | # define __S64_TYPE		__int64_t | |
| 123 | # define __U64_TYPE		__uint64_t | |
| 124 | 124 | /* We want __extension__ before typedef's that use nonstandard base types |
| 125 | 125 | such as `long long' in C89 mode. */ |
| 126 | 126 | # define __STD_TYPE		__extension__ typedef |
| ... | ... | @@ -213,10 +213,13 @@ __STD_TYPE __U32_TYPE __socklen_t; |
| 213 | 213 | It is not currently necessary for this to be machine-specific. */ |
| 214 | 214 | typedef int __sig_atomic_t; |
| 215 | 215 | |
| 216 | #if __TIMESIZE == 64 | |
| 216 | /* Seconds since the Epoch, visible to user code when time_t is too | |
| 217 | narrow only for consistency with the old way of widening too-narrow | |
| 218 | types. User code should never use __time64_t. */ | |
| 219 | #if __TIMESIZE == 64 && defined __LIBC | |
| 217 | 220 | # define __time64_t __time_t |
| 218 | #else | |
| 219 | __STD_TYPE __TIME64_T_TYPE __time64_t;	/* Seconds since the Epoch. */ | |
| 221 | #elif __TIMESIZE != 64 | |
| 222 | __STD_TYPE __TIME64_T_TYPE __time64_t; | |
| 220 | 223 | #endif |
| 221 | 224 | |
| 222 | 225 | #undef __STD_TYPE |
lib/libc/include/generic-glibc/bits/types/struct_statx.h created+55| ... | ... | @@ -0,0 +1,55 @@ |
| 1 | /* Definition of the generic version of struct statx. | |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_STAT_H | |
| 20 | # error Never include <bits/types/struct_statx.h> directly, include <sys/stat.h> instead. | |
| 21 | #endif | |
| 22 | ||
| 23 | #ifndef __statx_defined | |
| 24 | #define __statx_defined 1 | |
| 25 | ||
| 26 | /* Warning: The kernel may add additional fields to this struct in the | |
| 27 | future. Only use this struct for calling the statx function, not | |
| 28 | for storing data. (Expansion will be controlled by the mask | |
| 29 | argument of the statx function.) */ | |
| 30 | struct statx | |
| 31 | { | |
| 32 | __uint32_t stx_mask; | |
| 33 | __uint32_t stx_blksize; | |
| 34 | __uint64_t stx_attributes; | |
| 35 | __uint32_t stx_nlink; | |
| 36 | __uint32_t stx_uid; | |
| 37 | __uint32_t stx_gid; | |
| 38 | __uint16_t stx_mode; | |
| 39 | __uint16_t __statx_pad1[1]; | |
| 40 | __uint64_t stx_ino; | |
| 41 | __uint64_t stx_size; | |
| 42 | __uint64_t stx_blocks; | |
| 43 | __uint64_t stx_attributes_mask; | |
| 44 | struct statx_timestamp stx_atime; | |
| 45 | struct statx_timestamp stx_btime; | |
| 46 | struct statx_timestamp stx_ctime; | |
| 47 | struct statx_timestamp stx_mtime; | |
| 48 | __uint32_t stx_rdev_major; | |
| 49 | __uint32_t stx_rdev_minor; | |
| 50 | __uint32_t stx_dev_major; | |
| 51 | __uint32_t stx_dev_minor; | |
| 52 | __uint64_t __statx_pad2[14]; | |
| 53 | }; | |
| 54 | ||
| 55 | #endif /* __statx_defined */ | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/types/struct_statx_timestamp.h created+33| ... | ... | @@ -0,0 +1,33 @@ |
| 1 | /* Definition of the generic version of struct statx_timestamp. | |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_STAT_H | |
| 20 | # error Never include <bits/types/struct_statx_timestamp.h> directly, include <sys/stat.h> instead. | |
| 21 | #endif | |
| 22 | ||
| 23 | #ifndef __statx_timestamp_defined | |
| 24 | #define __statx_timestamp_defined 1 | |
| 25 | ||
| 26 | struct statx_timestamp | |
| 27 | { | |
| 28 | __int64_t tv_sec; | |
| 29 | __uint32_t tv_nsec; | |
| 30 | __int32_t __statx_timestamp_pad1[1]; | |
| 31 | }; | |
| 32 | ||
| 33 | #endif /* __statx_timestamp_defined */ | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/xtitypes.h deleted-33| ... | ... | @@ -1,33 +0,0 @@ |
| 1 | /* bits/xtitypes.h -- Define some types used by <bits/stropts.h>. Generic. | |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _STROPTS_H | |
| 20 | # error "Never include <bits/xtitypes.h> directly; use <stropts.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #ifndef _BITS_XTITYPES_H | |
| 24 | #define _BITS_XTITYPES_H	1 | |
| 25 | ||
| 26 | #include <bits/types.h> | |
| 27 | ||
| 28 | /* This type is used by some structs in <bits/stropts.h>. */ | |
| 29 | typedef __SLONGWORD_TYPE __t_scalar_t; | |
| 30 | typedef __ULONGWORD_TYPE __t_uscalar_t; | |
| 31 | ||
| 32 | ||
| 33 | #endif /* bits/xtitypes.h */ | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/dirent.h+2| ... | ... | @@ -401,4 +401,6 @@ extern int versionsort64 (const struct dirent64 **__e1, |
| 401 | 401 | |
| 402 | 402 | __END_DECLS |
| 403 | 403 | |
| 404 | #include <bits/dirent_ext.h> | |
| 405 | ||
| 404 | 406 | #endif /* dirent.h */ |
| \ No newline at end of file |
lib/libc/include/generic-glibc/dlfcn.h+12| ... | ... | @@ -180,7 +180,19 @@ typedef struct |
| 180 | 180 | { |
| 181 | 181 | size_t dls_size;		/* Size in bytes of the whole buffer. */ |
| 182 | 182 | unsigned int dls_cnt;		/* Number of elements in `dls_serpath'. */ |
| 183 | # if __GNUC_PREREQ (3, 0) | |
| 184 | /* The zero-length array avoids an unwanted array subscript check by | |
| 185 | the compiler, while the surrounding anonymous union preserves the | |
| 186 | historic size of the type. At the time of writing, GNU C does | |
| 187 | not support structs with flexible array members in unions. */ | |
| 188 | __extension__ union | |
| 189 | { | |
| 190 | Dl_serpath dls_serpath[0]; /* Actually longer, dls_cnt elements. */ | |
| 191 | Dl_serpath __dls_serpath_pad[1]; | |
| 192 | }; | |
| 193 | # else | |
| 183 | 194 | Dl_serpath dls_serpath[1];	/* Actually longer, dls_cnt elements. */ |
| 195 | # endif | |
| 184 | 196 | } Dl_serinfo; |
| 185 | 197 | #endif /* __USE_GNU */ |
| 186 | 198 |
lib/libc/include/generic-glibc/elf.h+30-2| ... | ... | @@ -360,7 +360,7 @@ typedef struct |
| 360 | 360 | #define EM_RISCV	243	/* RISC-V */ |
| 361 | 361 | |
| 362 | 362 | #define EM_BPF		247	/* Linux BPF -- in-kernel virtual machine */ |
| 363 | #define EM_CSKY		252 /* C_SKY */ | |
| 363 | #define EM_CSKY		252 /* C-SKY */ | |
| 364 | 364 | |
| 365 | 365 | #define EM_NUM		253 |
| 366 | 366 | |
| ... | ... | @@ -809,9 +809,16 @@ typedef struct |
| 809 | 809 | #define NT_ARM_SYSTEM_CALL	0x404	/* ARM system call number */ |
| 810 | 810 | #define NT_ARM_SVE	0x405		/* ARM Scalable Vector Extension |
| 811 | 811 | 					 registers */ |
| 812 | #define NT_ARM_PAC_MASK	0x406		/* ARM pointer authentication | |
| 813 | 					 code masks. */ | |
| 814 | #define NT_ARM_PACA_KEYS	0x407	/* ARM pointer authentication | |
| 815 | 					 address keys. */ | |
| 816 | #define NT_ARM_PACG_KEYS	0x408	/* ARM pointer authentication | |
| 817 | 					 generic key. */ | |
| 812 | 818 | #define NT_VMCOREDD	0x700		/* Vmcore Device Dump Note. */ |
| 813 | 819 | #define NT_MIPS_DSP	0x800		/* MIPS DSP ASE registers. */ |
| 814 | 820 | #define NT_MIPS_FP_MODE	0x801		/* MIPS floating-point mode. */ |
| 821 | #define NT_MIPS_MSA	0x802		/* MIPS SIMD registers. */ | |
| 815 | 822 | |
| 816 | 823 | /* Legal values for the note segment descriptor types for object files. */ |
| 817 | 824 | |
| ... | ... | @@ -987,6 +994,9 @@ typedef struct |
| 987 | 994 | #define	DF_1_SINGLETON	0x02000000	/* Singleton symbols are used. */ |
| 988 | 995 | #define	DF_1_STUB	0x04000000 |
| 989 | 996 | #define	DF_1_PIE	0x08000000 |
| 997 | #define	DF_1_KMOD 0x10000000 | |
| 998 | #define	DF_1_WEAKFILTER 0x20000000 | |
| 999 | #define	DF_1_NOCOMMON 0x40000000 | |
| 990 | 1000 | |
| 991 | 1001 | /* Flags for the feature selection in DT_FEATURE_1. */ |
| 992 | 1002 | #define DTF_1_PARINIT	0x00000001 |
| ... | ... | @@ -2854,6 +2864,13 @@ enum |
| 2854 | 2864 | #define R_AARCH64_TLSDESC 1031	/* TLS Descriptor. */ |
| 2855 | 2865 | #define R_AARCH64_IRELATIVE	1032	/* STT_GNU_IFUNC relocation. */ |
| 2856 | 2866 | |
| 2867 | /* AArch64 specific values for the Dyn d_tag field. */ | |
| 2868 | #define DT_AARCH64_VARIANT_PCS	(DT_LOPROC + 5) | |
| 2869 | #define DT_AARCH64_NUM		6 | |
| 2870 | ||
| 2871 | /* AArch64 specific values for the st_other field. */ | |
| 2872 | #define STO_AARCH64_VARIANT_PCS 0x80 | |
| 2873 | ||
| 2857 | 2874 | /* ARM relocs. */ |
| 2858 | 2875 | |
| 2859 | 2876 | #define R_ARM_NONE		0	/* No reloc */ |
| ... | ... | @@ -3022,7 +3039,7 @@ enum |
| 3022 | 3039 | /* Keep this the last entry. */ |
| 3023 | 3040 | #define R_ARM_NUM		256 |
| 3024 | 3041 | |
| 3025 | /* csky */ | |
| 3042 | /* C-SKY */ | |
| 3026 | 3043 | #define R_CKCORE_NONE 0	/* no reloc */ |
| 3027 | 3044 | #define R_CKCORE_ADDR32 1	/* direct 32 bit (S + A) */ |
| 3028 | 3045 | #define R_CKCORE_PCRELIMM8BY4 2	/* disp ((S + A - P) >> 2) & 0xff */ |
| ... | ... | @@ -3086,6 +3103,17 @@ enum |
| 3086 | 3103 | #define R_CKCORE_TLS_DTPOFF32 57 |
| 3087 | 3104 | #define R_CKCORE_TLS_TPOFF32 58 |
| 3088 | 3105 | |
| 3106 | /* C-SKY elf header definition. */ | |
| 3107 | #define EF_CSKY_ABIMASK		 0XF0000000 | |
| 3108 | #define EF_CSKY_OTHER		 0X0FFF0000 | |
| 3109 | #define EF_CSKY_PROCESSOR	 0X0000FFFF | |
| 3110 | ||
| 3111 | #define EF_CSKY_ABIV1		 0X10000000 | |
| 3112 | #define EF_CSKY_ABIV2		 0X20000000 | |
| 3113 | ||
| 3114 | /* C-SKY attributes section. */ | |
| 3115 | #define SHT_CSKY_ATTRIBUTES	 (SHT_LOPROC + 1) | |
| 3116 | ||
| 3089 | 3117 | /* IA-64 specific declarations. */ |
| 3090 | 3118 | |
| 3091 | 3119 | /* Processor specific flags for the Ehdr e_flags field. */ |
lib/libc/include/generic-glibc/features.h+1-1| ... | ... | @@ -439,7 +439,7 @@ |
| 439 | 439 | /* Major and minor version number of the GNU C library package. Use |
| 440 | 440 | these macros to test for features in specific releases. */ |
| 441 | 441 | #define	__GLIBC__	2 |
| 442 | #define	__GLIBC_MINOR__	29 | |
| 442 | #define	__GLIBC_MINOR__	30 | |
| 443 | 443 | |
| 444 | 444 | #define __GLIBC_PREREQ(maj, min) \ |
| 445 | 445 | 	((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min)) |
lib/libc/include/generic-glibc/finclude/math-vector-fortran.h created+19| ... | ... | @@ -0,0 +1,19 @@ |
| 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- | |
| 2 | ! Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | ! This file is part of the GNU C Library. | |
| 4 | ! | |
| 5 | ! The GNU C Library is free software; you can redistribute it and/or | |
| 6 | ! modify it under the terms of the GNU Lesser General Public | |
| 7 | ! License as published by the Free Software Foundation; either | |
| 8 | ! version 2.1 of the License, or (at your option) any later version. | |
| 9 | ! | |
| 10 | ! The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | ! but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | ! Lesser General Public License for more details. | |
| 14 | ! | |
| 15 | ! You should have received a copy of the GNU Lesser General Public | |
| 16 | ! License along with the GNU C Library; if not, see | |
| 17 | ! <http://www.gnu.org/licenses/>. | |
| 18 | ||
| 19 | ! No SIMD math functions are available for this platform. | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/gconv.h+2-9| ... | ... | @@ -86,6 +86,8 @@ struct __gconv_step |
| 86 | 86 | struct __gconv_loaded_object *__shlib_handle; |
| 87 | 87 | const char *__modname; |
| 88 | 88 | |
| 89 | /* For internal use by glibc. (Accesses to this member must occur | |
| 90 | when the internal __gconv_lock mutex is acquired). */ | |
| 89 | 91 | int __counter; |
| 90 | 92 | |
| 91 | 93 | char *__from_name; |
| ... | ... | @@ -142,13 +144,4 @@ typedef struct __gconv_info |
| 142 | 144 | __extension__ struct __gconv_step_data __data[0]; |
| 143 | 145 | } *__gconv_t; |
| 144 | 146 | |
| 145 | /* Transliteration using the locale's data. */ | |
| 146 | extern int __gconv_transliterate (struct __gconv_step *step, | |
| 147 | 				 struct __gconv_step_data *step_data, | |
| 148 | 				 const unsigned char *inbufstart, | |
| 149 | 				 const unsigned char **inbufp, | |
| 150 | 				 const unsigned char *inbufend, | |
| 151 | 				 unsigned char **outbufstart, | |
| 152 | 				 size_t *irreversible); | |
| 153 | ||
| 154 | 147 | #endif /* gconv.h */ |
| \ No newline at end of file |
lib/libc/include/generic-glibc/gnu/stubs-32.h-2| ... | ... | @@ -8,9 +8,7 @@ |
| 8 | 8 | #endif |
| 9 | 9 | |
| 10 | 10 | #define __stub_chflags |
| 11 | #define __stub_fattach | |
| 12 | 11 | #define __stub_fchflags |
| 13 | #define __stub_fdetach | |
| 14 | 12 | #define __stub_gtty |
| 15 | 13 | #define __stub_lchmod |
| 16 | 14 | #define __stub_revoke |
lib/libc/include/generic-glibc/gnu/stubs-64.h created+18| ... | ... | @@ -0,0 +1,18 @@ |
| 1 | /* This file is automatically generated. | |
| 2 | It defines a symbol `__stub_FUNCTION' for each function | |
| 3 | in the C library which is a stub, meaning it will fail | |
| 4 | every time called, usually setting errno to ENOSYS. */ | |
| 5 | ||
| 6 | #ifdef _LIBC | |
| 7 | #error Applications may not define the macro _LIBC | |
| 8 | #endif | |
| 9 | ||
| 10 | #define __stub_chflags | |
| 11 | #define __stub_fchflags | |
| 12 | #define __stub_gtty | |
| 13 | #define __stub_lchmod | |
| 14 | #define __stub_revoke | |
| 15 | #define __stub_setlogin | |
| 16 | #define __stub_sigreturn | |
| 17 | #define __stub_sstk | |
| 18 | #define __stub_stty | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/gnu/stubs-hard.h-6| ... | ... | @@ -11,15 +11,9 @@ |
| 11 | 11 | #define __stub___compat_get_kernel_syms |
| 12 | 12 | #define __stub___compat_query_module |
| 13 | 13 | #define __stub_chflags |
| 14 | #define __stub_fattach | |
| 15 | 14 | #define __stub_fchflags |
| 16 | #define __stub_fdetach | |
| 17 | #define __stub_getmsg | |
| 18 | #define __stub_getpmsg | |
| 19 | 15 | #define __stub_gtty |
| 20 | 16 | #define __stub_lchmod |
| 21 | #define __stub_putmsg | |
| 22 | #define __stub_putpmsg | |
| 23 | 17 | #define __stub_revoke |
| 24 | 18 | #define __stub_setlogin |
| 25 | 19 | #define __stub_sigreturn |
lib/libc/include/generic-glibc/gnu/stubs-n32_hard.h-2| ... | ... | @@ -10,9 +10,7 @@ |
| 10 | 10 | #define __stub___compat_bdflush |
| 11 | 11 | #define __stub___compat_uselib |
| 12 | 12 | #define __stub_chflags |
| 13 | #define __stub_fattach | |
| 14 | 13 | #define __stub_fchflags |
| 15 | #define __stub_fdetach | |
| 16 | 14 | #define __stub_gtty |
| 17 | 15 | #define __stub_lchmod |
| 18 | 16 | #define __stub_revoke |
lib/libc/include/generic-glibc/gnu/stubs-n64_hard.h-2| ... | ... | @@ -10,9 +10,7 @@ |
| 10 | 10 | #define __stub___compat_bdflush |
| 11 | 11 | #define __stub___compat_uselib |
| 12 | 12 | #define __stub_chflags |
| 13 | #define __stub_fattach | |
| 14 | 13 | #define __stub_fchflags |
| 15 | #define __stub_fdetach | |
| 16 | 14 | #define __stub_gtty |
| 17 | 15 | #define __stub_lchmod |
| 18 | 16 | #define __stub_revoke |
lib/libc/include/generic-glibc/gnu/stubs-o32_hard.h-2| ... | ... | @@ -8,9 +8,7 @@ |
| 8 | 8 | #endif |
| 9 | 9 | |
| 10 | 10 | #define __stub_chflags |
| 11 | #define __stub_fattach | |
| 12 | 11 | #define __stub_fchflags |
| 13 | #define __stub_fdetach | |
| 14 | 12 | #define __stub_gtty |
| 15 | 13 | #define __stub_lchmod |
| 16 | 14 | #define __stub_revoke |
lib/libc/include/generic-glibc/gnu/stubs-soft.h-6| ... | ... | @@ -11,15 +11,9 @@ |
| 11 | 11 | #define __stub___compat_get_kernel_syms |
| 12 | 12 | #define __stub___compat_query_module |
| 13 | 13 | #define __stub_chflags |
| 14 | #define __stub_fattach | |
| 15 | 14 | #define __stub_fchflags |
| 16 | #define __stub_fdetach | |
| 17 | #define __stub_getmsg | |
| 18 | #define __stub_getpmsg | |
| 19 | 15 | #define __stub_gtty |
| 20 | 16 | #define __stub_lchmod |
| 21 | #define __stub_putmsg | |
| 22 | #define __stub_putpmsg | |
| 23 | 17 | #define __stub_revoke |
| 24 | 18 | #define __stub_setlogin |
| 25 | 19 | #define __stub_sigreturn |
lib/libc/include/generic-glibc/malloc.h+10-10| ... | ... | @@ -35,11 +35,12 @@ |
| 35 | 35 | __BEGIN_DECLS |
| 36 | 36 | |
| 37 | 37 | /* Allocate SIZE bytes of memory. */ |
| 38 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur; | |
| 38 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | |
| 39 | __attribute_alloc_size__ ((1)) __wur; | |
| 39 | 40 | |
| 40 | 41 | /* Allocate NMEMB elements of SIZE bytes each, all initialized to 0. */ |
| 41 | 42 | extern void *calloc (size_t __nmemb, size_t __size) |
| 42 | __THROW __attribute_malloc__ __wur; | |
| 43 | __THROW __attribute_malloc__ __attribute_alloc_size__ ((1, 2)) __wur; | |
| 43 | 44 | |
| 44 | 45 | /* Re-allocate the previously allocated block in __ptr, making the new |
| 45 | 46 | block SIZE bytes long. */ |
| ... | ... | @@ -47,7 +48,7 @@ __THROW __attribute_malloc__ __wur; |
| 47 | 48 | the same pointer that was passed to it, aliasing needs to be allowed |
| 48 | 49 | between objects pointed by the old and new pointers. */ |
| 49 | 50 | extern void *realloc (void *__ptr, size_t __size) |
| 50 | __THROW __attribute_warn_unused_result__; | |
| 51 | __THROW __attribute_warn_unused_result__ __attribute_alloc_size__ ((2)); | |
| 51 | 52 | |
| 52 | 53 | /* Re-allocate the previously allocated block in PTR, making the new |
| 53 | 54 | block large enough for NMEMB elements of SIZE bytes each. */ |
| ... | ... | @@ -55,21 +56,23 @@ __THROW __attribute_warn_unused_result__; |
| 55 | 56 | the same pointer that was passed to it, aliasing needs to be allowed |
| 56 | 57 | between objects pointed by the old and new pointers. */ |
| 57 | 58 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) |
| 58 | __THROW __attribute_warn_unused_result__; | |
| 59 | __THROW __attribute_warn_unused_result__ __attribute_alloc_size__ ((2, 3)); | |
| 59 | 60 | |
| 60 | 61 | /* Free a block allocated by `malloc', `realloc' or `calloc'. */ |
| 61 | 62 | extern void free (void *__ptr) __THROW; |
| 62 | 63 | |
| 63 | 64 | /* Allocate SIZE bytes allocated to ALIGNMENT bytes. */ |
| 64 | 65 | extern void *memalign (size_t __alignment, size_t __size) |
| 65 | __THROW __attribute_malloc__ __wur; | |
| 66 | __THROW __attribute_malloc__ __attribute_alloc_size__ ((2)) __wur; | |
| 66 | 67 | |
| 67 | 68 | /* Allocate SIZE bytes on a page boundary. */ |
| 68 | extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur; | |
| 69 | extern void *valloc (size_t __size) __THROW __attribute_malloc__ | |
| 70 | __attribute_alloc_size__ ((1)) __wur; | |
| 69 | 71 | |
| 70 | 72 | /* Equivalent to valloc(minimum-page-that-holds(n)), that is, round up |
| 71 | 73 | __size to nearest pagesize. */ |
| 72 | extern void *pvalloc (size_t __size) __THROW __attribute_malloc__ __wur; | |
| 74 | extern void *pvalloc (size_t __size) __THROW __attribute_malloc__ | |
| 75 | __attribute_alloc_size__ ((1)) __wur; | |
| 73 | 76 | |
| 74 | 77 | /* Underlying allocation function; successive calls should return |
| 75 | 78 | contiguous pieces of memory. */ |
| ... | ... | @@ -156,9 +159,6 @@ extern void *(*__MALLOC_HOOK_VOLATILE __memalign_hook)(size_t __alignment, |
| 156 | 159 | __MALLOC_DEPRECATED; |
| 157 | 160 | extern void (*__MALLOC_HOOK_VOLATILE __after_morecore_hook) (void); |
| 158 | 161 | |
| 159 | /* Activate a standard set of debugging hooks. */ | |
| 160 | extern void __malloc_check_init (void) __THROW __MALLOC_DEPRECATED; | |
| 161 | ||
| 162 | 162 | |
| 163 | 163 | __END_DECLS |
| 164 | 164 | #endif /* malloc.h */ |
| \ No newline at end of file |
lib/libc/include/generic-glibc/math.h+11-6| ... | ... | @@ -874,7 +874,8 @@ enum |
| 874 | 874 | the __SUPPORT_SNAN__ check may be skipped for those versions. */ |
| 875 | 875 | |
| 876 | 876 | /* Return number of classification appropriate for X. */ |
| 877 | # if __GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__			 \ | |
| 877 | # if ((__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__)		 \ | |
| 878 | || __glibc_clang_prereq (2,8))					 \ | |
| 878 | 879 | && (!defined __OPTIMIZE_SIZE__ || defined __cplusplus) |
| 879 | 880 | /* The check for __cplusplus allows the use of the builtin, even |
| 880 | 881 | 	when optimization for size is on. This is provided for |
| ... | ... | @@ -889,7 +890,7 @@ enum |
| 889 | 890 | # endif |
| 890 | 891 | |
| 891 | 892 | /* Return nonzero value if sign of X is negative. */ |
| 892 | # if __GNUC_PREREQ (6,0) | |
| 893 | # if __GNUC_PREREQ (6,0) || __glibc_clang_prereq (3,3) | |
| 893 | 894 | # define signbit(x) __builtin_signbit (x) |
| 894 | 895 | # elif defined __cplusplus |
| 895 | 896 | /* In C++ mode, __MATH_TG cannot be used, because it relies on |
| ... | ... | @@ -907,14 +908,16 @@ enum |
| 907 | 908 | # endif |
| 908 | 909 | |
| 909 | 910 | /* Return nonzero value if X is not +-Inf or NaN. */ |
| 910 | # if __GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__ | |
| 911 | # if (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \ | |
| 912 | || __glibc_clang_prereq (2,8) | |
| 911 | 913 | # define isfinite(x) __builtin_isfinite (x) |
| 912 | 914 | # else |
| 913 | 915 | # define isfinite(x) __MATH_TG ((x), __finite, (x)) |
| 914 | 916 | # endif |
| 915 | 917 | |
| 916 | 918 | /* Return nonzero value if X is neither zero, subnormal, Inf, nor NaN. */ |
| 917 | # if __GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__ | |
| 919 | # if (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \ | |
| 920 | || __glibc_clang_prereq (2,8) | |
| 918 | 921 | # define isnormal(x) __builtin_isnormal (x) |
| 919 | 922 | # else |
| 920 | 923 | # define isnormal(x) (fpclassify (x) == FP_NORMAL) |
| ... | ... | @@ -922,7 +925,8 @@ enum |
| 922 | 925 | |
| 923 | 926 | /* Return nonzero value if X is a NaN. We could use `fpclassify' but |
| 924 | 927 | we already have this functions `__isnan' and it is faster. */ |
| 925 | # if __GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__ | |
| 928 | # if (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \ | |
| 929 | || __glibc_clang_prereq (2,8) | |
| 926 | 930 | # define isnan(x) __builtin_isnan (x) |
| 927 | 931 | # else |
| 928 | 932 | # define isnan(x) __MATH_TG ((x), __isnan, (x)) |
| ... | ... | @@ -939,7 +943,8 @@ enum |
| 939 | 943 | # define isinf(x) \ |
| 940 | 944 | (__builtin_types_compatible_p (__typeof (x), _Float128) \ |
| 941 | 945 | ? __isinff128 (x) : __builtin_isinf_sign (x)) |
| 942 | # elif __GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__ | |
| 946 | # elif (__GNUC_PREREQ (4,4) && !defined __SUPPORT_SNAN__) \ | |
| 947 | || __glibc_clang_prereq (3,7) | |
| 943 | 948 | # define isinf(x) __builtin_isinf_sign (x) |
| 944 | 949 | # else |
| 945 | 950 | # define isinf(x) __MATH_TG ((x), __isinf, (x)) |
lib/libc/include/generic-glibc/netinet/igmp.h+1| ... | ... | @@ -86,6 +86,7 @@ struct igmp { |
| 86 | 86 | |
| 87 | 87 | #define IGMP_MTRACE_RESP		0x1e	/* traceroute resp.(to sender)*/ |
| 88 | 88 | #define IGMP_MTRACE			0x1f	/* mcast traceroute messages */ |
| 89 | #define IGMP_MRDISC_ADV			0x30	/* From RFC4286. */ | |
| 89 | 90 | |
| 90 | 91 | #define IGMP_MAX_HOST_REPORT_DELAY	10	/* max delay for response to */ |
| 91 | 92 | 						/* query (in seconds) according */ |
lib/libc/include/generic-glibc/netinet/in.h+1| ... | ... | @@ -204,6 +204,7 @@ enum |
| 204 | 204 | #define INADDR_UNSPEC_GROUP	((in_addr_t) 0xe0000000) /* 224.0.0.0 */ |
| 205 | 205 | #define INADDR_ALLHOSTS_GROUP	((in_addr_t) 0xe0000001) /* 224.0.0.1 */ |
| 206 | 206 | #define INADDR_ALLRTRS_GROUP ((in_addr_t) 0xe0000002) /* 224.0.0.2 */ |
| 207 | #define INADDR_ALLSNOOPERS_GROUP ((in_addr_t) 0xe000006a) /* 224.0.0.106 */ | |
| 207 | 208 | #define INADDR_MAX_LOCAL_GROUP ((in_addr_t) 0xe00000ff) /* 224.0.0.255 */ |
| 208 | 209 | |
| 209 | 210 | #if !__USE_KERNEL_IPV6_DEFS |
lib/libc/include/generic-glibc/netinet/udp.h+1| ... | ... | @@ -82,6 +82,7 @@ struct udphdr |
| 82 | 82 | #define UDP_NO_CHECK6_RX 102	/* Disable accepting checksum for UDP |
| 83 | 83 | 				 over IPv6. */ |
| 84 | 84 | #define UDP_SEGMENT	103	/* Set GSO segmentation size. */ |
| 85 | #define UDP_GRO		104	/* This socket can receive UDP GRO packets. */ | |
| 85 | 86 | |
| 86 | 87 | /* UDP encapsulation types */ |
| 87 | 88 | #define UDP_ENCAP_ESPINUDP_NON_IKE 1	/* draft-ietf-ipsec-nat-t-ike-00/01 */ |
lib/libc/include/generic-glibc/pthread.h+36| ... | ... | @@ -770,6 +770,13 @@ extern int pthread_mutex_timedlock (pthread_mutex_t *__restrict __mutex, |
| 770 | 770 | 				 __abstime) __THROWNL __nonnull ((1, 2)); |
| 771 | 771 | #endif |
| 772 | 772 | |
| 773 | #ifdef __USE_GNU | |
| 774 | extern int pthread_mutex_clocklock (pthread_mutex_t *__restrict __mutex, | |
| 775 | 				 clockid_t __clockid, | |
| 776 | 				 const struct timespec *__restrict | |
| 777 | 				 __abstime) __THROWNL __nonnull ((1, 3)); | |
| 778 | #endif | |
| 779 | ||
| 773 | 780 | /* Unlock a mutex. */ |
| 774 | 781 | extern int pthread_mutex_unlock (pthread_mutex_t *__mutex) |
| 775 | 782 | __THROWNL __nonnull ((1)); |
| ... | ... | @@ -909,6 +916,13 @@ extern int pthread_rwlock_timedrdlock (pthread_rwlock_t *__restrict __rwlock, |
| 909 | 916 | 				 __abstime) __THROWNL __nonnull ((1, 2)); |
| 910 | 917 | # endif |
| 911 | 918 | |
| 919 | # ifdef __USE_GNU | |
| 920 | extern int pthread_rwlock_clockrdlock (pthread_rwlock_t *__restrict __rwlock, | |
| 921 | 				 clockid_t __clockid, | |
| 922 | 				 const struct timespec *__restrict | |
| 923 | 				 __abstime) __THROWNL __nonnull ((1, 3)); | |
| 924 | # endif | |
| 925 | ||
| 912 | 926 | /* Acquire write lock for RWLOCK. */ |
| 913 | 927 | extern int pthread_rwlock_wrlock (pthread_rwlock_t *__rwlock) |
| 914 | 928 | __THROWNL __nonnull ((1)); |
| ... | ... | @@ -924,6 +938,13 @@ extern int pthread_rwlock_timedwrlock (pthread_rwlock_t *__restrict __rwlock, |
| 924 | 938 | 				 __abstime) __THROWNL __nonnull ((1, 2)); |
| 925 | 939 | # endif |
| 926 | 940 | |
| 941 | # ifdef __USE_GNU | |
| 942 | extern int pthread_rwlock_clockwrlock (pthread_rwlock_t *__restrict __rwlock, | |
| 943 | 				 clockid_t __clockid, | |
| 944 | 				 const struct timespec *__restrict | |
| 945 | 				 __abstime) __THROWNL __nonnull ((1, 3)); | |
| 946 | # endif | |
| 947 | ||
| 927 | 948 | /* Unlock RWLOCK. */ |
| 928 | 949 | extern int pthread_rwlock_unlock (pthread_rwlock_t *__rwlock) |
| 929 | 950 | __THROWNL __nonnull ((1)); |
| ... | ... | @@ -1003,6 +1024,21 @@ extern int pthread_cond_timedwait (pthread_cond_t *__restrict __cond, |
| 1003 | 1024 | 				 const struct timespec *__restrict __abstime) |
| 1004 | 1025 | __nonnull ((1, 2, 3)); |
| 1005 | 1026 | |
| 1027 | # ifdef __USE_GNU | |
| 1028 | /* Wait for condition variable COND to be signaled or broadcast until | |
| 1029 | ABSTIME measured by the specified clock. MUTEX is assumed to be | |
| 1030 | locked before. CLOCK is the clock to use. ABSTIME is an absolute | |
| 1031 | time specification against CLOCK's epoch. | |
| 1032 | ||
| 1033 | This function is a cancellation point and therefore not marked with | |
| 1034 | __THROW. */ | |
| 1035 | extern int pthread_cond_clockwait (pthread_cond_t *__restrict __cond, | |
| 1036 | 				 pthread_mutex_t *__restrict __mutex, | |
| 1037 | 				 __clockid_t __clock_id, | |
| 1038 | 				 const struct timespec *__restrict __abstime) | |
| 1039 | __nonnull ((1, 2, 4)); | |
| 1040 | # endif | |
| 1041 | ||
| 1006 | 1042 | /* Functions for handling condition variable attributes. */ |
| 1007 | 1043 | |
| 1008 | 1044 | /* Initialize condition variable attribute ATTR. */ |
lib/libc/include/generic-glibc/resolv.h-4| ... | ... | @@ -115,11 +115,7 @@ struct res_sym { |
| 115 | 115 | #define RES_DEFNAMES	0x00000080	/* use default domain name */ |
| 116 | 116 | #define RES_STAYOPEN	0x00000100	/* Keep TCP socket open */ |
| 117 | 117 | #define RES_DNSRCH	0x00000200	/* search up local domain tree */ |
| 118 | #define	RES_INSECURE1	0x00000400	/* type 1 security disabled */ | |
| 119 | #define	RES_INSECURE2	0x00000800	/* type 2 security disabled */ | |
| 120 | 118 | #define	RES_NOALIASES	0x00001000	/* shuts off HOSTALIASES feature */ |
| 121 | #define	RES_USE_INET6	\ | |
| 122 | __glibc_macro_warning ("RES_USE_INET6 is deprecated") 0x00002000 | |
| 123 | 119 | #define RES_ROTATE	0x00004000	/* rotate ns list after each query */ |
| 124 | 120 | #define	RES_NOCHECKNAME \ |
| 125 | 121 | __glibc_macro_warning ("RES_NOCHECKNAME is deprecated") 0x00008000 |
lib/libc/include/generic-glibc/search.h+7| ... | ... | @@ -150,6 +150,13 @@ typedef void (*__action_fn_t) (const void *__nodep, VISIT __value, |
| 150 | 150 | extern void twalk (const void *__root, __action_fn_t __action); |
| 151 | 151 | |
| 152 | 152 | #ifdef __USE_GNU |
| 153 | /* Like twalk, but pass down a closure parameter instead of the | |
| 154 | level. */ | |
| 155 | extern void twalk_r (const void *__root, | |
| 156 | 		 void (*) (const void *__nodep, VISIT __value, | |
| 157 | 			 void *__closure), | |
| 158 | 		 void *__closure); | |
| 159 | ||
| 153 | 160 | /* Callback type for function to free a tree node. If the keys are atomic |
| 154 | 161 | data this function should do nothing. */ |
| 155 | 162 | typedef void (*__free_fn_t) (void *__nodep); |
lib/libc/include/generic-glibc/semaphore.h+20-10| ... | ... | @@ -33,24 +33,26 @@ __BEGIN_DECLS |
| 33 | 33 | /* Initialize semaphore object SEM to VALUE. If PSHARED then share it |
| 34 | 34 | with other processes. */ |
| 35 | 35 | extern int sem_init (sem_t *__sem, int __pshared, unsigned int __value) |
| 36 | __THROW; | |
| 36 | __THROW __nonnull ((1)); | |
| 37 | ||
| 37 | 38 | /* Free resources associated with semaphore object SEM. */ |
| 38 | extern int sem_destroy (sem_t *__sem) __THROW; | |
| 39 | extern int sem_destroy (sem_t *__sem) __THROW __nonnull ((1)); | |
| 39 | 40 | |
| 40 | 41 | /* Open a named semaphore NAME with open flags OFLAG. */ |
| 41 | extern sem_t *sem_open (const char *__name, int __oflag, ...) __THROW; | |
| 42 | extern sem_t *sem_open (const char *__name, int __oflag, ...) | |
| 43 | __THROW __nonnull ((1)); | |
| 42 | 44 | |
| 43 | 45 | /* Close descriptor for named semaphore SEM. */ |
| 44 | extern int sem_close (sem_t *__sem) __THROW; | |
| 46 | extern int sem_close (sem_t *__sem) __THROW __nonnull ((1)); | |
| 45 | 47 | |
| 46 | 48 | /* Remove named semaphore NAME. */ |
| 47 | extern int sem_unlink (const char *__name) __THROW; | |
| 49 | extern int sem_unlink (const char *__name) __THROW __nonnull ((1)); | |
| 48 | 50 | |
| 49 | 51 | /* Wait for SEM being posted. |
| 50 | 52 | |
| 51 | 53 | This function is a cancellation point and therefore not marked with |
| 52 | 54 | __THROW. */ |
| 53 | extern int sem_wait (sem_t *__sem); | |
| 55 | extern int sem_wait (sem_t *__sem) __nonnull ((1)); | |
| 54 | 56 | |
| 55 | 57 | #ifdef __USE_XOPEN2K |
| 56 | 58 | /* Similar to `sem_wait' but wait only until ABSTIME. |
| ... | ... | @@ -58,18 +60,26 @@ extern int sem_wait (sem_t *__sem); |
| 58 | 60 | This function is a cancellation point and therefore not marked with |
| 59 | 61 | __THROW. */ |
| 60 | 62 | extern int sem_timedwait (sem_t *__restrict __sem, |
| 61 | 			 const struct timespec *__restrict __abstime); | |
| 63 | 			 const struct timespec *__restrict __abstime) | |
| 64 | __nonnull ((1, 2)); | |
| 65 | #endif | |
| 66 | ||
| 67 | #ifdef __USE_GNU | |
| 68 | extern int sem_clockwait (sem_t *__restrict __sem, | |
| 69 | 			 clockid_t clock, | |
| 70 | 			 const struct timespec *__restrict __abstime) | |
| 71 | __nonnull ((1, 3)); | |
| 62 | 72 | #endif |
| 63 | 73 | |
| 64 | 74 | /* Test whether SEM is posted. */ |
| 65 | extern int sem_trywait (sem_t *__sem) __THROWNL; | |
| 75 | extern int sem_trywait (sem_t *__sem) __THROWNL __nonnull ((1)); | |
| 66 | 76 | |
| 67 | 77 | /* Post SEM. */ |
| 68 | extern int sem_post (sem_t *__sem) __THROWNL; | |
| 78 | extern int sem_post (sem_t *__sem) __THROWNL __nonnull ((1)); | |
| 69 | 79 | |
| 70 | 80 | /* Get current value of SEM and store it in *SVAL. */ |
| 71 | 81 | extern int sem_getvalue (sem_t *__restrict __sem, int *__restrict __sval) |
| 72 | __THROW; | |
| 82 | __THROW __nonnull ((1, 2)); | |
| 73 | 83 | |
| 74 | 84 | |
| 75 | 85 | __END_DECLS |
lib/libc/include/generic-glibc/signal.h+3| ... | ... | @@ -370,6 +370,9 @@ extern int __libc_current_sigrtmax (void) __THROW; |
| 370 | 370 | #define SIGRTMIN (__libc_current_sigrtmin ()) |
| 371 | 371 | #define SIGRTMAX (__libc_current_sigrtmax ()) |
| 372 | 372 | |
| 373 | /* System-specific extensions. */ | |
| 374 | #include <bits/signal_ext.h> | |
| 375 | ||
| 373 | 376 | __END_DECLS |
| 374 | 377 | |
| 375 | 378 | #endif /* not signal.h */ |
| \ No newline at end of file |
lib/libc/include/generic-glibc/stdlib.h+8-5| ... | ... | @@ -536,10 +536,11 @@ extern int lcong48_r (unsigned short int __param[7], |
| 536 | 536 | #endif	/* Use misc or X/Open. */ |
| 537 | 537 | |
| 538 | 538 | /* Allocate SIZE bytes of memory. */ |
| 539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur; | |
| 539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | |
| 540 | __attribute_alloc_size__ ((1)) __wur; | |
| 540 | 541 | /* Allocate NMEMB elements of SIZE bytes each, all initialized to 0. */ |
| 541 | 542 | extern void *calloc (size_t __nmemb, size_t __size) |
| 542 | __THROW __attribute_malloc__ __wur; | |
| 543 | __THROW __attribute_malloc__ __attribute_alloc_size__ ((1, 2)) __wur; | |
| 543 | 544 | |
| 544 | 545 | /* Re-allocate the previously allocated block |
| 545 | 546 | in PTR, making the new block SIZE bytes long. */ |
| ... | ... | @@ -547,7 +548,7 @@ extern void *calloc (size_t __nmemb, size_t __size) |
| 547 | 548 | the same pointer that was passed to it, aliasing needs to be allowed |
| 548 | 549 | between objects pointed by the old and new pointers. */ |
| 549 | 550 | extern void *realloc (void *__ptr, size_t __size) |
| 550 | __THROW __attribute_warn_unused_result__; | |
| 551 | __THROW __attribute_warn_unused_result__ __attribute_alloc_size__ ((2)); | |
| 551 | 552 | |
| 552 | 553 | #ifdef __USE_MISC |
| 553 | 554 | /* Re-allocate the previously allocated block in PTR, making the new |
| ... | ... | @@ -556,7 +557,8 @@ extern void *realloc (void *__ptr, size_t __size) |
| 556 | 557 | the same pointer that was passed to it, aliasing needs to be allowed |
| 557 | 558 | between objects pointed by the old and new pointers. */ |
| 558 | 559 | extern void *reallocarray (void *__ptr, size_t __nmemb, size_t __size) |
| 559 | __THROW __attribute_warn_unused_result__; | |
| 560 | __THROW __attribute_warn_unused_result__ | |
| 561 | __attribute_alloc_size__ ((2, 3)); | |
| 560 | 562 | #endif |
| 561 | 563 | |
| 562 | 564 | /* Free a block allocated by `malloc', `realloc' or `calloc'. */ |
| ... | ... | @@ -569,7 +571,8 @@ extern void free (void *__ptr) __THROW; |
| 569 | 571 | #if (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K) \ |
| 570 | 572 | || defined __USE_MISC |
| 571 | 573 | /* Allocate SIZE bytes on a page boundary. The storage cannot be freed. */ |
| 572 | extern void *valloc (size_t __size) __THROW __attribute_malloc__ __wur; | |
| 574 | extern void *valloc (size_t __size) __THROW __attribute_malloc__ | |
| 575 | __attribute_alloc_size__ ((1)) __wur; | |
| 573 | 576 | #endif |
| 574 | 577 | |
| 575 | 578 | #ifdef __USE_XOPEN2K |
lib/libc/include/generic-glibc/stropts.h deleted-92| ... | ... | @@ -1,92 +0,0 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | This file is part of the GNU C Library. | |
| 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | |
| 5 | modify it under the terms of the GNU Lesser General Public | |
| 6 | License as published by the Free Software Foundation; either | |
| 7 | version 2.1 of the License, or (at your option) any later version. | |
| 8 | ||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | Lesser General Public License for more details. | |
| 13 | ||
| 14 | You should have received a copy of the GNU Lesser General Public | |
| 15 | License along with the GNU C Library; if not, see | |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 17 | ||
| 18 | #ifndef _STROPTS_H | |
| 19 | #define _STROPTS_H	1 | |
| 20 | ||
| 21 | #include <features.h> | |
| 22 | #include <bits/types.h> | |
| 23 | #include <bits/xtitypes.h> | |
| 24 | ||
| 25 | #ifndef __gid_t_defined | |
| 26 | typedef __gid_t gid_t; | |
| 27 | # define __gid_t_defined | |
| 28 | #endif | |
| 29 | ||
| 30 | #ifndef __uid_t_defined | |
| 31 | typedef __uid_t uid_t; | |
| 32 | # define __uid_t_defined | |
| 33 | #endif | |
| 34 | ||
| 35 | typedef __t_scalar_t t_scalar_t; | |
| 36 | typedef __t_uscalar_t t_uscalar_t; | |
| 37 | ||
| 38 | /* Get system specific constants. */ | |
| 39 | #include <bits/stropts.h> | |
| 40 | ||
| 41 | ||
| 42 | __BEGIN_DECLS | |
| 43 | ||
| 44 | /* Test whether FILDES is associated with a STREAM-based file. */ | |
| 45 | extern int isastream (int __fildes) __THROW; | |
| 46 | ||
| 47 | /* Receive next message from a STREAMS file. | |
| 48 | ||
| 49 | This function is a cancellation point and therefore not marked with | |
| 50 | __THROW. */ | |
| 51 | extern int getmsg (int __fildes, struct strbuf *__restrict __ctlptr, | |
| 52 | 		 struct strbuf *__restrict __dataptr, | |
| 53 | 		 int *__restrict __flagsp); | |
| 54 | ||
| 55 | /* Receive next message from a STREAMS file, with *FLAGSP allowing to | |
| 56 | control which message. | |
| 57 | ||
| 58 | This function is a cancellation point and therefore not marked with | |
| 59 | __THROW. */ | |
| 60 | extern int getpmsg (int __fildes, struct strbuf *__restrict __ctlptr, | |
| 61 | 		 struct strbuf *__restrict __dataptr, | |
| 62 | 		 int *__restrict __bandp, int *__restrict __flagsp); | |
| 63 | ||
| 64 | /* Perform the I/O control operation specified by REQUEST on FD. | |
| 65 | One argument may follow; its presence and type depend on REQUEST. | |
| 66 | Return value depends on REQUEST. Usually -1 indicates error. */ | |
| 67 | extern int ioctl (int __fd, unsigned long int __request, ...) __THROW; | |
| 68 | ||
| 69 | /* Send a message on a STREAM. | |
| 70 | ||
| 71 | This function is a cancellation point and therefore not marked with | |
| 72 | __THROW. */ | |
| 73 | extern int putmsg (int __fildes, const struct strbuf *__ctlptr, | |
| 74 | 		 const struct strbuf *__dataptr, int __flags); | |
| 75 | ||
| 76 | /* Send a message on a STREAM to the BAND. | |
| 77 | ||
| 78 | This function is a cancellation point and therefore not marked with | |
| 79 | __THROW. */ | |
| 80 | extern int putpmsg (int __fildes, const struct strbuf *__ctlptr, | |
| 81 | 		 const struct strbuf *__dataptr, int __band, int __flags); | |
| 82 | ||
| 83 | /* Attach a STREAMS-based file descriptor FILDES to a file PATH in the | |
| 84 | file system name space. */ | |
| 85 | extern int fattach (int __fildes, const char *__path) __THROW; | |
| 86 | ||
| 87 | /* Detach a name PATH from a STREAMS-based file descriptor. */ | |
| 88 | extern int fdetach (const char *__path) __THROW; | |
| 89 | ||
| 90 | __END_DECLS | |
| 91 | ||
| 92 | #endif /* stropts.h */ | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/sys/cdefs.h+8| ... | ... | @@ -412,6 +412,14 @@ |
| 412 | 412 | # define __glibc_has_attribute(attr)	0 |
| 413 | 413 | #endif |
| 414 | 414 | |
| 415 | #ifdef __has_include | |
| 416 | /* Do not use a function-like macro, so that __has_include can inhibit | |
| 417 | macro expansion. */ | |
| 418 | # define __glibc_has_include __has_include | |
| 419 | #else | |
| 420 | # define __glibc_has_include(header)	0 | |
| 421 | #endif | |
| 422 | ||
| 415 | 423 | #if (!defined _Noreturn \ |
| 416 | 424 | && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \ |
| 417 | 425 | && !__GNUC_PREREQ (4,7)) |
lib/libc/include/generic-glibc/sys/ifunc.h created+42| ... | ... | @@ -0,0 +1,42 @@ |
| 1 | /* Definitions used by AArch64 indirect function resolvers. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_IFUNC_H | |
| 20 | #define _SYS_IFUNC_H | |
| 21 | ||
| 22 | /* A second argument is passed to the ifunc resolver. */ | |
| 23 | #define _IFUNC_ARG_HWCAP	(1ULL << 62) | |
| 24 | ||
| 25 | /* The prototype of a gnu indirect function resolver on AArch64 is | |
| 26 | ||
| 27 | ElfW(Addr) ifunc_resolver (uint64_t, const __ifunc_arg_t *); | |
| 28 | ||
| 29 | the first argument should have the _IFUNC_ARG_HWCAP bit set and | |
| 30 | the remaining bits should match the AT_HWCAP settings. */ | |
| 31 | ||
| 32 | /* Second argument to an ifunc resolver. */ | |
| 33 | struct __ifunc_arg_t | |
| 34 | { | |
| 35 | unsigned long _size; /* Size of the struct, so it can grow. */ | |
| 36 | unsigned long _hwcap; | |
| 37 | unsigned long _hwcap2; | |
| 38 | }; | |
| 39 | ||
| 40 | typedef struct __ifunc_arg_t __ifunc_arg_t; | |
| 41 | ||
| 42 | #endif | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/sys/io.h+151-15| ... | ... | @@ -12,36 +12,172 @@ |
| 12 | 12 | Lesser General Public License for more details. |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | License along with the GNU C Library. If not, see | |
| 15 | License along with the GNU C Library; if not, see | |
| 16 | 16 | <http://www.gnu.org/licenses/>. */ |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_IO_H |
| 19 | ||
| 20 | 19 | #define	_SYS_IO_H	1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | 23 | __BEGIN_DECLS |
| 24 | 24 | |
| 25 | 25 | /* If TURN_ON is TRUE, request for permission to do direct i/o on the |
| 26 | 26 | port numbers in the range [FROM,FROM+NUM-1]. Otherwise, turn I/O |
| 27 | permission off for that range. This call requires root privileges. */ | |
| 27 | permission off for that range. This call requires root privileges. | |
| 28 | ||
| 29 | Portability note: not all Linux platforms support this call. Most | |
| 30 | platforms based on the PC I/O architecture probably will, however. | |
| 31 | E.g., Linux/Alpha for Alpha PCs supports this. */ | |
| 28 | 32 | extern int ioperm (unsigned long int __from, unsigned long int __num, |
| 29 | 		 int __turn_on) __THROW; | |
| 33 | int __turn_on) __THROW; | |
| 30 | 34 | |
| 31 | /* Set the I/O privilege level to LEVEL. If LEVEL is nonzero, | |
| 32 | permission to access any I/O port is granted. This call requires | |
| 33 | root privileges. */ | |
| 35 | /* Set the I/O privilege level to LEVEL. If LEVEL>3, permission to | |
| 36 | access any I/O port is granted. This call requires root | |
| 37 | privileges. */ | |
| 34 | 38 | extern int iopl (int __level) __THROW; |
| 35 | 39 | |
| 36 | /* The functions that actually perform reads and writes. */ | |
| 37 | extern unsigned char inb (unsigned long int __port) __THROW; | |
| 38 | extern unsigned short int inw (unsigned long int __port) __THROW; | |
| 39 | extern unsigned long int inl (unsigned long int __port) __THROW; | |
| 40 | #if defined __GNUC__ && __GNUC__ >= 2 | |
| 40 | 41 | |
| 41 | extern void outb (unsigned char __value, unsigned long int __port) __THROW; | |
| 42 | extern void outw (unsigned short __value, unsigned long int __port) __THROW; | |
| 43 | extern void outl (unsigned long __value, unsigned long int __port) __THROW; | |
| 42 | static __inline unsigned char | |
| 43 | inb (unsigned short int __port) | |
| 44 | { | |
| 45 | unsigned char _v; | |
| 44 | 46 | |
| 45 | __END_DECLS | |
| 47 | __asm__ __volatile__ ("inb %w1,%0":"=a" (_v):"Nd" (__port)); | |
| 48 | return _v; | |
| 49 | } | |
| 50 | ||
| 51 | static __inline unsigned char | |
| 52 | inb_p (unsigned short int __port) | |
| 53 | { | |
| 54 | unsigned char _v; | |
| 55 | ||
| 56 | __asm__ __volatile__ ("inb %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (__port)); | |
| 57 | return _v; | |
| 58 | } | |
| 59 | ||
| 60 | static __inline unsigned short int | |
| 61 | inw (unsigned short int __port) | |
| 62 | { | |
| 63 | unsigned short _v; | |
| 64 | ||
| 65 | __asm__ __volatile__ ("inw %w1,%0":"=a" (_v):"Nd" (__port)); | |
| 66 | return _v; | |
| 67 | } | |
| 68 | ||
| 69 | static __inline unsigned short int | |
| 70 | inw_p (unsigned short int __port) | |
| 71 | { | |
| 72 | unsigned short int _v; | |
| 73 | ||
| 74 | __asm__ __volatile__ ("inw %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (__port)); | |
| 75 | return _v; | |
| 76 | } | |
| 77 | ||
| 78 | static __inline unsigned int | |
| 79 | inl (unsigned short int __port) | |
| 80 | { | |
| 81 | unsigned int _v; | |
| 82 | ||
| 83 | __asm__ __volatile__ ("inl %w1,%0":"=a" (_v):"Nd" (__port)); | |
| 84 | return _v; | |
| 85 | } | |
| 86 | ||
| 87 | static __inline unsigned int | |
| 88 | inl_p (unsigned short int __port) | |
| 89 | { | |
| 90 | unsigned int _v; | |
| 91 | __asm__ __volatile__ ("inl %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (__port)); | |
| 92 | return _v; | |
| 93 | } | |
| 94 | ||
| 95 | static __inline void | |
| 96 | outb (unsigned char __value, unsigned short int __port) | |
| 97 | { | |
| 98 | __asm__ __volatile__ ("outb %b0,%w1": :"a" (__value), "Nd" (__port)); | |
| 99 | } | |
| 46 | 100 | |
| 101 | static __inline void | |
| 102 | outb_p (unsigned char __value, unsigned short int __port) | |
| 103 | { | |
| 104 | __asm__ __volatile__ ("outb %b0,%w1\noutb %%al,$0x80": :"a" (__value), | |
| 105 | 			"Nd" (__port)); | |
| 106 | } | |
| 107 | ||
| 108 | static __inline void | |
| 109 | outw (unsigned short int __value, unsigned short int __port) | |
| 110 | { | |
| 111 | __asm__ __volatile__ ("outw %w0,%w1": :"a" (__value), "Nd" (__port)); | |
| 112 | ||
| 113 | } | |
| 114 | ||
| 115 | static __inline void | |
| 116 | outw_p (unsigned short int __value, unsigned short int __port) | |
| 117 | { | |
| 118 | __asm__ __volatile__ ("outw %w0,%w1\noutb %%al,$0x80": :"a" (__value), | |
| 119 | 			"Nd" (__port)); | |
| 120 | } | |
| 121 | ||
| 122 | static __inline void | |
| 123 | outl (unsigned int __value, unsigned short int __port) | |
| 124 | { | |
| 125 | __asm__ __volatile__ ("outl %0,%w1": :"a" (__value), "Nd" (__port)); | |
| 126 | } | |
| 127 | ||
| 128 | static __inline void | |
| 129 | outl_p (unsigned int __value, unsigned short int __port) | |
| 130 | { | |
| 131 | __asm__ __volatile__ ("outl %0,%w1\noutb %%al,$0x80": :"a" (__value), | |
| 132 | 			"Nd" (__port)); | |
| 133 | } | |
| 134 | ||
| 135 | static __inline void | |
| 136 | insb (unsigned short int __port, void *__addr, unsigned long int __count) | |
| 137 | { | |
| 138 | __asm__ __volatile__ ("cld ; rep ; insb":"=D" (__addr), "=c" (__count) | |
| 139 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 140 | } | |
| 141 | ||
| 142 | static __inline void | |
| 143 | insw (unsigned short int __port, void *__addr, unsigned long int __count) | |
| 144 | { | |
| 145 | __asm__ __volatile__ ("cld ; rep ; insw":"=D" (__addr), "=c" (__count) | |
| 146 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 147 | } | |
| 148 | ||
| 149 | static __inline void | |
| 150 | insl (unsigned short int __port, void *__addr, unsigned long int __count) | |
| 151 | { | |
| 152 | __asm__ __volatile__ ("cld ; rep ; insl":"=D" (__addr), "=c" (__count) | |
| 153 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 154 | } | |
| 155 | ||
| 156 | static __inline void | |
| 157 | outsb (unsigned short int __port, const void *__addr, | |
| 158 | unsigned long int __count) | |
| 159 | { | |
| 160 | __asm__ __volatile__ ("cld ; rep ; outsb":"=S" (__addr), "=c" (__count) | |
| 161 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 162 | } | |
| 163 | ||
| 164 | static __inline void | |
| 165 | outsw (unsigned short int __port, const void *__addr, | |
| 166 | unsigned long int __count) | |
| 167 | { | |
| 168 | __asm__ __volatile__ ("cld ; rep ; outsw":"=S" (__addr), "=c" (__count) | |
| 169 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 170 | } | |
| 171 | ||
| 172 | static __inline void | |
| 173 | outsl (unsigned short int __port, const void *__addr, | |
| 174 | unsigned long int __count) | |
| 175 | { | |
| 176 | __asm__ __volatile__ ("cld ; rep ; outsl":"=S" (__addr), "=c" (__count) | |
| 177 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 178 | } | |
| 179 | ||
| 180 | #endif	/* GNU C */ | |
| 181 | ||
| 182 | __END_DECLS | |
| 47 | 183 | #endif /* _SYS_IO_H */ |
| \ No newline at end of file |
lib/libc/include/generic-glibc/sys/stropts.h deleted-1| ... | ... | @@ -1 +0,0 @@ |
| 1 | #include <stropts.h> | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/sys/sysctl.h+4-1| ... | ... | @@ -18,6 +18,8 @@ |
| 18 | 18 | #ifndef	_SYS_SYSCTL_H |
| 19 | 19 | #define	_SYS_SYSCTL_H	1 |
| 20 | 20 | |
| 21 | #warning "The <sys/sysctl.h> header is deprecated and will be removed." | |
| 22 | ||
| 21 | 23 | #include <features.h> |
| 22 | 24 | #define __need_size_t |
| 23 | 25 | #include <stddef.h> |
| ... | ... | @@ -66,7 +68,8 @@ __BEGIN_DECLS |
| 66 | 68 | |
| 67 | 69 | /* Read or write system parameters. */ |
| 68 | 70 | extern int sysctl (int *__name, int __nlen, void *__oldval, |
| 69 | 		 size_t *__oldlenp, void *__newval, size_t __newlen) __THROW; | |
| 71 | 		 size_t *__oldlenp, void *__newval, size_t __newlen) __THROW | |
| 72 | __attribute_deprecated__; | |
| 70 | 73 | |
| 71 | 74 | __END_DECLS |
| 72 | 75 |
lib/libc/include/generic-glibc/sys/types.h+8-25| ... | ... | @@ -154,37 +154,20 @@ typedef unsigned int uint; |
| 154 | 154 | |
| 155 | 155 | #include <bits/stdint-intn.h> |
| 156 | 156 | |
| 157 | #if !__GNUC_PREREQ (2, 7) | |
| 158 | ||
| 159 | 157 | /* These were defined by ISO C without the first `_'. */ |
| 160 | typedef	unsigned char u_int8_t; | |
| 161 | typedef	unsigned short int u_int16_t; | |
| 162 | typedef	unsigned int u_int32_t; | |
| 163 | # if __WORDSIZE == 64 | |
| 164 | typedef unsigned long int u_int64_t; | |
| 165 | # else | |
| 166 | __extension__ typedef unsigned long long int u_int64_t; | |
| 167 | # endif | |
| 168 | ||
| 169 | typedef int register_t; | |
| 170 | ||
| 171 | #else | |
| 172 | ||
| 173 | /* For GCC 2.7 and later, we can use specific type-size attributes. */ | |
| 174 | # define __u_intN_t(N, MODE) \ | |
| 175 | typedef unsigned int u_int##N##_t __attribute__ ((__mode__ (MODE))) | |
| 176 | ||
| 177 | __u_intN_t (8, __QI__); | |
| 178 | __u_intN_t (16, __HI__); | |
| 179 | __u_intN_t (32, __SI__); | |
| 180 | __u_intN_t (64, __DI__); | |
| 158 | typedef __uint8_t u_int8_t; | |
| 159 | typedef __uint16_t u_int16_t; | |
| 160 | typedef __uint32_t u_int32_t; | |
| 161 | typedef __uint64_t u_int64_t; | |
| 181 | 162 | |
| 163 | #if __GNUC_PREREQ (2, 7) | |
| 182 | 164 | typedef int register_t __attribute__ ((__mode__ (__word__))); |
| 183 | ||
| 165 | #else | |
| 166 | typedef int register_t; | |
| 167 | #endif | |
| 184 | 168 | |
| 185 | 169 | /* Some code from BIND tests this macro to see if the types above are |
| 186 | 170 | defined. */ |
| 187 | #endif | |
| 188 | 171 | #define __BIT_TYPES_DEFINED__	1 |
| 189 | 172 | |
| 190 | 173 |
lib/libc/include/i386-linux-gnu/bits/math-vector-fortran.h deleted-43| ... | ... | @@ -1,43 +0,0 @@ |
| 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- | |
| 2 | ! Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | ! This file is part of the GNU C Library. | |
| 4 | ! | |
| 5 | ! The GNU C Library is free software; you can redistribute it and/or | |
| 6 | ! modify it under the terms of the GNU Lesser General Public | |
| 7 | ! License as published by the Free Software Foundation; either | |
| 8 | ! version 2.1 of the License, or (at your option) any later version. | |
| 9 | ! | |
| 10 | ! The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | ! but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | ! Lesser General Public License for more details. | |
| 14 | ! | |
| 15 | ! You should have received a copy of the GNU Lesser General Public | |
| 16 | ! License along with the GNU C Library; if not, see | |
| 17 | ! <http://www.gnu.org/licenses/>. | |
| 18 | ||
| 19 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x86_64') | |
| 20 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x86_64') | |
| 21 | !GCC$ builtin (sin) attributes simd (notinbranch) if('x86_64') | |
| 22 | !GCC$ builtin (sinf) attributes simd (notinbranch) if('x86_64') | |
| 23 | !GCC$ builtin (sincos) attributes simd (notinbranch) if('x86_64') | |
| 24 | !GCC$ builtin (sincosf) attributes simd (notinbranch) if('x86_64') | |
| 25 | !GCC$ builtin (log) attributes simd (notinbranch) if('x86_64') | |
| 26 | !GCC$ builtin (logf) attributes simd (notinbranch) if('x86_64') | |
| 27 | !GCC$ builtin (exp) attributes simd (notinbranch) if('x86_64') | |
| 28 | !GCC$ builtin (expf) attributes simd (notinbranch) if('x86_64') | |
| 29 | !GCC$ builtin (pow) attributes simd (notinbranch) if('x86_64') | |
| 30 | !GCC$ builtin (powf) attributes simd (notinbranch) if('x86_64') | |
| 31 | ||
| 32 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x32') | |
| 33 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x32') | |
| 34 | !GCC$ builtin (sin) attributes simd (notinbranch) if('x32') | |
| 35 | !GCC$ builtin (sinf) attributes simd (notinbranch) if('x32') | |
| 36 | !GCC$ builtin (sincos) attributes simd (notinbranch) if('x32') | |
| 37 | !GCC$ builtin (sincosf) attributes simd (notinbranch) if('x32') | |
| 38 | !GCC$ builtin (log) attributes simd (notinbranch) if('x32') | |
| 39 | !GCC$ builtin (logf) attributes simd (notinbranch) if('x32') | |
| 40 | !GCC$ builtin (exp) attributes simd (notinbranch) if('x32') | |
| 41 | !GCC$ builtin (expf) attributes simd (notinbranch) if('x32') | |
| 42 | !GCC$ builtin (pow) attributes simd (notinbranch) if('x32') | |
| 43 | !GCC$ builtin (powf) attributes simd (notinbranch) if('x32') | |
| \ No newline at end of file |
lib/libc/include/i386-linux-gnu/bits/xtitypes.h deleted-33| ... | ... | @@ -1,33 +0,0 @@ |
| 1 | /* bits/xtitypes.h -- Define some types used by <bits/stropts.h>. x86-64. | |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _STROPTS_H | |
| 20 | # error "Never include <bits/xtitypes.h> directly; use <stropts.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #ifndef _BITS_XTITYPES_H | |
| 24 | #define _BITS_XTITYPES_H	1 | |
| 25 | ||
| 26 | #include <bits/types.h> | |
| 27 | ||
| 28 | /* This type is used by some structs in <bits/stropts.h>. */ | |
| 29 | typedef __SLONG32_TYPE __t_scalar_t; | |
| 30 | typedef __ULONG32_TYPE __t_uscalar_t; | |
| 31 | ||
| 32 | ||
| 33 | #endif /* bits/xtitypes.h */ | |
| \ No newline at end of file |
lib/libc/include/i386-linux-gnu/finclude/math-vector-fortran.h created+43| ... | ... | @@ -0,0 +1,43 @@ |
| 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- | |
| 2 | ! Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | ! This file is part of the GNU C Library. | |
| 4 | ! | |
| 5 | ! The GNU C Library is free software; you can redistribute it and/or | |
| 6 | ! modify it under the terms of the GNU Lesser General Public | |
| 7 | ! License as published by the Free Software Foundation; either | |
| 8 | ! version 2.1 of the License, or (at your option) any later version. | |
| 9 | ! | |
| 10 | ! The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | ! but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | ! Lesser General Public License for more details. | |
| 14 | ! | |
| 15 | ! You should have received a copy of the GNU Lesser General Public | |
| 16 | ! License along with the GNU C Library; if not, see | |
| 17 | ! <http://www.gnu.org/licenses/>. | |
| 18 | ||
| 19 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x86_64') | |
| 20 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x86_64') | |
| 21 | !GCC$ builtin (sin) attributes simd (notinbranch) if('x86_64') | |
| 22 | !GCC$ builtin (sinf) attributes simd (notinbranch) if('x86_64') | |
| 23 | !GCC$ builtin (sincos) attributes simd (notinbranch) if('x86_64') | |
| 24 | !GCC$ builtin (sincosf) attributes simd (notinbranch) if('x86_64') | |
| 25 | !GCC$ builtin (log) attributes simd (notinbranch) if('x86_64') | |
| 26 | !GCC$ builtin (logf) attributes simd (notinbranch) if('x86_64') | |
| 27 | !GCC$ builtin (exp) attributes simd (notinbranch) if('x86_64') | |
| 28 | !GCC$ builtin (expf) attributes simd (notinbranch) if('x86_64') | |
| 29 | !GCC$ builtin (pow) attributes simd (notinbranch) if('x86_64') | |
| 30 | !GCC$ builtin (powf) attributes simd (notinbranch) if('x86_64') | |
| 31 | ||
| 32 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x32') | |
| 33 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x32') | |
| 34 | !GCC$ builtin (sin) attributes simd (notinbranch) if('x32') | |
| 35 | !GCC$ builtin (sinf) attributes simd (notinbranch) if('x32') | |
| 36 | !GCC$ builtin (sincos) attributes simd (notinbranch) if('x32') | |
| 37 | !GCC$ builtin (sincosf) attributes simd (notinbranch) if('x32') | |
| 38 | !GCC$ builtin (log) attributes simd (notinbranch) if('x32') | |
| 39 | !GCC$ builtin (logf) attributes simd (notinbranch) if('x32') | |
| 40 | !GCC$ builtin (exp) attributes simd (notinbranch) if('x32') | |
| 41 | !GCC$ builtin (expf) attributes simd (notinbranch) if('x32') | |
| 42 | !GCC$ builtin (pow) attributes simd (notinbranch) if('x32') | |
| 43 | !GCC$ builtin (powf) attributes simd (notinbranch) if('x32') | |
| \ No newline at end of file |
lib/libc/include/i386-linux-gnu/sys/io.h deleted-183| ... | ... | @@ -1,183 +0,0 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | This file is part of the GNU C Library. | |
| 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | |
| 5 | modify it under the terms of the GNU Lesser General Public | |
| 6 | License as published by the Free Software Foundation; either | |
| 7 | version 2.1 of the License, or (at your option) any later version. | |
| 8 | ||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | Lesser General Public License for more details. | |
| 13 | ||
| 14 | You should have received a copy of the GNU Lesser General Public | |
| 15 | License along with the GNU C Library; if not, see | |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 17 | ||
| 18 | #ifndef	_SYS_IO_H | |
| 19 | #define	_SYS_IO_H	1 | |
| 20 | ||
| 21 | #include <features.h> | |
| 22 | ||
| 23 | __BEGIN_DECLS | |
| 24 | ||
| 25 | /* If TURN_ON is TRUE, request for permission to do direct i/o on the | |
| 26 | port numbers in the range [FROM,FROM+NUM-1]. Otherwise, turn I/O | |
| 27 | permission off for that range. This call requires root privileges. | |
| 28 | ||
| 29 | Portability note: not all Linux platforms support this call. Most | |
| 30 | platforms based on the PC I/O architecture probably will, however. | |
| 31 | E.g., Linux/Alpha for Alpha PCs supports this. */ | |
| 32 | extern int ioperm (unsigned long int __from, unsigned long int __num, | |
| 33 | int __turn_on) __THROW; | |
| 34 | ||
| 35 | /* Set the I/O privilege level to LEVEL. If LEVEL>3, permission to | |
| 36 | access any I/O port is granted. This call requires root | |
| 37 | privileges. */ | |
| 38 | extern int iopl (int __level) __THROW; | |
| 39 | ||
| 40 | #if defined __GNUC__ && __GNUC__ >= 2 | |
| 41 | ||
| 42 | static __inline unsigned char | |
| 43 | inb (unsigned short int __port) | |
| 44 | { | |
| 45 | unsigned char _v; | |
| 46 | ||
| 47 | __asm__ __volatile__ ("inb %w1,%0":"=a" (_v):"Nd" (__port)); | |
| 48 | return _v; | |
| 49 | } | |
| 50 | ||
| 51 | static __inline unsigned char | |
| 52 | inb_p (unsigned short int __port) | |
| 53 | { | |
| 54 | unsigned char _v; | |
| 55 | ||
| 56 | __asm__ __volatile__ ("inb %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (__port)); | |
| 57 | return _v; | |
| 58 | } | |
| 59 | ||
| 60 | static __inline unsigned short int | |
| 61 | inw (unsigned short int __port) | |
| 62 | { | |
| 63 | unsigned short _v; | |
| 64 | ||
| 65 | __asm__ __volatile__ ("inw %w1,%0":"=a" (_v):"Nd" (__port)); | |
| 66 | return _v; | |
| 67 | } | |
| 68 | ||
| 69 | static __inline unsigned short int | |
| 70 | inw_p (unsigned short int __port) | |
| 71 | { | |
| 72 | unsigned short int _v; | |
| 73 | ||
| 74 | __asm__ __volatile__ ("inw %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (__port)); | |
| 75 | return _v; | |
| 76 | } | |
| 77 | ||
| 78 | static __inline unsigned int | |
| 79 | inl (unsigned short int __port) | |
| 80 | { | |
| 81 | unsigned int _v; | |
| 82 | ||
| 83 | __asm__ __volatile__ ("inl %w1,%0":"=a" (_v):"Nd" (__port)); | |
| 84 | return _v; | |
| 85 | } | |
| 86 | ||
| 87 | static __inline unsigned int | |
| 88 | inl_p (unsigned short int __port) | |
| 89 | { | |
| 90 | unsigned int _v; | |
| 91 | __asm__ __volatile__ ("inl %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (__port)); | |
| 92 | return _v; | |
| 93 | } | |
| 94 | ||
| 95 | static __inline void | |
| 96 | outb (unsigned char __value, unsigned short int __port) | |
| 97 | { | |
| 98 | __asm__ __volatile__ ("outb %b0,%w1": :"a" (__value), "Nd" (__port)); | |
| 99 | } | |
| 100 | ||
| 101 | static __inline void | |
| 102 | outb_p (unsigned char __value, unsigned short int __port) | |
| 103 | { | |
| 104 | __asm__ __volatile__ ("outb %b0,%w1\noutb %%al,$0x80": :"a" (__value), | |
| 105 | 			"Nd" (__port)); | |
| 106 | } | |
| 107 | ||
| 108 | static __inline void | |
| 109 | outw (unsigned short int __value, unsigned short int __port) | |
| 110 | { | |
| 111 | __asm__ __volatile__ ("outw %w0,%w1": :"a" (__value), "Nd" (__port)); | |
| 112 | ||
| 113 | } | |
| 114 | ||
| 115 | static __inline void | |
| 116 | outw_p (unsigned short int __value, unsigned short int __port) | |
| 117 | { | |
| 118 | __asm__ __volatile__ ("outw %w0,%w1\noutb %%al,$0x80": :"a" (__value), | |
| 119 | 			"Nd" (__port)); | |
| 120 | } | |
| 121 | ||
| 122 | static __inline void | |
| 123 | outl (unsigned int __value, unsigned short int __port) | |
| 124 | { | |
| 125 | __asm__ __volatile__ ("outl %0,%w1": :"a" (__value), "Nd" (__port)); | |
| 126 | } | |
| 127 | ||
| 128 | static __inline void | |
| 129 | outl_p (unsigned int __value, unsigned short int __port) | |
| 130 | { | |
| 131 | __asm__ __volatile__ ("outl %0,%w1\noutb %%al,$0x80": :"a" (__value), | |
| 132 | 			"Nd" (__port)); | |
| 133 | } | |
| 134 | ||
| 135 | static __inline void | |
| 136 | insb (unsigned short int __port, void *__addr, unsigned long int __count) | |
| 137 | { | |
| 138 | __asm__ __volatile__ ("cld ; rep ; insb":"=D" (__addr), "=c" (__count) | |
| 139 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 140 | } | |
| 141 | ||
| 142 | static __inline void | |
| 143 | insw (unsigned short int __port, void *__addr, unsigned long int __count) | |
| 144 | { | |
| 145 | __asm__ __volatile__ ("cld ; rep ; insw":"=D" (__addr), "=c" (__count) | |
| 146 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 147 | } | |
| 148 | ||
| 149 | static __inline void | |
| 150 | insl (unsigned short int __port, void *__addr, unsigned long int __count) | |
| 151 | { | |
| 152 | __asm__ __volatile__ ("cld ; rep ; insl":"=D" (__addr), "=c" (__count) | |
| 153 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 154 | } | |
| 155 | ||
| 156 | static __inline void | |
| 157 | outsb (unsigned short int __port, const void *__addr, | |
| 158 | unsigned long int __count) | |
| 159 | { | |
| 160 | __asm__ __volatile__ ("cld ; rep ; outsb":"=S" (__addr), "=c" (__count) | |
| 161 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 162 | } | |
| 163 | ||
| 164 | static __inline void | |
| 165 | outsw (unsigned short int __port, const void *__addr, | |
| 166 | unsigned long int __count) | |
| 167 | { | |
| 168 | __asm__ __volatile__ ("cld ; rep ; outsw":"=S" (__addr), "=c" (__count) | |
| 169 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 170 | } | |
| 171 | ||
| 172 | static __inline void | |
| 173 | outsl (unsigned short int __port, const void *__addr, | |
| 174 | unsigned long int __count) | |
| 175 | { | |
| 176 | __asm__ __volatile__ ("cld ; rep ; outsl":"=S" (__addr), "=c" (__count) | |
| 177 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 178 | } | |
| 179 | ||
| 180 | #endif	/* GNU C */ | |
| 181 | ||
| 182 | __END_DECLS | |
| 183 | #endif /* _SYS_IO_H */ | |
| \ No newline at end of file |
lib/libc/include/mips-linux-gnu/bits/socket-constants.h created+38| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_SOCKET_H | |
| 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define SOL_SOCKET 65535 | |
| 24 | #define SO_ACCEPTCONN 4105 | |
| 25 | #define SO_BROADCAST 32 | |
| 26 | #define SO_DONTROUTE 16 | |
| 27 | #define SO_ERROR 4103 | |
| 28 | #define SO_KEEPALIVE 8 | |
| 29 | #define SO_LINGER 128 | |
| 30 | #define SO_OOBINLINE 256 | |
| 31 | #define SO_RCVBUF 4098 | |
| 32 | #define SO_RCVLOWAT 4100 | |
| 33 | #define SO_RCVTIMEO 4102 | |
| 34 | #define SO_REUSEADDR 4 | |
| 35 | #define SO_SNDBUF 4097 | |
| 36 | #define SO_SNDLOWAT 4099 | |
| 37 | #define SO_SNDTIMEO 4101 | |
| 38 | #define SO_TYPE 4104 | |
| \ No newline at end of file |
lib/libc/include/mips64-linux-gnuabi64/bits/socket-constants.h created+38| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_SOCKET_H | |
| 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define SOL_SOCKET 65535 | |
| 24 | #define SO_ACCEPTCONN 4105 | |
| 25 | #define SO_BROADCAST 32 | |
| 26 | #define SO_DONTROUTE 16 | |
| 27 | #define SO_ERROR 4103 | |
| 28 | #define SO_KEEPALIVE 8 | |
| 29 | #define SO_LINGER 128 | |
| 30 | #define SO_OOBINLINE 256 | |
| 31 | #define SO_RCVBUF 4098 | |
| 32 | #define SO_RCVLOWAT 4100 | |
| 33 | #define SO_RCVTIMEO 4102 | |
| 34 | #define SO_REUSEADDR 4 | |
| 35 | #define SO_SNDBUF 4097 | |
| 36 | #define SO_SNDLOWAT 4099 | |
| 37 | #define SO_SNDTIMEO 4101 | |
| 38 | #define SO_TYPE 4104 | |
| \ No newline at end of file |
lib/libc/include/mips64-linux-gnuabin32/bits/socket-constants.h created+38| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_SOCKET_H | |
| 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define SOL_SOCKET 65535 | |
| 24 | #define SO_ACCEPTCONN 4105 | |
| 25 | #define SO_BROADCAST 32 | |
| 26 | #define SO_DONTROUTE 16 | |
| 27 | #define SO_ERROR 4103 | |
| 28 | #define SO_KEEPALIVE 8 | |
| 29 | #define SO_LINGER 128 | |
| 30 | #define SO_OOBINLINE 256 | |
| 31 | #define SO_RCVBUF 4098 | |
| 32 | #define SO_RCVLOWAT 4100 | |
| 33 | #define SO_RCVTIMEO 4102 | |
| 34 | #define SO_REUSEADDR 4 | |
| 35 | #define SO_SNDBUF 4097 | |
| 36 | #define SO_SNDLOWAT 4099 | |
| 37 | #define SO_SNDTIMEO 4101 | |
| 38 | #define SO_TYPE 4104 | |
| \ No newline at end of file |
lib/libc/include/mips64el-linux-gnuabi64/bits/socket-constants.h created+38| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_SOCKET_H | |
| 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define SOL_SOCKET 65535 | |
| 24 | #define SO_ACCEPTCONN 4105 | |
| 25 | #define SO_BROADCAST 32 | |
| 26 | #define SO_DONTROUTE 16 | |
| 27 | #define SO_ERROR 4103 | |
| 28 | #define SO_KEEPALIVE 8 | |
| 29 | #define SO_LINGER 128 | |
| 30 | #define SO_OOBINLINE 256 | |
| 31 | #define SO_RCVBUF 4098 | |
| 32 | #define SO_RCVLOWAT 4100 | |
| 33 | #define SO_RCVTIMEO 4102 | |
| 34 | #define SO_REUSEADDR 4 | |
| 35 | #define SO_SNDBUF 4097 | |
| 36 | #define SO_SNDLOWAT 4099 | |
| 37 | #define SO_SNDTIMEO 4101 | |
| 38 | #define SO_TYPE 4104 | |
| \ No newline at end of file |
lib/libc/include/mips64el-linux-gnuabin32/bits/socket-constants.h created+38| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_SOCKET_H | |
| 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define SOL_SOCKET 65535 | |
| 24 | #define SO_ACCEPTCONN 4105 | |
| 25 | #define SO_BROADCAST 32 | |
| 26 | #define SO_DONTROUTE 16 | |
| 27 | #define SO_ERROR 4103 | |
| 28 | #define SO_KEEPALIVE 8 | |
| 29 | #define SO_LINGER 128 | |
| 30 | #define SO_OOBINLINE 256 | |
| 31 | #define SO_RCVBUF 4098 | |
| 32 | #define SO_RCVLOWAT 4100 | |
| 33 | #define SO_RCVTIMEO 4102 | |
| 34 | #define SO_REUSEADDR 4 | |
| 35 | #define SO_SNDBUF 4097 | |
| 36 | #define SO_SNDLOWAT 4099 | |
| 37 | #define SO_SNDTIMEO 4101 | |
| 38 | #define SO_TYPE 4104 | |
| \ No newline at end of file |
lib/libc/include/mipsel-linux-gnu/bits/socket-constants.h created+38| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_SOCKET_H | |
| 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define SOL_SOCKET 65535 | |
| 24 | #define SO_ACCEPTCONN 4105 | |
| 25 | #define SO_BROADCAST 32 | |
| 26 | #define SO_DONTROUTE 16 | |
| 27 | #define SO_ERROR 4103 | |
| 28 | #define SO_KEEPALIVE 8 | |
| 29 | #define SO_LINGER 128 | |
| 30 | #define SO_OOBINLINE 256 | |
| 31 | #define SO_RCVBUF 4098 | |
| 32 | #define SO_RCVLOWAT 4100 | |
| 33 | #define SO_RCVTIMEO 4102 | |
| 34 | #define SO_REUSEADDR 4 | |
| 35 | #define SO_SNDBUF 4097 | |
| 36 | #define SO_SNDLOWAT 4099 | |
| 37 | #define SO_SNDTIMEO 4101 | |
| 38 | #define SO_TYPE 4104 | |
| \ No newline at end of file |
lib/libc/include/powerpc-linux-gnu/bits/fenvinline.h+30-7| ... | ... | @@ -18,13 +18,36 @@ |
| 18 | 18 | |
| 19 | 19 | #if defined __GNUC__ && !defined _SOFT_FLOAT && !defined __NO_FPRS__ |
| 20 | 20 | |
| 21 | /* Inline definition for fegetround. */ | |
| 22 | # define __fegetround() \ | |
| 23 | (__extension__ ({ int __fegetround_result;				 \ | |
| 24 | 		 __asm__ __volatile__				 \ | |
| 25 | 		 ("mcrfs 7,7 ; mfcr %0"				 \ | |
| 26 | 			: "=r"(__fegetround_result) : : "cr7");		 \ | |
| 27 | 		 __fegetround_result & 3; })) | |
| 21 | /* Inline definitions for fegetround. */ | |
| 22 | # define __fegetround_ISA300()						\ | |
| 23 | (__extension__ ({							\ | |
| 24 | union { double __d; unsigned long long __ll; } __u;			\ | |
| 25 | __asm__ __volatile__ (						\ | |
| 26 | ".machine push; .machine \"power9\"; mffsl %0; .machine pop"	\ | |
| 27 | : "=f" (__u.__d));						\ | |
| 28 | __u.__ll & 0x0000000000000003LL;					\ | |
| 29 | })) | |
| 30 | ||
| 31 | # define __fegetround_ISA2()						\ | |
| 32 | (__extension__ ({							\ | |
| 33 | int __fegetround_result;						\ | |
| 34 | __asm__ __volatile__ ("mcrfs 7,7 ; mfcr %0"			\ | |
| 35 | 			 : "=r"(__fegetround_result) : : "cr7");	\ | |
| 36 | __fegetround_result & 3;						\ | |
| 37 | })) | |
| 38 | ||
| 39 | # ifdef _ARCH_PWR9 | |
| 40 | # define __fegetround() __fegetround_ISA300() | |
| 41 | # elif defined __BUILTIN_CPU_SUPPORTS__ | |
| 42 | # define __fegetround()						\ | |
| 43 | (__glibc_likely (__builtin_cpu_supports ("arch_3_00"))		\ | |
| 44 | ? __fegetround_ISA300()						\ | |
| 45 | : __fegetround_ISA2()						\ | |
| 46 | ) | |
| 47 | # else | |
| 48 | # define __fegetround() __fegetround_ISA2() | |
| 49 | # endif | |
| 50 | ||
| 28 | 51 | # define fegetround() __fegetround () |
| 29 | 52 | |
| 30 | 53 | # ifndef __NO_MATH_INLINES |
lib/libc/include/powerpc-linux-gnu/bits/socket-constants.h created+38| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for POWER. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_SOCKET_H | |
| 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define SOL_SOCKET 1 | |
| 24 | #define SO_ACCEPTCONN 30 | |
| 25 | #define SO_BROADCAST 6 | |
| 26 | #define SO_DONTROUTE 5 | |
| 27 | #define SO_ERROR 4 | |
| 28 | #define SO_KEEPALIVE 9 | |
| 29 | #define SO_LINGER 13 | |
| 30 | #define SO_OOBINLINE 10 | |
| 31 | #define SO_RCVBUF 8 | |
| 32 | #define SO_RCVLOWAT 16 | |
| 33 | #define SO_RCVTIMEO 18 | |
| 34 | #define SO_REUSEADDR 2 | |
| 35 | #define SO_SNDBUF 7 | |
| 36 | #define SO_SNDLOWAT 17 | |
| 37 | #define SO_SNDTIMEO 19 | |
| 38 | #define SO_TYPE 3 | |
| \ No newline at end of file |
lib/libc/include/powerpc-linux-gnu/fpu_control.h+33-39| ... | ... | @@ -19,6 +19,10 @@ |
| 19 | 19 | #ifndef _FPU_CONTROL_H |
| 20 | 20 | #define _FPU_CONTROL_H |
| 21 | 21 | |
| 22 | #if defined __SPE__ || (defined __NO_FPRS__ && !defined _SOFT_FLOAT) | |
| 23 | # error "SPE/e500 is no longer supported" | |
| 24 | #endif | |
| 25 | ||
| 22 | 26 | #ifdef _SOFT_FLOAT |
| 23 | 27 | |
| 24 | 28 | # define _FPU_RESERVED 0xffffffff |
| ... | ... | @@ -28,41 +32,6 @@ typedef unsigned int fpu_control_t; |
| 28 | 32 | # define _FPU_SETCW(cw) (void) (cw) |
| 29 | 33 | extern fpu_control_t __fpu_control; |
| 30 | 34 | |
| 31 | #elif defined __NO_FPRS__ /* e500 */ | |
| 32 | ||
| 33 | /* rounding control */ | |
| 34 | # define _FPU_RC_NEAREST 0x00 /* RECOMMENDED */ | |
| 35 | # define _FPU_RC_DOWN 0x03 | |
| 36 | # define _FPU_RC_UP 0x02 | |
| 37 | # define _FPU_RC_ZERO 0x01 | |
| 38 | ||
| 39 | /* masking of interrupts */ | |
| 40 | # define _FPU_MASK_ZM 0x10 /* zero divide */ | |
| 41 | # define _FPU_MASK_OM 0x04 /* overflow */ | |
| 42 | # define _FPU_MASK_UM 0x08 /* underflow */ | |
| 43 | # define _FPU_MASK_XM 0x40 /* inexact */ | |
| 44 | # define _FPU_MASK_IM 0x20 /* invalid operation */ | |
| 45 | ||
| 46 | # define _FPU_RESERVED 0x00c10080 /* These bits are reserved and not changed. */ | |
| 47 | ||
| 48 | /* Correct IEEE semantics require traps to be enabled at the hardware | |
| 49 | level; the kernel then does the emulation and determines whether | |
| 50 | generation of signals from those traps was enabled using prctl. */ | |
| 51 | # define _FPU_DEFAULT 0x0000003c /* Default value. */ | |
| 52 | # define _FPU_IEEE _FPU_DEFAULT | |
| 53 | ||
| 54 | /* Type of the control word. */ | |
| 55 | typedef unsigned int fpu_control_t; | |
| 56 | ||
| 57 | /* Macros for accessing the hardware control word. */ | |
| 58 | # define _FPU_GETCW(cw) \ | |
| 59 | __asm__ volatile ("mfspefscr %0" : "=r" (cw)) | |
| 60 | # define _FPU_SETCW(cw) \ | |
| 61 | __asm__ volatile ("mtspefscr %0" : : "r" (cw)) | |
| 62 | ||
| 63 | /* Default control word set at startup. */ | |
| 64 | extern fpu_control_t __fpu_control; | |
| 65 | ||
| 66 | 35 | #else /* PowerPC 6xx floating-point. */ |
| 67 | 36 | |
| 68 | 37 | /* rounding control */ |
| ... | ... | @@ -71,6 +40,8 @@ extern fpu_control_t __fpu_control; |
| 71 | 40 | # define _FPU_RC_UP 0x02 |
| 72 | 41 | # define _FPU_RC_ZERO 0x01 |
| 73 | 42 | |
| 43 | # define _FPU_MASK_RC (_FPU_RC_NEAREST|_FPU_RC_DOWN|_FPU_RC_UP|_FPU_RC_ZERO) | |
| 44 | ||
| 74 | 45 | # define _FPU_MASK_NI 0x04 /* non-ieee mode */ |
| 75 | 46 | |
| 76 | 47 | /* masking of interrupts */ |
| ... | ... | @@ -96,20 +67,43 @@ typedef unsigned int fpu_control_t; |
| 96 | 67 | /* Macros for accessing the hardware control word. */ |
| 97 | 68 | # define _FPU_GETCW(cw)						\ |
| 98 | 69 | ({union { double __d; unsigned long long __ll; } __u;		\ |
| 99 | register double __fr;					\ | |
| 100 | __asm__ ("mffs %0" : "=f" (__fr));				\ | |
| 101 | __u.__d = __fr;						\ | |
| 70 | __asm__ __volatile__("mffs %0" : "=f" (__u.__d));		\ | |
| 102 | 71 | (cw) = (fpu_control_t) __u.__ll;				\ |
| 103 | 72 | (fpu_control_t) __u.__ll;					\ |
| 104 | 73 | }) |
| 105 | 74 | |
| 75 | # define _FPU_GET_RC_ISA300()						\ | |
| 76 | ({union { double __d; unsigned long long __ll; } __u;			\ | |
| 77 | __asm__ __volatile__(						\ | |
| 78 | ".machine push; .machine \"power9\"; mffsl %0; .machine pop" 	\ | |
| 79 | : "=f" (__u.__d));						\ | |
| 80 | (fpu_control_t) (__u.__ll & _FPU_MASK_RC);				\ | |
| 81 | }) | |
| 82 | ||
| 83 | # ifdef _ARCH_PWR9 | |
| 84 | # define _FPU_GET_RC() _FPU_GET_RC_ISA300() | |
| 85 | # elif defined __BUILTIN_CPU_SUPPORTS__ | |
| 86 | # define _FPU_GET_RC()							\ | |
| 87 | ({fpu_control_t __rc;							\ | |
| 88 | __rc = __glibc_likely (__builtin_cpu_supports ("arch_3_00"))	\ | |
| 89 | ? _FPU_GET_RC_ISA300 ()						\ | |
| 90 | : _FPU_GETCW (__rc) & _FPU_MASK_RC;				\ | |
| 91 | __rc;								\ | |
| 92 | }) | |
| 93 | # else | |
| 94 | # define _FPU_GET_RC()						\ | |
| 95 | ({fpu_control_t __rc = _FPU_GETCW (__rc) & _FPU_MASK_RC;	\ | |
| 96 | __rc;							\ | |
| 97 | }) | |
| 98 | # endif | |
| 99 | ||
| 106 | 100 | # define _FPU_SETCW(cw)						\ |
| 107 | 101 | { union { double __d; unsigned long long __ll; } __u;		\ |
| 108 | 102 | register double __fr;					\ |
| 109 | 103 | __u.__ll = 0xfff80000LL << 32; /* This is a QNaN. */	\ |
| 110 | 104 | __u.__ll |= (cw) & 0xffffffffLL;				\ |
| 111 | 105 | __fr = __u.__d;						\ |
| 112 | __asm__ ("mtfsf 255,%0" : : "f" (__fr));			\ | |
| 106 | __asm__ __volatile__("mtfsf 255,%0" : : "f" (__fr));	\ | |
| 113 | 107 | } |
| 114 | 108 | |
| 115 | 109 | /* Default control word set at startup. */ |
lib/libc/include/powerpc64-linux-gnu/bits/fenvinline.h+30-7| ... | ... | @@ -18,13 +18,36 @@ |
| 18 | 18 | |
| 19 | 19 | #if defined __GNUC__ && !defined _SOFT_FLOAT && !defined __NO_FPRS__ |
| 20 | 20 | |
| 21 | /* Inline definition for fegetround. */ | |
| 22 | # define __fegetround() \ | |
| 23 | (__extension__ ({ int __fegetround_result;				 \ | |
| 24 | 		 __asm__ __volatile__				 \ | |
| 25 | 		 ("mcrfs 7,7 ; mfcr %0"				 \ | |
| 26 | 			: "=r"(__fegetround_result) : : "cr7");		 \ | |
| 27 | 		 __fegetround_result & 3; })) | |
| 21 | /* Inline definitions for fegetround. */ | |
| 22 | # define __fegetround_ISA300()						\ | |
| 23 | (__extension__ ({							\ | |
| 24 | union { double __d; unsigned long long __ll; } __u;			\ | |
| 25 | __asm__ __volatile__ (						\ | |
| 26 | ".machine push; .machine \"power9\"; mffsl %0; .machine pop"	\ | |
| 27 | : "=f" (__u.__d));						\ | |
| 28 | __u.__ll & 0x0000000000000003LL;					\ | |
| 29 | })) | |
| 30 | ||
| 31 | # define __fegetround_ISA2()						\ | |
| 32 | (__extension__ ({							\ | |
| 33 | int __fegetround_result;						\ | |
| 34 | __asm__ __volatile__ ("mcrfs 7,7 ; mfcr %0"			\ | |
| 35 | 			 : "=r"(__fegetround_result) : : "cr7");	\ | |
| 36 | __fegetround_result & 3;						\ | |
| 37 | })) | |
| 38 | ||
| 39 | # ifdef _ARCH_PWR9 | |
| 40 | # define __fegetround() __fegetround_ISA300() | |
| 41 | # elif defined __BUILTIN_CPU_SUPPORTS__ | |
| 42 | # define __fegetround()						\ | |
| 43 | (__glibc_likely (__builtin_cpu_supports ("arch_3_00"))		\ | |
| 44 | ? __fegetround_ISA300()						\ | |
| 45 | : __fegetround_ISA2()						\ | |
| 46 | ) | |
| 47 | # else | |
| 48 | # define __fegetround() __fegetround_ISA2() | |
| 49 | # endif | |
| 50 | ||
| 28 | 51 | # define fegetround() __fegetround () |
| 29 | 52 | |
| 30 | 53 | # ifndef __NO_MATH_INLINES |
lib/libc/include/powerpc64-linux-gnu/bits/socket-constants.h created+38| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for POWER. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_SOCKET_H | |
| 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define SOL_SOCKET 1 | |
| 24 | #define SO_ACCEPTCONN 30 | |
| 25 | #define SO_BROADCAST 6 | |
| 26 | #define SO_DONTROUTE 5 | |
| 27 | #define SO_ERROR 4 | |
| 28 | #define SO_KEEPALIVE 9 | |
| 29 | #define SO_LINGER 13 | |
| 30 | #define SO_OOBINLINE 10 | |
| 31 | #define SO_RCVBUF 8 | |
| 32 | #define SO_RCVLOWAT 16 | |
| 33 | #define SO_RCVTIMEO 18 | |
| 34 | #define SO_REUSEADDR 2 | |
| 35 | #define SO_SNDBUF 7 | |
| 36 | #define SO_SNDLOWAT 17 | |
| 37 | #define SO_SNDTIMEO 19 | |
| 38 | #define SO_TYPE 3 | |
| \ No newline at end of file |
lib/libc/include/powerpc64-linux-gnu/fpu_control.h+33-39| ... | ... | @@ -19,6 +19,10 @@ |
| 19 | 19 | #ifndef _FPU_CONTROL_H |
| 20 | 20 | #define _FPU_CONTROL_H |
| 21 | 21 | |
| 22 | #if defined __SPE__ || (defined __NO_FPRS__ && !defined _SOFT_FLOAT) | |
| 23 | # error "SPE/e500 is no longer supported" | |
| 24 | #endif | |
| 25 | ||
| 22 | 26 | #ifdef _SOFT_FLOAT |
| 23 | 27 | |
| 24 | 28 | # define _FPU_RESERVED 0xffffffff |
| ... | ... | @@ -28,41 +32,6 @@ typedef unsigned int fpu_control_t; |
| 28 | 32 | # define _FPU_SETCW(cw) (void) (cw) |
| 29 | 33 | extern fpu_control_t __fpu_control; |
| 30 | 34 | |
| 31 | #elif defined __NO_FPRS__ /* e500 */ | |
| 32 | ||
| 33 | /* rounding control */ | |
| 34 | # define _FPU_RC_NEAREST 0x00 /* RECOMMENDED */ | |
| 35 | # define _FPU_RC_DOWN 0x03 | |
| 36 | # define _FPU_RC_UP 0x02 | |
| 37 | # define _FPU_RC_ZERO 0x01 | |
| 38 | ||
| 39 | /* masking of interrupts */ | |
| 40 | # define _FPU_MASK_ZM 0x10 /* zero divide */ | |
| 41 | # define _FPU_MASK_OM 0x04 /* overflow */ | |
| 42 | # define _FPU_MASK_UM 0x08 /* underflow */ | |
| 43 | # define _FPU_MASK_XM 0x40 /* inexact */ | |
| 44 | # define _FPU_MASK_IM 0x20 /* invalid operation */ | |
| 45 | ||
| 46 | # define _FPU_RESERVED 0x00c10080 /* These bits are reserved and not changed. */ | |
| 47 | ||
| 48 | /* Correct IEEE semantics require traps to be enabled at the hardware | |
| 49 | level; the kernel then does the emulation and determines whether | |
| 50 | generation of signals from those traps was enabled using prctl. */ | |
| 51 | # define _FPU_DEFAULT 0x0000003c /* Default value. */ | |
| 52 | # define _FPU_IEEE _FPU_DEFAULT | |
| 53 | ||
| 54 | /* Type of the control word. */ | |
| 55 | typedef unsigned int fpu_control_t; | |
| 56 | ||
| 57 | /* Macros for accessing the hardware control word. */ | |
| 58 | # define _FPU_GETCW(cw) \ | |
| 59 | __asm__ volatile ("mfspefscr %0" : "=r" (cw)) | |
| 60 | # define _FPU_SETCW(cw) \ | |
| 61 | __asm__ volatile ("mtspefscr %0" : : "r" (cw)) | |
| 62 | ||
| 63 | /* Default control word set at startup. */ | |
| 64 | extern fpu_control_t __fpu_control; | |
| 65 | ||
| 66 | 35 | #else /* PowerPC 6xx floating-point. */ |
| 67 | 36 | |
| 68 | 37 | /* rounding control */ |
| ... | ... | @@ -71,6 +40,8 @@ extern fpu_control_t __fpu_control; |
| 71 | 40 | # define _FPU_RC_UP 0x02 |
| 72 | 41 | # define _FPU_RC_ZERO 0x01 |
| 73 | 42 | |
| 43 | # define _FPU_MASK_RC (_FPU_RC_NEAREST|_FPU_RC_DOWN|_FPU_RC_UP|_FPU_RC_ZERO) | |
| 44 | ||
| 74 | 45 | # define _FPU_MASK_NI 0x04 /* non-ieee mode */ |
| 75 | 46 | |
| 76 | 47 | /* masking of interrupts */ |
| ... | ... | @@ -96,20 +67,43 @@ typedef unsigned int fpu_control_t; |
| 96 | 67 | /* Macros for accessing the hardware control word. */ |
| 97 | 68 | # define _FPU_GETCW(cw)						\ |
| 98 | 69 | ({union { double __d; unsigned long long __ll; } __u;		\ |
| 99 | register double __fr;					\ | |
| 100 | __asm__ ("mffs %0" : "=f" (__fr));				\ | |
| 101 | __u.__d = __fr;						\ | |
| 70 | __asm__ __volatile__("mffs %0" : "=f" (__u.__d));		\ | |
| 102 | 71 | (cw) = (fpu_control_t) __u.__ll;				\ |
| 103 | 72 | (fpu_control_t) __u.__ll;					\ |
| 104 | 73 | }) |
| 105 | 74 | |
| 75 | # define _FPU_GET_RC_ISA300()						\ | |
| 76 | ({union { double __d; unsigned long long __ll; } __u;			\ | |
| 77 | __asm__ __volatile__(						\ | |
| 78 | ".machine push; .machine \"power9\"; mffsl %0; .machine pop" 	\ | |
| 79 | : "=f" (__u.__d));						\ | |
| 80 | (fpu_control_t) (__u.__ll & _FPU_MASK_RC);				\ | |
| 81 | }) | |
| 82 | ||
| 83 | # ifdef _ARCH_PWR9 | |
| 84 | # define _FPU_GET_RC() _FPU_GET_RC_ISA300() | |
| 85 | # elif defined __BUILTIN_CPU_SUPPORTS__ | |
| 86 | # define _FPU_GET_RC()							\ | |
| 87 | ({fpu_control_t __rc;							\ | |
| 88 | __rc = __glibc_likely (__builtin_cpu_supports ("arch_3_00"))	\ | |
| 89 | ? _FPU_GET_RC_ISA300 ()						\ | |
| 90 | : _FPU_GETCW (__rc) & _FPU_MASK_RC;				\ | |
| 91 | __rc;								\ | |
| 92 | }) | |
| 93 | # else | |
| 94 | # define _FPU_GET_RC()						\ | |
| 95 | ({fpu_control_t __rc = _FPU_GETCW (__rc) & _FPU_MASK_RC;	\ | |
| 96 | __rc;							\ | |
| 97 | }) | |
| 98 | # endif | |
| 99 | ||
| 106 | 100 | # define _FPU_SETCW(cw)						\ |
| 107 | 101 | { union { double __d; unsigned long long __ll; } __u;		\ |
| 108 | 102 | register double __fr;					\ |
| 109 | 103 | __u.__ll = 0xfff80000LL << 32; /* This is a QNaN. */	\ |
| 110 | 104 | __u.__ll |= (cw) & 0xffffffffLL;				\ |
| 111 | 105 | __fr = __u.__d;						\ |
| 112 | __asm__ ("mtfsf 255,%0" : : "f" (__fr));			\ | |
| 106 | __asm__ __volatile__("mtfsf 255,%0" : : "f" (__fr));	\ | |
| 113 | 107 | } |
| 114 | 108 | |
| 115 | 109 | /* Default control word set at startup. */ |
lib/libc/include/powerpc64-linux-gnu/gnu/stubs-64-v1.h-2| ... | ... | @@ -8,9 +8,7 @@ |
| 8 | 8 | #endif |
| 9 | 9 | |
| 10 | 10 | #define __stub_chflags |
| 11 | #define __stub_fattach | |
| 12 | 11 | #define __stub_fchflags |
| 13 | #define __stub_fdetach | |
| 14 | 12 | #define __stub_gtty |
| 15 | 13 | #define __stub_lchmod |
| 16 | 14 | #define __stub_revoke |
lib/libc/include/powerpc64le-linux-gnu/bits/fenvinline.h+30-7| ... | ... | @@ -18,13 +18,36 @@ |
| 18 | 18 | |
| 19 | 19 | #if defined __GNUC__ && !defined _SOFT_FLOAT && !defined __NO_FPRS__ |
| 20 | 20 | |
| 21 | /* Inline definition for fegetround. */ | |
| 22 | # define __fegetround() \ | |
| 23 | (__extension__ ({ int __fegetround_result;				 \ | |
| 24 | 		 __asm__ __volatile__				 \ | |
| 25 | 		 ("mcrfs 7,7 ; mfcr %0"				 \ | |
| 26 | 			: "=r"(__fegetround_result) : : "cr7");		 \ | |
| 27 | 		 __fegetround_result & 3; })) | |
| 21 | /* Inline definitions for fegetround. */ | |
| 22 | # define __fegetround_ISA300()						\ | |
| 23 | (__extension__ ({							\ | |
| 24 | union { double __d; unsigned long long __ll; } __u;			\ | |
| 25 | __asm__ __volatile__ (						\ | |
| 26 | ".machine push; .machine \"power9\"; mffsl %0; .machine pop"	\ | |
| 27 | : "=f" (__u.__d));						\ | |
| 28 | __u.__ll & 0x0000000000000003LL;					\ | |
| 29 | })) | |
| 30 | ||
| 31 | # define __fegetround_ISA2()						\ | |
| 32 | (__extension__ ({							\ | |
| 33 | int __fegetround_result;						\ | |
| 34 | __asm__ __volatile__ ("mcrfs 7,7 ; mfcr %0"			\ | |
| 35 | 			 : "=r"(__fegetround_result) : : "cr7");	\ | |
| 36 | __fegetround_result & 3;						\ | |
| 37 | })) | |
| 38 | ||
| 39 | # ifdef _ARCH_PWR9 | |
| 40 | # define __fegetround() __fegetround_ISA300() | |
| 41 | # elif defined __BUILTIN_CPU_SUPPORTS__ | |
| 42 | # define __fegetround()						\ | |
| 43 | (__glibc_likely (__builtin_cpu_supports ("arch_3_00"))		\ | |
| 44 | ? __fegetround_ISA300()						\ | |
| 45 | : __fegetround_ISA2()						\ | |
| 46 | ) | |
| 47 | # else | |
| 48 | # define __fegetround() __fegetround_ISA2() | |
| 49 | # endif | |
| 50 | ||
| 28 | 51 | # define fegetround() __fegetround () |
| 29 | 52 | |
| 30 | 53 | # ifndef __NO_MATH_INLINES |
lib/libc/include/powerpc64le-linux-gnu/bits/socket-constants.h created+38| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for POWER. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_SOCKET_H | |
| 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define SOL_SOCKET 1 | |
| 24 | #define SO_ACCEPTCONN 30 | |
| 25 | #define SO_BROADCAST 6 | |
| 26 | #define SO_DONTROUTE 5 | |
| 27 | #define SO_ERROR 4 | |
| 28 | #define SO_KEEPALIVE 9 | |
| 29 | #define SO_LINGER 13 | |
| 30 | #define SO_OOBINLINE 10 | |
| 31 | #define SO_RCVBUF 8 | |
| 32 | #define SO_RCVLOWAT 16 | |
| 33 | #define SO_RCVTIMEO 18 | |
| 34 | #define SO_REUSEADDR 2 | |
| 35 | #define SO_SNDBUF 7 | |
| 36 | #define SO_SNDLOWAT 17 | |
| 37 | #define SO_SNDTIMEO 19 | |
| 38 | #define SO_TYPE 3 | |
| \ No newline at end of file |
lib/libc/include/powerpc64le-linux-gnu/fpu_control.h+33-39| ... | ... | @@ -19,6 +19,10 @@ |
| 19 | 19 | #ifndef _FPU_CONTROL_H |
| 20 | 20 | #define _FPU_CONTROL_H |
| 21 | 21 | |
| 22 | #if defined __SPE__ || (defined __NO_FPRS__ && !defined _SOFT_FLOAT) | |
| 23 | # error "SPE/e500 is no longer supported" | |
| 24 | #endif | |
| 25 | ||
| 22 | 26 | #ifdef _SOFT_FLOAT |
| 23 | 27 | |
| 24 | 28 | # define _FPU_RESERVED 0xffffffff |
| ... | ... | @@ -28,41 +32,6 @@ typedef unsigned int fpu_control_t; |
| 28 | 32 | # define _FPU_SETCW(cw) (void) (cw) |
| 29 | 33 | extern fpu_control_t __fpu_control; |
| 30 | 34 | |
| 31 | #elif defined __NO_FPRS__ /* e500 */ | |
| 32 | ||
| 33 | /* rounding control */ | |
| 34 | # define _FPU_RC_NEAREST 0x00 /* RECOMMENDED */ | |
| 35 | # define _FPU_RC_DOWN 0x03 | |
| 36 | # define _FPU_RC_UP 0x02 | |
| 37 | # define _FPU_RC_ZERO 0x01 | |
| 38 | ||
| 39 | /* masking of interrupts */ | |
| 40 | # define _FPU_MASK_ZM 0x10 /* zero divide */ | |
| 41 | # define _FPU_MASK_OM 0x04 /* overflow */ | |
| 42 | # define _FPU_MASK_UM 0x08 /* underflow */ | |
| 43 | # define _FPU_MASK_XM 0x40 /* inexact */ | |
| 44 | # define _FPU_MASK_IM 0x20 /* invalid operation */ | |
| 45 | ||
| 46 | # define _FPU_RESERVED 0x00c10080 /* These bits are reserved and not changed. */ | |
| 47 | ||
| 48 | /* Correct IEEE semantics require traps to be enabled at the hardware | |
| 49 | level; the kernel then does the emulation and determines whether | |
| 50 | generation of signals from those traps was enabled using prctl. */ | |
| 51 | # define _FPU_DEFAULT 0x0000003c /* Default value. */ | |
| 52 | # define _FPU_IEEE _FPU_DEFAULT | |
| 53 | ||
| 54 | /* Type of the control word. */ | |
| 55 | typedef unsigned int fpu_control_t; | |
| 56 | ||
| 57 | /* Macros for accessing the hardware control word. */ | |
| 58 | # define _FPU_GETCW(cw) \ | |
| 59 | __asm__ volatile ("mfspefscr %0" : "=r" (cw)) | |
| 60 | # define _FPU_SETCW(cw) \ | |
| 61 | __asm__ volatile ("mtspefscr %0" : : "r" (cw)) | |
| 62 | ||
| 63 | /* Default control word set at startup. */ | |
| 64 | extern fpu_control_t __fpu_control; | |
| 65 | ||
| 66 | 35 | #else /* PowerPC 6xx floating-point. */ |
| 67 | 36 | |
| 68 | 37 | /* rounding control */ |
| ... | ... | @@ -71,6 +40,8 @@ extern fpu_control_t __fpu_control; |
| 71 | 40 | # define _FPU_RC_UP 0x02 |
| 72 | 41 | # define _FPU_RC_ZERO 0x01 |
| 73 | 42 | |
| 43 | # define _FPU_MASK_RC (_FPU_RC_NEAREST|_FPU_RC_DOWN|_FPU_RC_UP|_FPU_RC_ZERO) | |
| 44 | ||
| 74 | 45 | # define _FPU_MASK_NI 0x04 /* non-ieee mode */ |
| 75 | 46 | |
| 76 | 47 | /* masking of interrupts */ |
| ... | ... | @@ -96,20 +67,43 @@ typedef unsigned int fpu_control_t; |
| 96 | 67 | /* Macros for accessing the hardware control word. */ |
| 97 | 68 | # define _FPU_GETCW(cw)						\ |
| 98 | 69 | ({union { double __d; unsigned long long __ll; } __u;		\ |
| 99 | register double __fr;					\ | |
| 100 | __asm__ ("mffs %0" : "=f" (__fr));				\ | |
| 101 | __u.__d = __fr;						\ | |
| 70 | __asm__ __volatile__("mffs %0" : "=f" (__u.__d));		\ | |
| 102 | 71 | (cw) = (fpu_control_t) __u.__ll;				\ |
| 103 | 72 | (fpu_control_t) __u.__ll;					\ |
| 104 | 73 | }) |
| 105 | 74 | |
| 75 | # define _FPU_GET_RC_ISA300()						\ | |
| 76 | ({union { double __d; unsigned long long __ll; } __u;			\ | |
| 77 | __asm__ __volatile__(						\ | |
| 78 | ".machine push; .machine \"power9\"; mffsl %0; .machine pop" 	\ | |
| 79 | : "=f" (__u.__d));						\ | |
| 80 | (fpu_control_t) (__u.__ll & _FPU_MASK_RC);				\ | |
| 81 | }) | |
| 82 | ||
| 83 | # ifdef _ARCH_PWR9 | |
| 84 | # define _FPU_GET_RC() _FPU_GET_RC_ISA300() | |
| 85 | # elif defined __BUILTIN_CPU_SUPPORTS__ | |
| 86 | # define _FPU_GET_RC()							\ | |
| 87 | ({fpu_control_t __rc;							\ | |
| 88 | __rc = __glibc_likely (__builtin_cpu_supports ("arch_3_00"))	\ | |
| 89 | ? _FPU_GET_RC_ISA300 ()						\ | |
| 90 | : _FPU_GETCW (__rc) & _FPU_MASK_RC;				\ | |
| 91 | __rc;								\ | |
| 92 | }) | |
| 93 | # else | |
| 94 | # define _FPU_GET_RC()						\ | |
| 95 | ({fpu_control_t __rc = _FPU_GETCW (__rc) & _FPU_MASK_RC;	\ | |
| 96 | __rc;							\ | |
| 97 | }) | |
| 98 | # endif | |
| 99 | ||
| 106 | 100 | # define _FPU_SETCW(cw)						\ |
| 107 | 101 | { union { double __d; unsigned long long __ll; } __u;		\ |
| 108 | 102 | register double __fr;					\ |
| 109 | 103 | __u.__ll = 0xfff80000LL << 32; /* This is a QNaN. */	\ |
| 110 | 104 | __u.__ll |= (cw) & 0xffffffffLL;				\ |
| 111 | 105 | __fr = __u.__d;						\ |
| 112 | __asm__ ("mtfsf 255,%0" : : "f" (__fr));			\ | |
| 106 | __asm__ __volatile__("mtfsf 255,%0" : : "f" (__fr));	\ | |
| 113 | 107 | } |
| 114 | 108 | |
| 115 | 109 | /* Default control word set at startup. */ |
lib/libc/include/powerpc64le-linux-gnu/gnu/stubs-64-v2.h-2| ... | ... | @@ -8,9 +8,7 @@ |
| 8 | 8 | #endif |
| 9 | 9 | |
| 10 | 10 | #define __stub_chflags |
| 11 | #define __stub_fattach | |
| 12 | 11 | #define __stub_fchflags |
| 13 | #define __stub_fdetach | |
| 14 | 12 | #define __stub_gtty |
| 15 | 13 | #define __stub_lchmod |
| 16 | 14 | #define __stub_revoke |
lib/libc/include/riscv64-linux-gnu/gnu/stubs-lp64.h-6| ... | ... | @@ -13,9 +13,7 @@ |
| 13 | 13 | #define __stub___compat_query_module |
| 14 | 14 | #define __stub___compat_uselib |
| 15 | 15 | #define __stub_chflags |
| 16 | #define __stub_fattach | |
| 17 | 16 | #define __stub_fchflags |
| 18 | #define __stub_fdetach | |
| 19 | 17 | #define __stub_feclearexcept |
| 20 | 18 | #define __stub_fedisableexcept |
| 21 | 19 | #define __stub_feenableexcept |
| ... | ... | @@ -33,12 +31,8 @@ |
| 33 | 31 | #define __stub_fesetround |
| 34 | 32 | #define __stub_fetestexcept |
| 35 | 33 | #define __stub_feupdateenv |
| 36 | #define __stub_getmsg | |
| 37 | #define __stub_getpmsg | |
| 38 | 34 | #define __stub_gtty |
| 39 | 35 | #define __stub_lchmod |
| 40 | #define __stub_putmsg | |
| 41 | #define __stub_putpmsg | |
| 42 | 36 | #define __stub_revoke |
| 43 | 37 | #define __stub_setlogin |
| 44 | 38 | #define __stub_sigreturn |
lib/libc/include/s390x-linux-gnu/bits/hwcap.h+5-1| ... | ... | @@ -38,4 +38,8 @@ |
| 38 | 38 | #define HWCAP_S390_VX 2048 |
| 39 | 39 | #define HWCAP_S390_VXD 4096 |
| 40 | 40 | #define HWCAP_S390_VXE 8192 |
| 41 | #define HWCAP_S390_GS 16384 | |
| \ No newline at end of file | ||
| 41 | #define HWCAP_S390_GS 16384 | |
| 42 | #define HWCAP_S390_VXRS_EXT2 32768 | |
| 43 | #define HWCAP_S390_VXRS_PDE 65536 | |
| 44 | #define HWCAP_S390_SORT 131072 | |
| 45 | #define HWCAP_S390_DFLT 262144 | |
| \ No newline at end of file |
lib/libc/include/s390x-linux-gnu/bits/xtitypes.h deleted-33| ... | ... | @@ -1,33 +0,0 @@ |
| 1 | /* bits/xtitypes.h -- Define some types used by <bits/stropts.h>. S390/S390x | |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _STROPTS_H | |
| 20 | # error "Never include <bits/xtitypes.h> directly; use <stropts.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #ifndef _BITS_XTITYPES_H | |
| 24 | #define _BITS_XTITYPES_H	1 | |
| 25 | ||
| 26 | #include <bits/types.h> | |
| 27 | ||
| 28 | /* This type is used by some structs in <bits/stropts.h>. */ | |
| 29 | typedef __S32_TYPE __t_scalar_t; | |
| 30 | typedef __U32_TYPE __t_uscalar_t; | |
| 31 | ||
| 32 | ||
| 33 | #endif /* bits/xtitypes.h */ | |
| \ No newline at end of file |
lib/libc/include/s390x-linux-gnu/gnu/stubs-64.h deleted-24| ... | ... | @@ -1,24 +0,0 @@ |
| 1 | /* This file is automatically generated. | |
| 2 | It defines a symbol `__stub_FUNCTION' for each function | |
| 3 | in the C library which is a stub, meaning it will fail | |
| 4 | every time called, usually setting errno to ENOSYS. */ | |
| 5 | ||
| 6 | #ifdef _LIBC | |
| 7 | #error Applications may not define the macro _LIBC | |
| 8 | #endif | |
| 9 | ||
| 10 | #define __stub_chflags | |
| 11 | #define __stub_fattach | |
| 12 | #define __stub_fchflags | |
| 13 | #define __stub_fdetach | |
| 14 | #define __stub_getmsg | |
| 15 | #define __stub_gtty | |
| 16 | #define __stub_lchmod | |
| 17 | #define __stub_pkey_alloc | |
| 18 | #define __stub_pkey_free | |
| 19 | #define __stub_putmsg | |
| 20 | #define __stub_revoke | |
| 21 | #define __stub_setlogin | |
| 22 | #define __stub_sigreturn | |
| 23 | #define __stub_sstk | |
| 24 | #define __stub_stty | |
| \ No newline at end of file |
lib/libc/include/sparc-linux-gnu/bits/socket-constants.h created+38| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for SPARC. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_SOCKET_H | |
| 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define SOL_SOCKET 65535 | |
| 24 | #define SO_ACCEPTCONN 32768 | |
| 25 | #define SO_BROADCAST 32 | |
| 26 | #define SO_DONTROUTE 16 | |
| 27 | #define SO_ERROR 4103 | |
| 28 | #define SO_KEEPALIVE 8 | |
| 29 | #define SO_LINGER 128 | |
| 30 | #define SO_OOBINLINE 256 | |
| 31 | #define SO_RCVBUF 4098 | |
| 32 | #define SO_RCVLOWAT 2048 | |
| 33 | #define SO_RCVTIMEO 8192 | |
| 34 | #define SO_REUSEADDR 4 | |
| 35 | #define SO_SNDBUF 4097 | |
| 36 | #define SO_SNDLOWAT 4096 | |
| 37 | #define SO_SNDTIMEO 16384 | |
| 38 | #define SO_TYPE 4104 | |
| \ No newline at end of file |
lib/libc/include/sparc-linux-gnu/gnu/stubs-64.h deleted-26| ... | ... | @@ -1,26 +0,0 @@ |
| 1 | /* This file is automatically generated. | |
| 2 | It defines a symbol `__stub_FUNCTION' for each function | |
| 3 | in the C library which is a stub, meaning it will fail | |
| 4 | every time called, usually setting errno to ENOSYS. */ | |
| 5 | ||
| 6 | #ifdef _LIBC | |
| 7 | #error Applications may not define the macro _LIBC | |
| 8 | #endif | |
| 9 | ||
| 10 | #define __stub_chflags | |
| 11 | #define __stub_fattach | |
| 12 | #define __stub_fchflags | |
| 13 | #define __stub_fdetach | |
| 14 | #define __stub_getmsg | |
| 15 | #define __stub_getpmsg | |
| 16 | #define __stub_gtty | |
| 17 | #define __stub_lchmod | |
| 18 | #define __stub_pkey_alloc | |
| 19 | #define __stub_pkey_free | |
| 20 | #define __stub_putmsg | |
| 21 | #define __stub_putpmsg | |
| 22 | #define __stub_revoke | |
| 23 | #define __stub_setlogin | |
| 24 | #define __stub_sigreturn | |
| 25 | #define __stub_sstk | |
| 26 | #define __stub_stty | |
| \ No newline at end of file |
lib/libc/include/sparcv9-linux-gnu/bits/socket-constants.h created+38| ... | ... | @@ -0,0 +1,38 @@ |
| 1 | /* Socket constants which vary among Linux architectures. Version for SPARC. | |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_SOCKET_H | |
| 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define SOL_SOCKET 65535 | |
| 24 | #define SO_ACCEPTCONN 32768 | |
| 25 | #define SO_BROADCAST 32 | |
| 26 | #define SO_DONTROUTE 16 | |
| 27 | #define SO_ERROR 4103 | |
| 28 | #define SO_KEEPALIVE 8 | |
| 29 | #define SO_LINGER 128 | |
| 30 | #define SO_OOBINLINE 256 | |
| 31 | #define SO_RCVBUF 4098 | |
| 32 | #define SO_RCVLOWAT 2048 | |
| 33 | #define SO_RCVTIMEO 8192 | |
| 34 | #define SO_REUSEADDR 4 | |
| 35 | #define SO_SNDBUF 4097 | |
| 36 | #define SO_SNDLOWAT 4096 | |
| 37 | #define SO_SNDTIMEO 16384 | |
| 38 | #define SO_TYPE 4104 | |
| \ No newline at end of file |
lib/libc/include/sparcv9-linux-gnu/gnu/stubs-32.h deleted-26| ... | ... | @@ -1,26 +0,0 @@ |
| 1 | /* This file is automatically generated. | |
| 2 | It defines a symbol `__stub_FUNCTION' for each function | |
| 3 | in the C library which is a stub, meaning it will fail | |
| 4 | every time called, usually setting errno to ENOSYS. */ | |
| 5 | ||
| 6 | #ifdef _LIBC | |
| 7 | #error Applications may not define the macro _LIBC | |
| 8 | #endif | |
| 9 | ||
| 10 | #define __stub_chflags | |
| 11 | #define __stub_fattach | |
| 12 | #define __stub_fchflags | |
| 13 | #define __stub_fdetach | |
| 14 | #define __stub_getmsg | |
| 15 | #define __stub_getpmsg | |
| 16 | #define __stub_gtty | |
| 17 | #define __stub_lchmod | |
| 18 | #define __stub_pkey_alloc | |
| 19 | #define __stub_pkey_free | |
| 20 | #define __stub_putmsg | |
| 21 | #define __stub_putpmsg | |
| 22 | #define __stub_revoke | |
| 23 | #define __stub_setlogin | |
| 24 | #define __stub_sigreturn | |
| 25 | #define __stub_sstk | |
| 26 | #define __stub_stty | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnu/bits/math-vector-fortran.h deleted-43| ... | ... | @@ -1,43 +0,0 @@ |
| 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- | |
| 2 | ! Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | ! This file is part of the GNU C Library. | |
| 4 | ! | |
| 5 | ! The GNU C Library is free software; you can redistribute it and/or | |
| 6 | ! modify it under the terms of the GNU Lesser General Public | |
| 7 | ! License as published by the Free Software Foundation; either | |
| 8 | ! version 2.1 of the License, or (at your option) any later version. | |
| 9 | ! | |
| 10 | ! The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | ! but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | ! Lesser General Public License for more details. | |
| 14 | ! | |
| 15 | ! You should have received a copy of the GNU Lesser General Public | |
| 16 | ! License along with the GNU C Library; if not, see | |
| 17 | ! <http://www.gnu.org/licenses/>. | |
| 18 | ||
| 19 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x86_64') | |
| 20 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x86_64') | |
| 21 | !GCC$ builtin (sin) attributes simd (notinbranch) if('x86_64') | |
| 22 | !GCC$ builtin (sinf) attributes simd (notinbranch) if('x86_64') | |
| 23 | !GCC$ builtin (sincos) attributes simd (notinbranch) if('x86_64') | |
| 24 | !GCC$ builtin (sincosf) attributes simd (notinbranch) if('x86_64') | |
| 25 | !GCC$ builtin (log) attributes simd (notinbranch) if('x86_64') | |
| 26 | !GCC$ builtin (logf) attributes simd (notinbranch) if('x86_64') | |
| 27 | !GCC$ builtin (exp) attributes simd (notinbranch) if('x86_64') | |
| 28 | !GCC$ builtin (expf) attributes simd (notinbranch) if('x86_64') | |
| 29 | !GCC$ builtin (pow) attributes simd (notinbranch) if('x86_64') | |
| 30 | !GCC$ builtin (powf) attributes simd (notinbranch) if('x86_64') | |
| 31 | ||
| 32 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x32') | |
| 33 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x32') | |
| 34 | !GCC$ builtin (sin) attributes simd (notinbranch) if('x32') | |
| 35 | !GCC$ builtin (sinf) attributes simd (notinbranch) if('x32') | |
| 36 | !GCC$ builtin (sincos) attributes simd (notinbranch) if('x32') | |
| 37 | !GCC$ builtin (sincosf) attributes simd (notinbranch) if('x32') | |
| 38 | !GCC$ builtin (log) attributes simd (notinbranch) if('x32') | |
| 39 | !GCC$ builtin (logf) attributes simd (notinbranch) if('x32') | |
| 40 | !GCC$ builtin (exp) attributes simd (notinbranch) if('x32') | |
| 41 | !GCC$ builtin (expf) attributes simd (notinbranch) if('x32') | |
| 42 | !GCC$ builtin (pow) attributes simd (notinbranch) if('x32') | |
| 43 | !GCC$ builtin (powf) attributes simd (notinbranch) if('x32') | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnu/bits/xtitypes.h deleted-33| ... | ... | @@ -1,33 +0,0 @@ |
| 1 | /* bits/xtitypes.h -- Define some types used by <bits/stropts.h>. x86-64. | |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _STROPTS_H | |
| 20 | # error "Never include <bits/xtitypes.h> directly; use <stropts.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #ifndef _BITS_XTITYPES_H | |
| 24 | #define _BITS_XTITYPES_H	1 | |
| 25 | ||
| 26 | #include <bits/types.h> | |
| 27 | ||
| 28 | /* This type is used by some structs in <bits/stropts.h>. */ | |
| 29 | typedef __SLONG32_TYPE __t_scalar_t; | |
| 30 | typedef __ULONG32_TYPE __t_uscalar_t; | |
| 31 | ||
| 32 | ||
| 33 | #endif /* bits/xtitypes.h */ | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnu/finclude/math-vector-fortran.h created+43| ... | ... | @@ -0,0 +1,43 @@ |
| 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- | |
| 2 | ! Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | ! This file is part of the GNU C Library. | |
| 4 | ! | |
| 5 | ! The GNU C Library is free software; you can redistribute it and/or | |
| 6 | ! modify it under the terms of the GNU Lesser General Public | |
| 7 | ! License as published by the Free Software Foundation; either | |
| 8 | ! version 2.1 of the License, or (at your option) any later version. | |
| 9 | ! | |
| 10 | ! The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | ! but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | ! Lesser General Public License for more details. | |
| 14 | ! | |
| 15 | ! You should have received a copy of the GNU Lesser General Public | |
| 16 | ! License along with the GNU C Library; if not, see | |
| 17 | ! <http://www.gnu.org/licenses/>. | |
| 18 | ||
| 19 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x86_64') | |
| 20 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x86_64') | |
| 21 | !GCC$ builtin (sin) attributes simd (notinbranch) if('x86_64') | |
| 22 | !GCC$ builtin (sinf) attributes simd (notinbranch) if('x86_64') | |
| 23 | !GCC$ builtin (sincos) attributes simd (notinbranch) if('x86_64') | |
| 24 | !GCC$ builtin (sincosf) attributes simd (notinbranch) if('x86_64') | |
| 25 | !GCC$ builtin (log) attributes simd (notinbranch) if('x86_64') | |
| 26 | !GCC$ builtin (logf) attributes simd (notinbranch) if('x86_64') | |
| 27 | !GCC$ builtin (exp) attributes simd (notinbranch) if('x86_64') | |
| 28 | !GCC$ builtin (expf) attributes simd (notinbranch) if('x86_64') | |
| 29 | !GCC$ builtin (pow) attributes simd (notinbranch) if('x86_64') | |
| 30 | !GCC$ builtin (powf) attributes simd (notinbranch) if('x86_64') | |
| 31 | ||
| 32 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x32') | |
| 33 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x32') | |
| 34 | !GCC$ builtin (sin) attributes simd (notinbranch) if('x32') | |
| 35 | !GCC$ builtin (sinf) attributes simd (notinbranch) if('x32') | |
| 36 | !GCC$ builtin (sincos) attributes simd (notinbranch) if('x32') | |
| 37 | !GCC$ builtin (sincosf) attributes simd (notinbranch) if('x32') | |
| 38 | !GCC$ builtin (log) attributes simd (notinbranch) if('x32') | |
| 39 | !GCC$ builtin (logf) attributes simd (notinbranch) if('x32') | |
| 40 | !GCC$ builtin (exp) attributes simd (notinbranch) if('x32') | |
| 41 | !GCC$ builtin (expf) attributes simd (notinbranch) if('x32') | |
| 42 | !GCC$ builtin (pow) attributes simd (notinbranch) if('x32') | |
| 43 | !GCC$ builtin (powf) attributes simd (notinbranch) if('x32') | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnu/gnu/stubs-64.h-4| ... | ... | @@ -9,13 +9,9 @@ |
| 9 | 9 | |
| 10 | 10 | #define __stub___compat_bdflush |
| 11 | 11 | #define __stub_chflags |
| 12 | #define __stub_fattach | |
| 13 | 12 | #define __stub_fchflags |
| 14 | #define __stub_fdetach | |
| 15 | #define __stub_getmsg | |
| 16 | 13 | #define __stub_gtty |
| 17 | 14 | #define __stub_lchmod |
| 18 | #define __stub_putmsg | |
| 19 | 15 | #define __stub_revoke |
| 20 | 16 | #define __stub_setlogin |
| 21 | 17 | #define __stub_sigreturn |
lib/libc/include/x86_64-linux-gnu/sys/io.h deleted-183| ... | ... | @@ -1,183 +0,0 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | This file is part of the GNU C Library. | |
| 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | |
| 5 | modify it under the terms of the GNU Lesser General Public | |
| 6 | License as published by the Free Software Foundation; either | |
| 7 | version 2.1 of the License, or (at your option) any later version. | |
| 8 | ||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | Lesser General Public License for more details. | |
| 13 | ||
| 14 | You should have received a copy of the GNU Lesser General Public | |
| 15 | License along with the GNU C Library; if not, see | |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 17 | ||
| 18 | #ifndef	_SYS_IO_H | |
| 19 | #define	_SYS_IO_H	1 | |
| 20 | ||
| 21 | #include <features.h> | |
| 22 | ||
| 23 | __BEGIN_DECLS | |
| 24 | ||
| 25 | /* If TURN_ON is TRUE, request for permission to do direct i/o on the | |
| 26 | port numbers in the range [FROM,FROM+NUM-1]. Otherwise, turn I/O | |
| 27 | permission off for that range. This call requires root privileges. | |
| 28 | ||
| 29 | Portability note: not all Linux platforms support this call. Most | |
| 30 | platforms based on the PC I/O architecture probably will, however. | |
| 31 | E.g., Linux/Alpha for Alpha PCs supports this. */ | |
| 32 | extern int ioperm (unsigned long int __from, unsigned long int __num, | |
| 33 | int __turn_on) __THROW; | |
| 34 | ||
| 35 | /* Set the I/O privilege level to LEVEL. If LEVEL>3, permission to | |
| 36 | access any I/O port is granted. This call requires root | |
| 37 | privileges. */ | |
| 38 | extern int iopl (int __level) __THROW; | |
| 39 | ||
| 40 | #if defined __GNUC__ && __GNUC__ >= 2 | |
| 41 | ||
| 42 | static __inline unsigned char | |
| 43 | inb (unsigned short int __port) | |
| 44 | { | |
| 45 | unsigned char _v; | |
| 46 | ||
| 47 | __asm__ __volatile__ ("inb %w1,%0":"=a" (_v):"Nd" (__port)); | |
| 48 | return _v; | |
| 49 | } | |
| 50 | ||
| 51 | static __inline unsigned char | |
| 52 | inb_p (unsigned short int __port) | |
| 53 | { | |
| 54 | unsigned char _v; | |
| 55 | ||
| 56 | __asm__ __volatile__ ("inb %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (__port)); | |
| 57 | return _v; | |
| 58 | } | |
| 59 | ||
| 60 | static __inline unsigned short int | |
| 61 | inw (unsigned short int __port) | |
| 62 | { | |
| 63 | unsigned short _v; | |
| 64 | ||
| 65 | __asm__ __volatile__ ("inw %w1,%0":"=a" (_v):"Nd" (__port)); | |
| 66 | return _v; | |
| 67 | } | |
| 68 | ||
| 69 | static __inline unsigned short int | |
| 70 | inw_p (unsigned short int __port) | |
| 71 | { | |
| 72 | unsigned short int _v; | |
| 73 | ||
| 74 | __asm__ __volatile__ ("inw %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (__port)); | |
| 75 | return _v; | |
| 76 | } | |
| 77 | ||
| 78 | static __inline unsigned int | |
| 79 | inl (unsigned short int __port) | |
| 80 | { | |
| 81 | unsigned int _v; | |
| 82 | ||
| 83 | __asm__ __volatile__ ("inl %w1,%0":"=a" (_v):"Nd" (__port)); | |
| 84 | return _v; | |
| 85 | } | |
| 86 | ||
| 87 | static __inline unsigned int | |
| 88 | inl_p (unsigned short int __port) | |
| 89 | { | |
| 90 | unsigned int _v; | |
| 91 | __asm__ __volatile__ ("inl %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (__port)); | |
| 92 | return _v; | |
| 93 | } | |
| 94 | ||
| 95 | static __inline void | |
| 96 | outb (unsigned char __value, unsigned short int __port) | |
| 97 | { | |
| 98 | __asm__ __volatile__ ("outb %b0,%w1": :"a" (__value), "Nd" (__port)); | |
| 99 | } | |
| 100 | ||
| 101 | static __inline void | |
| 102 | outb_p (unsigned char __value, unsigned short int __port) | |
| 103 | { | |
| 104 | __asm__ __volatile__ ("outb %b0,%w1\noutb %%al,$0x80": :"a" (__value), | |
| 105 | 			"Nd" (__port)); | |
| 106 | } | |
| 107 | ||
| 108 | static __inline void | |
| 109 | outw (unsigned short int __value, unsigned short int __port) | |
| 110 | { | |
| 111 | __asm__ __volatile__ ("outw %w0,%w1": :"a" (__value), "Nd" (__port)); | |
| 112 | ||
| 113 | } | |
| 114 | ||
| 115 | static __inline void | |
| 116 | outw_p (unsigned short int __value, unsigned short int __port) | |
| 117 | { | |
| 118 | __asm__ __volatile__ ("outw %w0,%w1\noutb %%al,$0x80": :"a" (__value), | |
| 119 | 			"Nd" (__port)); | |
| 120 | } | |
| 121 | ||
| 122 | static __inline void | |
| 123 | outl (unsigned int __value, unsigned short int __port) | |
| 124 | { | |
| 125 | __asm__ __volatile__ ("outl %0,%w1": :"a" (__value), "Nd" (__port)); | |
| 126 | } | |
| 127 | ||
| 128 | static __inline void | |
| 129 | outl_p (unsigned int __value, unsigned short int __port) | |
| 130 | { | |
| 131 | __asm__ __volatile__ ("outl %0,%w1\noutb %%al,$0x80": :"a" (__value), | |
| 132 | 			"Nd" (__port)); | |
| 133 | } | |
| 134 | ||
| 135 | static __inline void | |
| 136 | insb (unsigned short int __port, void *__addr, unsigned long int __count) | |
| 137 | { | |
| 138 | __asm__ __volatile__ ("cld ; rep ; insb":"=D" (__addr), "=c" (__count) | |
| 139 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 140 | } | |
| 141 | ||
| 142 | static __inline void | |
| 143 | insw (unsigned short int __port, void *__addr, unsigned long int __count) | |
| 144 | { | |
| 145 | __asm__ __volatile__ ("cld ; rep ; insw":"=D" (__addr), "=c" (__count) | |
| 146 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 147 | } | |
| 148 | ||
| 149 | static __inline void | |
| 150 | insl (unsigned short int __port, void *__addr, unsigned long int __count) | |
| 151 | { | |
| 152 | __asm__ __volatile__ ("cld ; rep ; insl":"=D" (__addr), "=c" (__count) | |
| 153 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 154 | } | |
| 155 | ||
| 156 | static __inline void | |
| 157 | outsb (unsigned short int __port, const void *__addr, | |
| 158 | unsigned long int __count) | |
| 159 | { | |
| 160 | __asm__ __volatile__ ("cld ; rep ; outsb":"=S" (__addr), "=c" (__count) | |
| 161 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 162 | } | |
| 163 | ||
| 164 | static __inline void | |
| 165 | outsw (unsigned short int __port, const void *__addr, | |
| 166 | unsigned long int __count) | |
| 167 | { | |
| 168 | __asm__ __volatile__ ("cld ; rep ; outsw":"=S" (__addr), "=c" (__count) | |
| 169 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 170 | } | |
| 171 | ||
| 172 | static __inline void | |
| 173 | outsl (unsigned short int __port, const void *__addr, | |
| 174 | unsigned long int __count) | |
| 175 | { | |
| 176 | __asm__ __volatile__ ("cld ; rep ; outsl":"=S" (__addr), "=c" (__count) | |
| 177 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 178 | } | |
| 179 | ||
| 180 | #endif	/* GNU C */ | |
| 181 | ||
| 182 | __END_DECLS | |
| 183 | #endif /* _SYS_IO_H */ | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnux32/bits/math-vector-fortran.h deleted-43| ... | ... | @@ -1,43 +0,0 @@ |
| 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- | |
| 2 | ! Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | ! This file is part of the GNU C Library. | |
| 4 | ! | |
| 5 | ! The GNU C Library is free software; you can redistribute it and/or | |
| 6 | ! modify it under the terms of the GNU Lesser General Public | |
| 7 | ! License as published by the Free Software Foundation; either | |
| 8 | ! version 2.1 of the License, or (at your option) any later version. | |
| 9 | ! | |
| 10 | ! The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | ! but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | ! Lesser General Public License for more details. | |
| 14 | ! | |
| 15 | ! You should have received a copy of the GNU Lesser General Public | |
| 16 | ! License along with the GNU C Library; if not, see | |
| 17 | ! <http://www.gnu.org/licenses/>. | |
| 18 | ||
| 19 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x86_64') | |
| 20 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x86_64') | |
| 21 | !GCC$ builtin (sin) attributes simd (notinbranch) if('x86_64') | |
| 22 | !GCC$ builtin (sinf) attributes simd (notinbranch) if('x86_64') | |
| 23 | !GCC$ builtin (sincos) attributes simd (notinbranch) if('x86_64') | |
| 24 | !GCC$ builtin (sincosf) attributes simd (notinbranch) if('x86_64') | |
| 25 | !GCC$ builtin (log) attributes simd (notinbranch) if('x86_64') | |
| 26 | !GCC$ builtin (logf) attributes simd (notinbranch) if('x86_64') | |
| 27 | !GCC$ builtin (exp) attributes simd (notinbranch) if('x86_64') | |
| 28 | !GCC$ builtin (expf) attributes simd (notinbranch) if('x86_64') | |
| 29 | !GCC$ builtin (pow) attributes simd (notinbranch) if('x86_64') | |
| 30 | !GCC$ builtin (powf) attributes simd (notinbranch) if('x86_64') | |
| 31 | ||
| 32 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x32') | |
| 33 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x32') | |
| 34 | !GCC$ builtin (sin) attributes simd (notinbranch) if('x32') | |
| 35 | !GCC$ builtin (sinf) attributes simd (notinbranch) if('x32') | |
| 36 | !GCC$ builtin (sincos) attributes simd (notinbranch) if('x32') | |
| 37 | !GCC$ builtin (sincosf) attributes simd (notinbranch) if('x32') | |
| 38 | !GCC$ builtin (log) attributes simd (notinbranch) if('x32') | |
| 39 | !GCC$ builtin (logf) attributes simd (notinbranch) if('x32') | |
| 40 | !GCC$ builtin (exp) attributes simd (notinbranch) if('x32') | |
| 41 | !GCC$ builtin (expf) attributes simd (notinbranch) if('x32') | |
| 42 | !GCC$ builtin (pow) attributes simd (notinbranch) if('x32') | |
| 43 | !GCC$ builtin (powf) attributes simd (notinbranch) if('x32') | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnux32/bits/xtitypes.h deleted-33| ... | ... | @@ -1,33 +0,0 @@ |
| 1 | /* bits/xtitypes.h -- Define some types used by <bits/stropts.h>. x86-64. | |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | |
| 6 | modify it under the terms of the GNU Lesser General Public | |
| 7 | License as published by the Free Software Foundation; either | |
| 8 | version 2.1 of the License, or (at your option) any later version. | |
| 9 | ||
| 10 | The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | Lesser General Public License for more details. | |
| 14 | ||
| 15 | You should have received a copy of the GNU Lesser General Public | |
| 16 | License along with the GNU C Library; if not, see | |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _STROPTS_H | |
| 20 | # error "Never include <bits/xtitypes.h> directly; use <stropts.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #ifndef _BITS_XTITYPES_H | |
| 24 | #define _BITS_XTITYPES_H	1 | |
| 25 | ||
| 26 | #include <bits/types.h> | |
| 27 | ||
| 28 | /* This type is used by some structs in <bits/stropts.h>. */ | |
| 29 | typedef __SLONG32_TYPE __t_scalar_t; | |
| 30 | typedef __ULONG32_TYPE __t_uscalar_t; | |
| 31 | ||
| 32 | ||
| 33 | #endif /* bits/xtitypes.h */ | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnux32/finclude/math-vector-fortran.h created+43| ... | ... | @@ -0,0 +1,43 @@ |
| 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- | |
| 2 | ! Copyright (C) 2019 Free Software Foundation, Inc. | |
| 3 | ! This file is part of the GNU C Library. | |
| 4 | ! | |
| 5 | ! The GNU C Library is free software; you can redistribute it and/or | |
| 6 | ! modify it under the terms of the GNU Lesser General Public | |
| 7 | ! License as published by the Free Software Foundation; either | |
| 8 | ! version 2.1 of the License, or (at your option) any later version. | |
| 9 | ! | |
| 10 | ! The GNU C Library is distributed in the hope that it will be useful, | |
| 11 | ! but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | ! Lesser General Public License for more details. | |
| 14 | ! | |
| 15 | ! You should have received a copy of the GNU Lesser General Public | |
| 16 | ! License along with the GNU C Library; if not, see | |
| 17 | ! <http://www.gnu.org/licenses/>. | |
| 18 | ||
| 19 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x86_64') | |
| 20 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x86_64') | |
| 21 | !GCC$ builtin (sin) attributes simd (notinbranch) if('x86_64') | |
| 22 | !GCC$ builtin (sinf) attributes simd (notinbranch) if('x86_64') | |
| 23 | !GCC$ builtin (sincos) attributes simd (notinbranch) if('x86_64') | |
| 24 | !GCC$ builtin (sincosf) attributes simd (notinbranch) if('x86_64') | |
| 25 | !GCC$ builtin (log) attributes simd (notinbranch) if('x86_64') | |
| 26 | !GCC$ builtin (logf) attributes simd (notinbranch) if('x86_64') | |
| 27 | !GCC$ builtin (exp) attributes simd (notinbranch) if('x86_64') | |
| 28 | !GCC$ builtin (expf) attributes simd (notinbranch) if('x86_64') | |
| 29 | !GCC$ builtin (pow) attributes simd (notinbranch) if('x86_64') | |
| 30 | !GCC$ builtin (powf) attributes simd (notinbranch) if('x86_64') | |
| 31 | ||
| 32 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x32') | |
| 33 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x32') | |
| 34 | !GCC$ builtin (sin) attributes simd (notinbranch) if('x32') | |
| 35 | !GCC$ builtin (sinf) attributes simd (notinbranch) if('x32') | |
| 36 | !GCC$ builtin (sincos) attributes simd (notinbranch) if('x32') | |
| 37 | !GCC$ builtin (sincosf) attributes simd (notinbranch) if('x32') | |
| 38 | !GCC$ builtin (log) attributes simd (notinbranch) if('x32') | |
| 39 | !GCC$ builtin (logf) attributes simd (notinbranch) if('x32') | |
| 40 | !GCC$ builtin (exp) attributes simd (notinbranch) if('x32') | |
| 41 | !GCC$ builtin (expf) attributes simd (notinbranch) if('x32') | |
| 42 | !GCC$ builtin (pow) attributes simd (notinbranch) if('x32') | |
| 43 | !GCC$ builtin (powf) attributes simd (notinbranch) if('x32') | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnux32/gnu/stubs-x32.h-4| ... | ... | @@ -14,13 +14,9 @@ |
| 14 | 14 | #define __stub___compat_query_module |
| 15 | 15 | #define __stub___compat_uselib |
| 16 | 16 | #define __stub_chflags |
| 17 | #define __stub_fattach | |
| 18 | 17 | #define __stub_fchflags |
| 19 | #define __stub_fdetach | |
| 20 | #define __stub_getmsg | |
| 21 | 18 | #define __stub_gtty |
| 22 | 19 | #define __stub_lchmod |
| 23 | #define __stub_putmsg | |
| 24 | 20 | #define __stub_revoke |
| 25 | 21 | #define __stub_setlogin |
| 26 | 22 | #define __stub_sigreturn |
lib/libc/include/x86_64-linux-gnux32/sys/io.h deleted-183| ... | ... | @@ -1,183 +0,0 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | This file is part of the GNU C Library. | |
| 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | |
| 5 | modify it under the terms of the GNU Lesser General Public | |
| 6 | License as published by the Free Software Foundation; either | |
| 7 | version 2.1 of the License, or (at your option) any later version. | |
| 8 | ||
| 9 | The GNU C Library is distributed in the hope that it will be useful, | |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 12 | Lesser General Public License for more details. | |
| 13 | ||
| 14 | You should have received a copy of the GNU Lesser General Public | |
| 15 | License along with the GNU C Library; if not, see | |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 17 | ||
| 18 | #ifndef	_SYS_IO_H | |
| 19 | #define	_SYS_IO_H	1 | |
| 20 | ||
| 21 | #include <features.h> | |
| 22 | ||
| 23 | __BEGIN_DECLS | |
| 24 | ||
| 25 | /* If TURN_ON is TRUE, request for permission to do direct i/o on the | |
| 26 | port numbers in the range [FROM,FROM+NUM-1]. Otherwise, turn I/O | |
| 27 | permission off for that range. This call requires root privileges. | |
| 28 | ||
| 29 | Portability note: not all Linux platforms support this call. Most | |
| 30 | platforms based on the PC I/O architecture probably will, however. | |
| 31 | E.g., Linux/Alpha for Alpha PCs supports this. */ | |
| 32 | extern int ioperm (unsigned long int __from, unsigned long int __num, | |
| 33 | int __turn_on) __THROW; | |
| 34 | ||
| 35 | /* Set the I/O privilege level to LEVEL. If LEVEL>3, permission to | |
| 36 | access any I/O port is granted. This call requires root | |
| 37 | privileges. */ | |
| 38 | extern int iopl (int __level) __THROW; | |
| 39 | ||
| 40 | #if defined __GNUC__ && __GNUC__ >= 2 | |
| 41 | ||
| 42 | static __inline unsigned char | |
| 43 | inb (unsigned short int __port) | |
| 44 | { | |
| 45 | unsigned char _v; | |
| 46 | ||
| 47 | __asm__ __volatile__ ("inb %w1,%0":"=a" (_v):"Nd" (__port)); | |
| 48 | return _v; | |
| 49 | } | |
| 50 | ||
| 51 | static __inline unsigned char | |
| 52 | inb_p (unsigned short int __port) | |
| 53 | { | |
| 54 | unsigned char _v; | |
| 55 | ||
| 56 | __asm__ __volatile__ ("inb %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (__port)); | |
| 57 | return _v; | |
| 58 | } | |
| 59 | ||
| 60 | static __inline unsigned short int | |
| 61 | inw (unsigned short int __port) | |
| 62 | { | |
| 63 | unsigned short _v; | |
| 64 | ||
| 65 | __asm__ __volatile__ ("inw %w1,%0":"=a" (_v):"Nd" (__port)); | |
| 66 | return _v; | |
| 67 | } | |
| 68 | ||
| 69 | static __inline unsigned short int | |
| 70 | inw_p (unsigned short int __port) | |
| 71 | { | |
| 72 | unsigned short int _v; | |
| 73 | ||
| 74 | __asm__ __volatile__ ("inw %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (__port)); | |
| 75 | return _v; | |
| 76 | } | |
| 77 | ||
| 78 | static __inline unsigned int | |
| 79 | inl (unsigned short int __port) | |
| 80 | { | |
| 81 | unsigned int _v; | |
| 82 | ||
| 83 | __asm__ __volatile__ ("inl %w1,%0":"=a" (_v):"Nd" (__port)); | |
| 84 | return _v; | |
| 85 | } | |
| 86 | ||
| 87 | static __inline unsigned int | |
| 88 | inl_p (unsigned short int __port) | |
| 89 | { | |
| 90 | unsigned int _v; | |
| 91 | __asm__ __volatile__ ("inl %w1,%0\noutb %%al,$0x80":"=a" (_v):"Nd" (__port)); | |
| 92 | return _v; | |
| 93 | } | |
| 94 | ||
| 95 | static __inline void | |
| 96 | outb (unsigned char __value, unsigned short int __port) | |
| 97 | { | |
| 98 | __asm__ __volatile__ ("outb %b0,%w1": :"a" (__value), "Nd" (__port)); | |
| 99 | } | |
| 100 | ||
| 101 | static __inline void | |
| 102 | outb_p (unsigned char __value, unsigned short int __port) | |
| 103 | { | |
| 104 | __asm__ __volatile__ ("outb %b0,%w1\noutb %%al,$0x80": :"a" (__value), | |
| 105 | 			"Nd" (__port)); | |
| 106 | } | |
| 107 | ||
| 108 | static __inline void | |
| 109 | outw (unsigned short int __value, unsigned short int __port) | |
| 110 | { | |
| 111 | __asm__ __volatile__ ("outw %w0,%w1": :"a" (__value), "Nd" (__port)); | |
| 112 | ||
| 113 | } | |
| 114 | ||
| 115 | static __inline void | |
| 116 | outw_p (unsigned short int __value, unsigned short int __port) | |
| 117 | { | |
| 118 | __asm__ __volatile__ ("outw %w0,%w1\noutb %%al,$0x80": :"a" (__value), | |
| 119 | 			"Nd" (__port)); | |
| 120 | } | |
| 121 | ||
| 122 | static __inline void | |
| 123 | outl (unsigned int __value, unsigned short int __port) | |
| 124 | { | |
| 125 | __asm__ __volatile__ ("outl %0,%w1": :"a" (__value), "Nd" (__port)); | |
| 126 | } | |
| 127 | ||
| 128 | static __inline void | |
| 129 | outl_p (unsigned int __value, unsigned short int __port) | |
| 130 | { | |
| 131 | __asm__ __volatile__ ("outl %0,%w1\noutb %%al,$0x80": :"a" (__value), | |
| 132 | 			"Nd" (__port)); | |
| 133 | } | |
| 134 | ||
| 135 | static __inline void | |
| 136 | insb (unsigned short int __port, void *__addr, unsigned long int __count) | |
| 137 | { | |
| 138 | __asm__ __volatile__ ("cld ; rep ; insb":"=D" (__addr), "=c" (__count) | |
| 139 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 140 | } | |
| 141 | ||
| 142 | static __inline void | |
| 143 | insw (unsigned short int __port, void *__addr, unsigned long int __count) | |
| 144 | { | |
| 145 | __asm__ __volatile__ ("cld ; rep ; insw":"=D" (__addr), "=c" (__count) | |
| 146 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 147 | } | |
| 148 | ||
| 149 | static __inline void | |
| 150 | insl (unsigned short int __port, void *__addr, unsigned long int __count) | |
| 151 | { | |
| 152 | __asm__ __volatile__ ("cld ; rep ; insl":"=D" (__addr), "=c" (__count) | |
| 153 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 154 | } | |
| 155 | ||
| 156 | static __inline void | |
| 157 | outsb (unsigned short int __port, const void *__addr, | |
| 158 | unsigned long int __count) | |
| 159 | { | |
| 160 | __asm__ __volatile__ ("cld ; rep ; outsb":"=S" (__addr), "=c" (__count) | |
| 161 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 162 | } | |
| 163 | ||
| 164 | static __inline void | |
| 165 | outsw (unsigned short int __port, const void *__addr, | |
| 166 | unsigned long int __count) | |
| 167 | { | |
| 168 | __asm__ __volatile__ ("cld ; rep ; outsw":"=S" (__addr), "=c" (__count) | |
| 169 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 170 | } | |
| 171 | ||
| 172 | static __inline void | |
| 173 | outsl (unsigned short int __port, const void *__addr, | |
| 174 | unsigned long int __count) | |
| 175 | { | |
| 176 | __asm__ __volatile__ ("cld ; rep ; outsl":"=S" (__addr), "=c" (__count) | |
| 177 | 			:"d" (__port), "0" (__addr), "1" (__count)); | |
| 178 | } | |
| 179 | ||
| 180 | #endif	/* GNU C */ | |
| 181 | ||
| 182 | __END_DECLS | |
| 183 | #endif /* _SYS_IO_H */ | |
| \ No newline at end of file |
tools/process_headers.zig+70-326| ... | ... | @@ -20,6 +20,7 @@ const assert = std.debug.assert; |
| 20 | 20 | const LibCTarget = struct { |
| 21 | 21 | name: []const u8, |
| 22 | 22 | arch: MultiArch, |
| 23 | abi: MultiAbi, | |
| 23 | 24 | }; |
| 24 | 25 | |
| 25 | 26 | const MultiArch = union(enum) { |
| ... | ... | @@ -39,396 +40,129 @@ const MultiArch = union(enum) { |
| 39 | 40 | } |
| 40 | 41 | }; |
| 41 | 42 | |
| 43 | const MultiAbi = union(enum) { | |
| 44 | musl, | |
| 45 | specific: Abi, | |
| 46 | ||
| 47 | fn eql(a: MultiAbi, b: MultiAbi) bool { | |
| 48 | if (@enumToInt(a) != @enumToInt(b)) | |
| 49 | return false; | |
| 50 | if (@TagType(MultiAbi)(a) != .specific) | |
| 51 | return true; | |
| 52 | return a.specific == b.specific; | |
| 53 | } | |
| 54 | }; | |
| 55 | ||
| 42 | 56 | const glibc_targets = [_]LibCTarget{ |
| 43 | 57 | LibCTarget{ |
| 44 | 58 | .name = "aarch64_be-linux-gnu", |
| 45 | .zig_arch = Arch.aarch64_be, | |
| 46 | .zig_abi = Abi.gnu, | |
| 59 | .arch = MultiArch {.specific = Arch.aarch64_be}, | |
| 60 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 47 | 61 | }, |
| 48 | 62 | LibCTarget{ |
| 49 | 63 | .name = "aarch64-linux-gnu", |
| 50 | .zig_arch = Arch.aarch64, | |
| 51 | .zig_abi = Abi.gnu, | |
| 52 | }, | |
| 53 | LibCTarget{ | |
| 54 | .name = "aarch64-linux-gnu-disable-multi-arch", | |
| 55 | .zig_arch = Arch.aarch64, | |
| 56 | .zig_abi = null, | |
| 57 | }, | |
| 58 | LibCTarget{ | |
| 59 | .name = "alpha-linux-gnu", | |
| 60 | .zig_arch = null, | |
| 61 | .zig_abi = Abi.gnu, | |
| 64 | .arch = MultiArch {.specific = Arch.aarch64}, | |
| 65 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 62 | 66 | }, |
| 63 | 67 | LibCTarget{ |
| 64 | 68 | .name = "armeb-linux-gnueabi", |
| 65 | .zig_arch = Arch.armeb, | |
| 66 | .zig_abi = Abi.gnueabi, | |
| 67 | }, | |
| 68 | LibCTarget{ | |
| 69 | .name = "armeb-linux-gnueabi-be8", | |
| 70 | .zig_arch = Arch.armeb, | |
| 71 | .zig_abi = null, | |
| 69 | .arch = MultiArch {.specific = Arch.armeb}, | |
| 70 | .abi = MultiAbi {.specific = Abi.gnueabi}, | |
| 72 | 71 | }, |
| 73 | 72 | LibCTarget{ |
| 74 | 73 | .name = "armeb-linux-gnueabihf", |
| 75 | .zig_arch = Arch.armeb, | |
| 76 | .zig_abi = Abi.gnueabihf, | |
| 77 | }, | |
| 78 | LibCTarget{ | |
| 79 | .name = "armeb-linux-gnueabihf-be8", | |
| 80 | .zig_arch = Arch.armeb, | |
| 81 | .zig_abi = null, | |
| 74 | .arch = MultiArch {.specific = Arch.armeb}, | |
| 75 | .abi = MultiAbi {.specific = Abi.gnueabihf}, | |
| 82 | 76 | }, |
| 83 | 77 | LibCTarget{ |
| 84 | 78 | .name = "arm-linux-gnueabi", |
| 85 | .zig_arch = Arch.arm, | |
| 86 | .zig_abi = Abi.gnueabi, | |
| 79 | .arch = MultiArch {.specific = Arch.arm}, | |
| 80 | .abi = MultiAbi {.specific = Abi.gnueabi}, | |
| 87 | 81 | }, |
| 88 | 82 | LibCTarget{ |
| 89 | 83 | .name = "arm-linux-gnueabihf", |
| 90 | .zig_arch = Arch.arm, | |
| 91 | .zig_abi = Abi.gnueabihf, | |
| 92 | }, | |
| 93 | LibCTarget{ | |
| 94 | .name = "arm-linux-gnueabihf-v7a", | |
| 95 | .zig_arch = Arch.arm, | |
| 96 | .zig_abi = null, | |
| 97 | }, | |
| 98 | LibCTarget{ | |
| 99 | .name = "arm-linux-gnueabihf-v7a-disable-multi-arch", | |
| 100 | .zig_arch = null, | |
| 101 | .zig_abi = null, | |
| 102 | }, | |
| 103 | LibCTarget{ | |
| 104 | .name = "hppa-linux-gnu", | |
| 105 | .zig_arch = null, | |
| 106 | .zig_abi = Abi.gnu, | |
| 107 | }, | |
| 108 | LibCTarget{ | |
| 109 | .name = "i486-linux-gnu", | |
| 110 | .zig_arch = null, | |
| 111 | .zig_abi = Abi.gnu, | |
| 112 | }, | |
| 113 | LibCTarget{ | |
| 114 | .name = "i586-linux-gnu", | |
| 115 | .zig_arch = null, | |
| 116 | .zig_abi = Abi.gnu, | |
| 117 | }, | |
| 118 | LibCTarget{ | |
| 119 | .name = "i686-gnu", | |
| 120 | .zig_arch = Arch.i386, | |
| 121 | .zig_abi = Abi.gnu, | |
| 84 | .arch = MultiArch {.specific = Arch.arm}, | |
| 85 | .abi = MultiAbi {.specific = Abi.gnueabihf}, | |
| 122 | 86 | }, |
| 123 | 87 | LibCTarget{ |
| 124 | 88 | .name = "i686-linux-gnu", |
| 125 | .zig_arch = Arch.i386, | |
| 126 | .zig_abi = Abi.gnu, | |
| 127 | }, | |
| 128 | LibCTarget{ | |
| 129 | .name = "i686-linux-gnu-disable-multi-arch", | |
| 130 | .zig_arch = null, | |
| 131 | .zig_abi = null, | |
| 132 | }, | |
| 133 | LibCTarget{ | |
| 134 | .name = "i686-linux-gnu-enable-obsolete", | |
| 135 | .zig_arch = Arch.i386, | |
| 136 | .zig_abi = null, | |
| 137 | }, | |
| 138 | LibCTarget{ | |
| 139 | .name = "i686-linux-gnu-static-pie", | |
| 140 | .zig_arch = Arch.i386, | |
| 141 | .zig_abi = null, | |
| 142 | }, | |
| 143 | LibCTarget{ | |
| 144 | .name = "ia64-linux-gnu", | |
| 145 | .zig_arch = null, | |
| 146 | .zig_abi = null, | |
| 147 | }, | |
| 148 | LibCTarget{ | |
| 149 | .name = "m68k-linux-gnu", | |
| 150 | .zig_arch = null, | |
| 151 | .zig_abi = null, | |
| 152 | }, | |
| 153 | LibCTarget{ | |
| 154 | .name = "m68k-linux-gnu-coldfire", | |
| 155 | .zig_arch = null, | |
| 156 | .zig_abi = null, | |
| 157 | }, | |
| 158 | LibCTarget{ | |
| 159 | .name = "m68k-linux-gnu-coldfire-soft", | |
| 160 | .zig_arch = null, | |
| 161 | .zig_abi = null, | |
| 162 | }, | |
| 163 | LibCTarget{ | |
| 164 | .name = "microblazeel-linux-gnu", | |
| 165 | .zig_arch = null, | |
| 166 | .zig_abi = null, | |
| 167 | }, | |
| 168 | LibCTarget{ | |
| 169 | .name = "microblaze-linux-gnu", | |
| 170 | .zig_arch = null, | |
| 171 | .zig_abi = null, | |
| 89 | .arch = MultiArch {.specific = Arch.i386}, | |
| 90 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 172 | 91 | }, |
| 173 | 92 | LibCTarget{ |
| 174 | 93 | .name = "mips64el-linux-gnu-n32", |
| 175 | .zig_arch = Arch.mips64el, | |
| 176 | .zig_abi = Abi.gnuabin32, | |
| 177 | }, | |
| 178 | LibCTarget{ | |
| 179 | .name = "mips64el-linux-gnu-n32-nan2008", | |
| 180 | .zig_arch = Arch.mips64el, | |
| 181 | .zig_abi = null, | |
| 182 | }, | |
| 183 | LibCTarget{ | |
| 184 | .name = "mips64el-linux-gnu-n32-nan2008-soft", | |
| 185 | .zig_arch = Arch.mips64el, | |
| 186 | .zig_abi = null, | |
| 187 | }, | |
| 188 | LibCTarget{ | |
| 189 | .name = "mips64el-linux-gnu-n32-soft", | |
| 190 | .zig_arch = Arch.mips64el, | |
| 191 | .zig_abi = null, | |
| 94 | .arch = MultiArch {.specific = Arch.mips64el}, | |
| 95 | .abi = MultiAbi {.specific = Abi.gnuabin32}, | |
| 192 | 96 | }, |
| 193 | 97 | LibCTarget{ |
| 194 | 98 | .name = "mips64el-linux-gnu-n64", |
| 195 | .zig_arch = Arch.mips64el, | |
| 196 | .zig_abi = Abi.gnuabi64, | |
| 197 | }, | |
| 198 | LibCTarget{ | |
| 199 | .name = "mips64el-linux-gnu-n64-nan2008", | |
| 200 | .zig_arch = Arch.mips64el, | |
| 201 | .zig_abi = null, | |
| 202 | }, | |
| 203 | LibCTarget{ | |
| 204 | .name = "mips64el-linux-gnu-n64-nan2008-soft", | |
| 205 | .zig_arch = Arch.mips64el, | |
| 206 | .zig_abi = null, | |
| 207 | }, | |
| 208 | LibCTarget{ | |
| 209 | .name = "mips64el-linux-gnu-n64-soft", | |
| 210 | .zig_arch = Arch.mips64el, | |
| 211 | .zig_abi = null, | |
| 99 | .arch = MultiArch {.specific = Arch.mips64el}, | |
| 100 | .abi = MultiAbi {.specific = Abi.gnuabi64}, | |
| 212 | 101 | }, |
| 213 | 102 | LibCTarget{ |
| 214 | 103 | .name = "mips64-linux-gnu-n32", |
| 215 | .zig_arch = Arch.mips64, | |
| 216 | .zig_abi = Abi.gnuabin32, | |
| 217 | }, | |
| 218 | LibCTarget{ | |
| 219 | .name = "mips64-linux-gnu-n32-nan2008", | |
| 220 | .zig_arch = Arch.mips64, | |
| 221 | .zig_abi = null, | |
| 222 | }, | |
| 223 | LibCTarget{ | |
| 224 | .name = "mips64-linux-gnu-n32-nan2008-soft", | |
| 225 | .zig_arch = Arch.mips64, | |
| 226 | .zig_abi = null, | |
| 227 | }, | |
| 228 | LibCTarget{ | |
| 229 | .name = "mips64-linux-gnu-n32-soft", | |
| 230 | .zig_arch = Arch.mips64, | |
| 231 | .zig_abi = null, | |
| 104 | .arch = MultiArch {.specific = Arch.mips64}, | |
| 105 | .abi = MultiAbi {.specific = Abi.gnuabin32}, | |
| 232 | 106 | }, |
| 233 | 107 | LibCTarget{ |
| 234 | 108 | .name = "mips64-linux-gnu-n64", |
| 235 | .zig_arch = Arch.mips64, | |
| 236 | .zig_abi = Abi.gnuabi64, | |
| 237 | }, | |
| 238 | LibCTarget{ | |
| 239 | .name = "mips64-linux-gnu-n64-nan2008", | |
| 240 | .zig_arch = Arch.mips64, | |
| 241 | .zig_abi = null, | |
| 242 | }, | |
| 243 | LibCTarget{ | |
| 244 | .name = "mips64-linux-gnu-n64-nan2008-soft", | |
| 245 | .zig_arch = Arch.mips64, | |
| 246 | .zig_abi = null, | |
| 247 | }, | |
| 248 | LibCTarget{ | |
| 249 | .name = "mips64-linux-gnu-n64-soft", | |
| 250 | .zig_arch = Arch.mips64, | |
| 251 | .zig_abi = null, | |
| 109 | .arch = MultiArch {.specific = Arch.mips64}, | |
| 110 | .abi = MultiAbi {.specific = Abi.gnuabi64}, | |
| 252 | 111 | }, |
| 253 | 112 | LibCTarget{ |
| 254 | 113 | .name = "mipsel-linux-gnu", |
| 255 | .zig_arch = Arch.mipsel, | |
| 256 | .zig_abi = Abi.gnu, | |
| 257 | }, | |
| 258 | LibCTarget{ | |
| 259 | .name = "mipsel-linux-gnu-nan2008", | |
| 260 | .zig_arch = Arch.mipsel, | |
| 261 | .zig_abi = null, | |
| 262 | }, | |
| 263 | LibCTarget{ | |
| 264 | .name = "mipsel-linux-gnu-nan2008-soft", | |
| 265 | .zig_arch = Arch.mipsel, | |
| 266 | .zig_abi = null, | |
| 267 | }, | |
| 268 | LibCTarget{ | |
| 269 | .name = "mipsel-linux-gnu-soft", | |
| 270 | .zig_arch = Arch.mipsel, | |
| 271 | .zig_abi = null, | |
| 114 | .arch = MultiArch {.specific = Arch.mipsel}, | |
| 115 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 272 | 116 | }, |
| 273 | 117 | LibCTarget{ |
| 274 | 118 | .name = "mips-linux-gnu", |
| 275 | .zig_arch = Arch.mips, | |
| 276 | .zig_abi = Abi.gnu, | |
| 277 | }, | |
| 278 | LibCTarget{ | |
| 279 | .name = "mips-linux-gnu-nan2008", | |
| 280 | .zig_arch = Arch.mips, | |
| 281 | .zig_abi = null, | |
| 282 | }, | |
| 283 | LibCTarget{ | |
| 284 | .name = "mips-linux-gnu-nan2008-soft", | |
| 285 | .zig_arch = Arch.mips, | |
| 286 | .zig_abi = null, | |
| 287 | }, | |
| 288 | LibCTarget{ | |
| 289 | .name = "mips-linux-gnu-soft", | |
| 290 | .zig_arch = Arch.mips, | |
| 291 | .zig_abi = null, | |
| 119 | .arch = MultiArch {.specific = Arch.mips}, | |
| 120 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 292 | 121 | }, |
| 293 | 122 | LibCTarget{ |
| 294 | 123 | .name = "powerpc64le-linux-gnu", |
| 295 | .zig_arch = Arch.powerpc64le, | |
| 296 | .zig_abi = Abi.gnu, | |
| 124 | .arch = MultiArch {.specific = Arch.powerpc64le}, | |
| 125 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 297 | 126 | }, |
| 298 | 127 | LibCTarget{ |
| 299 | 128 | .name = "powerpc64-linux-gnu", |
| 300 | .zig_arch = Arch.powerpc64, | |
| 301 | .zig_abi = Abi.gnu, | |
| 129 | .arch = MultiArch {.specific = Arch.powerpc64}, | |
| 130 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 302 | 131 | }, |
| 303 | 132 | LibCTarget{ |
| 304 | 133 | .name = "powerpc-linux-gnu", |
| 305 | .zig_arch = Arch.powerpc, | |
| 306 | .zig_abi = Abi.gnu, | |
| 307 | }, | |
| 308 | LibCTarget{ | |
| 309 | .name = "powerpc-linux-gnu-power4", | |
| 310 | .zig_arch = Arch.powerpc, | |
| 311 | .zig_abi = null, | |
| 312 | }, | |
| 313 | LibCTarget{ | |
| 314 | .name = "powerpc-linux-gnu-soft", | |
| 315 | .zig_arch = Arch.powerpc, | |
| 316 | .zig_abi = null, | |
| 317 | }, | |
| 318 | LibCTarget{ | |
| 319 | .name = "powerpc-linux-gnuspe", | |
| 320 | .zig_arch = Arch.powerpc, | |
| 321 | .zig_abi = null, | |
| 322 | }, | |
| 323 | LibCTarget{ | |
| 324 | .name = "powerpc-linux-gnuspe-e500v1", | |
| 325 | .zig_arch = Arch.powerpc, | |
| 326 | .zig_abi = null, | |
| 134 | .arch = MultiArch {.specific = Arch.powerpc}, | |
| 135 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 327 | 136 | }, |
| 328 | 137 | LibCTarget{ |
| 329 | 138 | .name = "riscv64-linux-gnu-rv64imac-lp64", |
| 330 | .zig_arch = Arch.riscv64, | |
| 331 | .zig_abi = Abi.gnu, | |
| 332 | }, | |
| 333 | LibCTarget{ | |
| 334 | .name = "riscv64-linux-gnu-rv64imafdc-lp64", | |
| 335 | .zig_arch = Arch.riscv64, | |
| 336 | .zig_abi = null, | |
| 337 | }, | |
| 338 | LibCTarget{ | |
| 339 | .name = "riscv64-linux-gnu-rv64imafdc-lp64d", | |
| 340 | .zig_arch = Arch.riscv64, | |
| 341 | .zig_abi = null, | |
| 342 | }, | |
| 343 | LibCTarget{ | |
| 344 | .name = "s390-linux-gnu", | |
| 345 | .zig_arch = null, | |
| 346 | .zig_abi = Abi.gnu, | |
| 139 | .arch = MultiArch {.specific = Arch.riscv64}, | |
| 140 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 347 | 141 | }, |
| 348 | 142 | LibCTarget{ |
| 349 | 143 | .name = "s390x-linux-gnu", |
| 350 | .zig_arch = Arch.s390x, | |
| 351 | .zig_abi = Abi.gnu, | |
| 352 | }, | |
| 353 | LibCTarget{ | |
| 354 | .name = "sh3eb-linux-gnu", | |
| 355 | .zig_arch = null, | |
| 356 | .zig_abi = Abi.gnu, | |
| 357 | }, | |
| 358 | LibCTarget{ | |
| 359 | .name = "sh3-linux-gnu", | |
| 360 | .zig_arch = null, | |
| 361 | .zig_abi = Abi.gnu, | |
| 362 | }, | |
| 363 | LibCTarget{ | |
| 364 | .name = "sh4eb-linux-gnu", | |
| 365 | .zig_arch = null, | |
| 366 | .zig_abi = Abi.gnu, | |
| 367 | }, | |
| 368 | LibCTarget{ | |
| 369 | .name = "sh4eb-linux-gnu-soft", | |
| 370 | .zig_arch = null, | |
| 371 | .zig_abi = null, | |
| 372 | }, | |
| 373 | LibCTarget{ | |
| 374 | .name = "sh4-linux-gnu", | |
| 375 | .zig_arch = null, | |
| 376 | .zig_abi = Abi.gnu, | |
| 377 | }, | |
| 378 | LibCTarget{ | |
| 379 | .name = "sh4-linux-gnu-soft", | |
| 380 | .zig_arch = null, | |
| 381 | .zig_abi = null, | |
| 144 | .arch = MultiArch {.specific = Arch.s390x}, | |
| 145 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 382 | 146 | }, |
| 383 | 147 | LibCTarget{ |
| 384 | 148 | .name = "sparc64-linux-gnu", |
| 385 | .zig_arch = Arch.sparc, | |
| 386 | .zig_abi = Abi.gnu, | |
| 387 | }, | |
| 388 | LibCTarget{ | |
| 389 | .name = "sparc64-linux-gnu-disable-multi-arch", | |
| 390 | .zig_arch = Arch.sparc, | |
| 391 | .zig_abi = null, | |
| 149 | .arch = MultiArch {.specific = Arch.sparc}, | |
| 150 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 392 | 151 | }, |
| 393 | 152 | LibCTarget{ |
| 394 | 153 | .name = "sparcv9-linux-gnu", |
| 395 | .zig_arch = Arch.sparcv9, | |
| 396 | .zig_abi = Abi.gnu, | |
| 397 | }, | |
| 398 | LibCTarget{ | |
| 399 | .name = "sparcv9-linux-gnu-disable-multi-arch", | |
| 400 | .zig_arch = Arch.sparcv9, | |
| 401 | .zig_abi = null, | |
| 154 | .arch = MultiArch {.specific = Arch.sparcv9}, | |
| 155 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 402 | 156 | }, |
| 403 | 157 | LibCTarget{ |
| 404 | 158 | .name = "x86_64-linux-gnu", |
| 405 | .zig_arch = Arch.x86_64, | |
| 406 | .zig_abi = Abi.gnu, | |
| 407 | }, | |
| 408 | LibCTarget{ | |
| 409 | .name = "x86_64-linux-gnu-disable-multi-arch", | |
| 410 | .zig_arch = Arch.x86_64, | |
| 411 | .zig_abi = null, | |
| 412 | }, | |
| 413 | LibCTarget{ | |
| 414 | .name = "x86_64-linux-gnu-enable-obsolete", | |
| 415 | .zig_arch = Arch.x86_64, | |
| 416 | .zig_abi = null, | |
| 417 | }, | |
| 418 | LibCTarget{ | |
| 419 | .name = "x86_64-linux-gnu-static-pie", | |
| 420 | .zig_arch = Arch.x86_64, | |
| 421 | .zig_abi = null, | |
| 159 | .arch = MultiArch {.specific = Arch.x86_64}, | |
| 160 | .abi = MultiAbi {.specific = Abi.gnu}, | |
| 422 | 161 | }, |
| 423 | 162 | LibCTarget{ |
| 424 | 163 | .name = "x86_64-linux-gnu-x32", |
| 425 | .zig_arch = Arch.x86_64, | |
| 426 | .zig_abi = Abi.gnux32, | |
| 427 | }, | |
| 428 | LibCTarget{ | |
| 429 | .name = "x86_64-linux-gnu-x32-static-pie", | |
| 430 | .zig_arch = Arch.x86_64, | |
| 431 | .zig_abi = null, | |
| 164 | .arch = MultiArch {.specific = Arch.x86_64}, | |
| 165 | .abi = MultiAbi {.specific = Abi.gnux32}, | |
| 432 | 166 | }, |
| 433 | 167 | }; |
| 434 | 168 | |
| ... | ... | @@ -436,42 +170,52 @@ const musl_targets = [_]LibCTarget{ |
| 436 | 170 | LibCTarget{ |
| 437 | 171 | .name = "aarch64", |
| 438 | 172 | .arch = MultiArch.aarch64, |
| 173 | .abi = MultiAbi.musl, | |
| 439 | 174 | }, |
| 440 | 175 | LibCTarget{ |
| 441 | 176 | .name = "arm", |
| 442 | 177 | .arch = MultiArch.arm, |
| 178 | .abi = MultiAbi.musl, | |
| 443 | 179 | }, |
| 444 | 180 | LibCTarget{ |
| 445 | 181 | .name = "i386", |
| 446 | 182 | .arch = MultiArch{ .specific = .i386 }, |
| 183 | .abi = MultiAbi.musl, | |
| 447 | 184 | }, |
| 448 | 185 | LibCTarget{ |
| 449 | 186 | .name = "mips", |
| 450 | 187 | .arch = MultiArch.mips, |
| 188 | .abi = MultiAbi.musl, | |
| 451 | 189 | }, |
| 452 | 190 | LibCTarget{ |
| 453 | 191 | .name = "mips64", |
| 454 | 192 | .arch = MultiArch.mips64, |
| 193 | .abi = MultiAbi.musl, | |
| 455 | 194 | }, |
| 456 | 195 | LibCTarget{ |
| 457 | 196 | .name = "powerpc", |
| 458 | 197 | .arch = MultiArch{ .specific = .powerpc }, |
| 198 | .abi = MultiAbi.musl, | |
| 459 | 199 | }, |
| 460 | 200 | LibCTarget{ |
| 461 | 201 | .name = "powerpc64", |
| 462 | 202 | .arch = MultiArch.powerpc64, |
| 203 | .abi = MultiAbi.musl, | |
| 463 | 204 | }, |
| 464 | 205 | LibCTarget{ |
| 465 | 206 | .name = "riscv64", |
| 466 | 207 | .arch = MultiArch{ .specific = .riscv64 }, |
| 208 | .abi = MultiAbi.musl, | |
| 467 | 209 | }, |
| 468 | 210 | LibCTarget{ |
| 469 | 211 | .name = "s390x", |
| 470 | 212 | .arch = MultiArch{ .specific = .s390x }, |
| 213 | .abi = MultiAbi.musl, | |
| 471 | 214 | }, |
| 472 | 215 | LibCTarget{ |
| 473 | 216 | .name = "x86_64", |
| 474 | 217 | .arch = MultiArch{ .specific = .x86_64 }, |
| 218 | .abi = MultiAbi.musl, | |
| 475 | 219 | }, |
| 476 | 220 | }; |
| 477 | 221 | |
| ... | ... | @@ -562,7 +306,7 @@ pub fn main() !void { |
| 562 | 306 | var libc_targets: []const LibCTarget = undefined; |
| 563 | 307 | switch (vendor) { |
| 564 | 308 | .musl => libc_targets = musl_targets, |
| 565 | .glibc => @panic("TODO this regressed"), // glibc_targets, | |
| 309 | .glibc => libc_targets = glibc_targets, | |
| 566 | 310 | } |
| 567 | 311 | |
| 568 | 312 | var path_table = PathTable.init(allocator); |
| ... | ... | @@ -577,7 +321,7 @@ pub fn main() !void { |
| 577 | 321 | .arch = libc_target.arch, |
| 578 | 322 | .abi = switch (vendor) { |
| 579 | 323 | .musl => .musl, |
| 580 | else => @panic("TODO this regressed"), | |
| 324 | .glibc => libc_target.abi.specific, | |
| 581 | 325 | }, |
| 582 | 326 | .os = .linux, |
| 583 | 327 | }; |
tools/update_glibc.zig+1-1| ... | ... | @@ -135,7 +135,7 @@ pub fn main() !void { |
| 135 | 135 | const allocator = &arena.allocator; |
| 136 | 136 | const args = try std.process.argsAlloc(allocator); |
| 137 | 137 | const in_glibc_dir = args[1]; // path to the unzipped tarball of glibc, e.g. ~/downloads/glibc-2.25 |
| 138 | const zig_src_dir = args[2]; // path to the source checkout of zig | |
| 138 | const zig_src_dir = args[2]; // path to the source checkout of zig, lib dir, e.g. ~/zig-src/lib | |
| 139 | 139 | |
| 140 | 140 | const prefix = try fs.path.join(allocator, [_][]const u8{ in_glibc_dir, "sysdeps", "unix", "sysv", "linux" }); |
| 141 | 141 | const glibc_out_dir = try fs.path.join(allocator, [_][]const u8{ zig_src_dir, "libc", "glibc" }); |