| author | |
| committer | |
| log | 1cf3209cb8c03227987b6f4fe43838bf224c4f26 |
| tree | 7d5e763f466c2f047c90ed894b0614ca7f3324e0 |
| parent | cd33c5bfe8e1901bba625d5048029de38e703dd6 |
| parent | 447a89cd4db37b3d184bc05a46bf330066e677ab |
| signature |
Update glibc to 2.31
Closes #4459.1106 files changed, 5763 insertions(+), 5318 deletions(-)
lib/libc/glibc/abi.txt+250-235| ... | ... | @@ -2735,6 +2735,7 @@ aarch64-linux-gnu aarch64_be-linux-gnu |
| 2735 | 2735 | 29 |
| 2736 | 2736 | 29 |
| 2737 | 2737 | 29 |
| 2738 | 41 | |
| 2738 | 2739 | 29 |
| 2739 | 2740 | 40 |
| 2740 | 2741 | 29 |
| ... | ... | @@ -3420,22 +3421,22 @@ aarch64-linux-gnu aarch64_be-linux-gnu |
| 3420 | 3421 | 29 |
| 3421 | 3422 | 29 |
| 3422 | 3423 | 29 |
| 3423 | 35 | |
| 3424 | 35 | |
| 3425 | 37 | |
| 3426 | 37 | |
| 3427 | 37 | |
| 3428 | 37 | |
| 3429 | 37 | |
| 3430 | 35 | |
| 3431 | 35 | |
| 3432 | 35 | |
| 3433 | 37 | |
| 3434 | 37 | |
| 3435 | 37 | |
| 3436 | 37 | |
| 3437 | 37 | |
| 3438 | 35 | |
| 3424 | 35 41 | |
| 3425 | 35 41 | |
| 3426 | 37 41 | |
| 3427 | 37 41 | |
| 3428 | 37 41 | |
| 3429 | 37 41 | |
| 3430 | 37 41 | |
| 3431 | 35 41 | |
| 3432 | 35 41 | |
| 3433 | 35 41 | |
| 3434 | 37 41 | |
| 3435 | 37 41 | |
| 3436 | 37 41 | |
| 3437 | 37 41 | |
| 3438 | 37 41 | |
| 3439 | 35 41 | |
| 3439 | 3440 | 29 |
| 3440 | 3441 | 29 |
| 3441 | 3442 | 29 |
| ... | ... | @@ -4240,7 +4241,7 @@ s390x-linux-gnu |
| 4240 | 4241 | 5 |
| 4241 | 4242 | 5 |
| 4242 | 4243 | 5 |
| 4243 | ||
| 4244 | 11 | |
| 4244 | 4245 | 27 |
| 4245 | 4246 | |
| 4246 | 4247 | 27 |
| ... | ... | @@ -6461,6 +6462,7 @@ s390x-linux-gnu |
| 6461 | 6462 | 5 |
| 6462 | 6463 | 5 |
| 6463 | 6464 | 5 |
| 6465 | 41 | |
| 6464 | 6466 | 5 13 |
| 6465 | 6467 | 40 |
| 6466 | 6468 | 5 13 |
| ... | ... | @@ -7146,22 +7148,22 @@ s390x-linux-gnu |
| 7146 | 7148 | 5 |
| 7147 | 7149 | 5 |
| 7148 | 7150 | 12 |
| 7149 | 35 | |
| 7150 | 35 | |
| 7151 | 37 | |
| 7152 | 37 | |
| 7153 | 37 | |
| 7154 | 37 | |
| 7155 | 37 | |
| 7156 | 35 | |
| 7157 | 35 | |
| 7158 | 35 | |
| 7159 | 37 | |
| 7160 | 37 | |
| 7161 | 37 | |
| 7162 | 37 | |
| 7163 | 37 | |
| 7164 | 35 | |
| 7151 | 35 41 | |
| 7152 | 35 41 | |
| 7153 | 37 41 | |
| 7154 | 37 41 | |
| 7155 | 37 41 | |
| 7156 | 37 41 | |
| 7157 | 37 41 | |
| 7158 | 35 41 | |
| 7159 | 35 41 | |
| 7160 | 35 41 | |
| 7161 | 37 41 | |
| 7162 | 37 41 | |
| 7163 | 37 41 | |
| 7164 | 37 41 | |
| 7165 | 37 41 | |
| 7166 | 35 41 | |
| 7165 | 7167 | 5 |
| 7166 | 7168 | 12 |
| 7167 | 7169 | 5 |
| ... | ... | @@ -10187,6 +10189,7 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf |
| 10187 | 10189 | 16 |
| 10188 | 10190 | 16 |
| 10189 | 10191 | 16 |
| 10192 | 41 | |
| 10190 | 10193 | 16 |
| 10191 | 10194 | 40 |
| 10192 | 10195 | 16 |
| ... | ... | @@ -10872,22 +10875,22 @@ arm-linux-gnueabi armeb-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf |
| 10872 | 10875 | 16 |
| 10873 | 10876 | 16 |
| 10874 | 10877 | 16 |
| 10875 | 35 | |
| 10876 | 35 | |
| 10878 | 35 41 | |
| 10879 | 35 41 | |
| 10877 | 10880 | |
| 10878 | 37 | |
| 10879 | 37 | |
| 10880 | 37 | |
| 10881 | 37 41 | |
| 10882 | 37 41 | |
| 10883 | 37 41 | |
| 10881 | 10884 | |
| 10882 | 35 | |
| 10883 | 35 | |
| 10884 | 35 | |
| 10885 | 35 41 | |
| 10886 | 35 41 | |
| 10887 | 35 41 | |
| 10885 | 10888 | |
| 10886 | 37 | |
| 10887 | 37 | |
| 10888 | 37 | |
| 10889 | 37 41 | |
| 10890 | 37 41 | |
| 10891 | 37 41 | |
| 10889 | 10892 | |
| 10890 | 35 | |
| 10893 | 35 41 | |
| 10891 | 10894 | 16 |
| 10892 | 10895 | 16 |
| 10893 | 10896 | 16 |
| ... | ... | @@ -11692,7 +11695,7 @@ sparc-linux-gnu sparcel-linux-gnu |
| 11692 | 11695 | 1 |
| 11693 | 11696 | 0 |
| 11694 | 11697 | 0 |
| 11695 | 3 | |
| 11698 | 3 11 | |
| 11696 | 11699 | 27 |
| 11697 | 11700 | |
| 11698 | 11701 | 27 |
| ... | ... | @@ -13913,6 +13916,7 @@ sparc-linux-gnu sparcel-linux-gnu |
| 13913 | 13916 | 5 |
| 13914 | 13917 | 5 |
| 13915 | 13918 | 0 |
| 13919 | 41 | |
| 13916 | 13920 | 0 13 |
| 13917 | 13921 | 40 |
| 13918 | 13922 | 0 13 |
| ... | ... | @@ -14598,22 +14602,22 @@ sparc-linux-gnu sparcel-linux-gnu |
| 14598 | 14602 | 0 |
| 14599 | 14603 | 0 |
| 14600 | 14604 | 12 |
| 14601 | 35 | |
| 14602 | 35 | |
| 14603 | 37 | |
| 14604 | 37 | |
| 14605 | 37 | |
| 14606 | 37 | |
| 14607 | 37 | |
| 14608 | 35 | |
| 14609 | 35 | |
| 14610 | 35 | |
| 14611 | 37 | |
| 14612 | 37 | |
| 14613 | 37 | |
| 14614 | 37 | |
| 14615 | 37 | |
| 14616 | 35 | |
| 14605 | 35 41 | |
| 14606 | 35 41 | |
| 14607 | 37 41 | |
| 14608 | 37 41 | |
| 14609 | 37 41 | |
| 14610 | 37 41 | |
| 14611 | 37 41 | |
| 14612 | 35 41 | |
| 14613 | 35 41 | |
| 14614 | 35 41 | |
| 14615 | 37 41 | |
| 14616 | 37 41 | |
| 14617 | 37 41 | |
| 14618 | 37 41 | |
| 14619 | 37 41 | |
| 14620 | 35 41 | |
| 14617 | 14621 | 0 |
| 14618 | 14622 | 12 |
| 14619 | 14623 | 0 |
| ... | ... | @@ -15418,7 +15422,7 @@ sparcv9-linux-gnu |
| 15418 | 15422 | 5 |
| 15419 | 15423 | 5 |
| 15420 | 15424 | 5 |
| 15421 | ||
| 15425 | 11 | |
| 15422 | 15426 | 27 |
| 15423 | 15427 | |
| 15424 | 15428 | 27 |
| ... | ... | @@ -17639,6 +17643,7 @@ sparcv9-linux-gnu |
| 17639 | 17643 | 5 |
| 17640 | 17644 | 5 |
| 17641 | 17645 | 5 |
| 17646 | 41 | |
| 17642 | 17647 | 5 13 |
| 17643 | 17648 | 40 |
| 17644 | 17649 | 5 13 |
| ... | ... | @@ -18324,22 +18329,22 @@ sparcv9-linux-gnu |
| 18324 | 18329 | 5 |
| 18325 | 18330 | 5 |
| 18326 | 18331 | 12 |
| 18327 | 35 | |
| 18328 | 35 | |
| 18329 | 37 | |
| 18330 | 37 | |
| 18331 | 37 | |
| 18332 | 37 | |
| 18333 | 37 | |
| 18334 | 35 | |
| 18335 | 35 | |
| 18336 | 35 | |
| 18337 | 37 | |
| 18338 | 37 | |
| 18339 | 37 | |
| 18340 | 37 | |
| 18341 | 37 | |
| 18342 | 35 | |
| 18332 | 35 41 | |
| 18333 | 35 41 | |
| 18334 | 37 41 | |
| 18335 | 37 41 | |
| 18336 | 37 41 | |
| 18337 | 37 41 | |
| 18338 | 37 41 | |
| 18339 | 35 41 | |
| 18340 | 35 41 | |
| 18341 | 35 41 | |
| 18342 | 37 41 | |
| 18343 | 37 41 | |
| 18344 | 37 41 | |
| 18345 | 37 41 | |
| 18346 | 37 41 | |
| 18347 | 35 41 | |
| 18343 | 18348 | 5 |
| 18344 | 18349 | 12 |
| 18345 | 18350 | 5 |
| ... | ... | @@ -19144,7 +19149,7 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 19144 | 19149 | 5 |
| 19145 | 19150 | 0 |
| 19146 | 19151 | 0 |
| 19147 | ||
| 19152 | 11 | |
| 19148 | 19153 | 27 |
| 19149 | 19154 | |
| 19150 | 19155 | 27 |
| ... | ... | @@ -21365,6 +21370,7 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 21365 | 21370 | 5 |
| 21366 | 21371 | 5 |
| 21367 | 21372 | 0 |
| 21373 | 41 | |
| 21368 | 21374 | 0 13 |
| 21369 | 21375 | 40 |
| 21370 | 21376 | 0 13 |
| ... | ... | @@ -22050,22 +22056,22 @@ mips64el-linux-gnuabi64 mips64-linux-gnuabi64 |
| 22050 | 22056 | 0 |
| 22051 | 22057 | 0 |
| 22052 | 22058 | 12 |
| 22053 | 35 | |
| 22054 | 35 | |
| 22055 | 37 | |
| 22056 | 37 | |
| 22057 | 37 | |
| 22058 | 37 | |
| 22059 | 37 | |
| 22060 | 35 | |
| 22061 | 35 | |
| 22062 | 35 | |
| 22063 | 37 | |
| 22064 | 37 | |
| 22065 | 37 | |
| 22066 | 37 | |
| 22067 | 37 | |
| 22068 | 35 | |
| 22059 | 35 41 | |
| 22060 | 35 41 | |
| 22061 | 37 41 | |
| 22062 | 37 41 | |
| 22063 | 37 41 | |
| 22064 | 37 41 | |
| 22065 | 37 41 | |
| 22066 | 35 41 | |
| 22067 | 35 41 | |
| 22068 | 35 41 | |
| 22069 | 37 41 | |
| 22070 | 37 41 | |
| 22071 | 37 41 | |
| 22072 | 37 41 | |
| 22073 | 37 41 | |
| 22074 | 35 41 | |
| 22069 | 22075 | 0 |
| 22070 | 22076 | 12 |
| 22071 | 22077 | 0 |
| ... | ... | @@ -22870,7 +22876,7 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 22870 | 22876 | 5 |
| 22871 | 22877 | 0 |
| 22872 | 22878 | 0 |
| 22873 | ||
| 22879 | 11 | |
| 22874 | 22880 | 27 |
| 22875 | 22881 | |
| 22876 | 22882 | 27 |
| ... | ... | @@ -25091,6 +25097,7 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 25091 | 25097 | 5 |
| 25092 | 25098 | 5 |
| 25093 | 25099 | 0 |
| 25100 | 41 | |
| 25094 | 25101 | 0 13 |
| 25095 | 25102 | 40 |
| 25096 | 25103 | 0 13 |
| ... | ... | @@ -25776,22 +25783,22 @@ mips64el-linux-gnuabin32 mips64-linux-gnuabin32 |
| 25776 | 25783 | 0 |
| 25777 | 25784 | 0 |
| 25778 | 25785 | 12 |
| 25779 | 35 | |
| 25780 | 35 | |
| 25781 | 37 | |
| 25782 | 37 | |
| 25783 | 37 | |
| 25784 | 37 | |
| 25785 | 37 | |
| 25786 | 35 | |
| 25787 | 35 | |
| 25788 | 35 | |
| 25789 | 37 | |
| 25790 | 37 | |
| 25791 | 37 | |
| 25792 | 37 | |
| 25793 | 37 | |
| 25794 | 35 | |
| 25786 | 35 41 | |
| 25787 | 35 41 | |
| 25788 | 37 41 | |
| 25789 | 37 41 | |
| 25790 | 37 41 | |
| 25791 | 37 41 | |
| 25792 | 37 41 | |
| 25793 | 35 41 | |
| 25794 | 35 41 | |
| 25795 | 35 41 | |
| 25796 | 37 41 | |
| 25797 | 37 41 | |
| 25798 | 37 41 | |
| 25799 | 37 41 | |
| 25800 | 37 41 | |
| 25801 | 35 41 | |
| 25795 | 25802 | 0 |
| 25796 | 25803 | 12 |
| 25797 | 25804 | 0 |
| ... | ... | @@ -26596,7 +26603,7 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 26596 | 26603 | 5 |
| 26597 | 26604 | 0 |
| 26598 | 26605 | 0 |
| 26599 | ||
| 26606 | 11 | |
| 26600 | 26607 | 27 |
| 26601 | 26608 | |
| 26602 | 26609 | 27 |
| ... | ... | @@ -28817,6 +28824,7 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 28817 | 28824 | 5 |
| 28818 | 28825 | 5 |
| 28819 | 28826 | 0 |
| 28827 | 41 | |
| 28820 | 28828 | 0 13 |
| 28821 | 28829 | 40 |
| 28822 | 28830 | 0 13 |
| ... | ... | @@ -29502,22 +29510,22 @@ mipsel-linux-gnueabihf mips-linux-gnueabihf |
| 29502 | 29510 | 0 |
| 29503 | 29511 | 0 |
| 29504 | 29512 | 12 |
| 29505 | 35 | |
| 29506 | 35 | |
| 29513 | 35 41 | |
| 29514 | 35 41 | |
| 29507 | 29515 | |
| 29508 | 37 | |
| 29509 | 37 | |
| 29510 | 37 | |
| 29516 | 37 41 | |
| 29517 | 37 41 | |
| 29518 | 37 41 | |
| 29511 | 29519 | |
| 29512 | 35 | |
| 29513 | 35 | |
| 29514 | 35 | |
| 29520 | 35 41 | |
| 29521 | 35 41 | |
| 29522 | 35 41 | |
| 29515 | 29523 | |
| 29516 | 37 | |
| 29517 | 37 | |
| 29518 | 37 | |
| 29524 | 37 41 | |
| 29525 | 37 41 | |
| 29526 | 37 41 | |
| 29519 | 29527 | |
| 29520 | 35 | |
| 29528 | 35 41 | |
| 29521 | 29529 | 0 |
| 29522 | 29530 | 12 |
| 29523 | 29531 | 0 |
| ... | ... | @@ -30322,7 +30330,7 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 30322 | 30330 | 5 |
| 30323 | 30331 | 0 |
| 30324 | 30332 | 0 |
| 30325 | ||
| 30333 | 11 | |
| 30326 | 30334 | 27 |
| 30327 | 30335 | |
| 30328 | 30336 | 27 |
| ... | ... | @@ -32543,6 +32551,7 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 32543 | 32551 | 5 |
| 32544 | 32552 | 5 |
| 32545 | 32553 | 0 |
| 32554 | 41 | |
| 32546 | 32555 | 0 13 |
| 32547 | 32556 | 40 |
| 32548 | 32557 | 0 13 |
| ... | ... | @@ -33228,22 +33237,22 @@ mipsel-linux-gnueabi mips-linux-gnueabi |
| 33228 | 33237 | 0 |
| 33229 | 33238 | 0 |
| 33230 | 33239 | 12 |
| 33231 | 35 | |
| 33232 | 35 | |
| 33240 | 35 41 | |
| 33241 | 35 41 | |
| 33233 | 33242 | |
| 33234 | 37 | |
| 33235 | 37 | |
| 33236 | 37 | |
| 33243 | 37 41 | |
| 33244 | 37 41 | |
| 33245 | 37 41 | |
| 33237 | 33246 | |
| 33238 | 35 | |
| 33239 | 35 | |
| 33240 | 35 | |
| 33247 | 35 41 | |
| 33248 | 35 41 | |
| 33249 | 35 41 | |
| 33241 | 33250 | |
| 33242 | 37 | |
| 33243 | 37 | |
| 33244 | 37 | |
| 33251 | 37 41 | |
| 33252 | 37 41 | |
| 33253 | 37 41 | |
| 33245 | 33254 | |
| 33246 | 35 | |
| 33255 | 35 41 | |
| 33247 | 33256 | 0 |
| 33248 | 33257 | 12 |
| 33249 | 33258 | 0 |
| ... | ... | @@ -34048,7 +34057,7 @@ x86_64-linux-gnu |
| 34048 | 34057 | 10 |
| 34049 | 34058 | 10 |
| 34050 | 34059 | 10 |
| 34051 | ||
| 34060 | 11 | |
| 34052 | 34061 | 27 |
| 34053 | 34062 | 36 |
| 34054 | 34063 | 27 |
| ... | ... | @@ -36269,6 +36278,7 @@ x86_64-linux-gnu |
| 36269 | 36278 | 10 |
| 36270 | 36279 | 10 |
| 36271 | 36280 | 10 |
| 36281 | 41 | |
| 36272 | 36282 | 10 13 |
| 36273 | 36283 | 40 |
| 36274 | 36284 | 10 13 |
| ... | ... | @@ -36954,22 +36964,22 @@ x86_64-linux-gnu |
| 36954 | 36964 | 10 |
| 36955 | 36965 | 10 |
| 36956 | 36966 | 12 |
| 36957 | 35 | |
| 36958 | 35 | |
| 36959 | 36 | |
| 36960 | 37 | |
| 36961 | 37 | |
| 36962 | 37 | |
| 36963 | 37 | |
| 36964 | 35 | |
| 36965 | 35 | |
| 36966 | 35 | |
| 36967 | 36 | |
| 36968 | 37 | |
| 36969 | 37 | |
| 36970 | 37 | |
| 36971 | 37 | |
| 36972 | 35 | |
| 36967 | 35 41 | |
| 36968 | 35 41 | |
| 36969 | 36 41 | |
| 36970 | 37 41 | |
| 36971 | 37 41 | |
| 36972 | 37 41 | |
| 36973 | 37 41 | |
| 36974 | 35 41 | |
| 36975 | 35 41 | |
| 36976 | 35 41 | |
| 36977 | 36 41 | |
| 36978 | 37 41 | |
| 36979 | 37 41 | |
| 36980 | 37 41 | |
| 36981 | 37 41 | |
| 36982 | 35 41 | |
| 36973 | 36983 | 10 |
| 36974 | 36984 | 12 |
| 36975 | 36985 | 10 |
| ... | ... | @@ -38600,11 +38610,11 @@ x86_64-linux-gnux32 |
| 38600 | 38610 | 28 |
| 38601 | 38611 | 28 |
| 38602 | 38612 | 28 |
| 38603 | 29 28 | |
| 38604 | 29 28 | |
| 38605 | 29 28 | |
| 38606 | 29 28 | |
| 38607 | 29 28 | |
| 38613 | 28 29 | |
| 38614 | 28 29 | |
| 38615 | 28 29 | |
| 38616 | 28 29 | |
| 38617 | 28 29 | |
| 38608 | 38618 | 28 |
| 38609 | 38619 | 28 |
| 38610 | 38620 | 28 |
| ... | ... | @@ -39995,6 +40005,7 @@ x86_64-linux-gnux32 |
| 39995 | 40005 | 28 |
| 39996 | 40006 | 28 |
| 39997 | 40007 | 28 |
| 40008 | 41 | |
| 39998 | 40009 | 28 |
| 39999 | 40010 | 40 |
| 40000 | 40011 | 28 |
| ... | ... | @@ -40680,22 +40691,22 @@ x86_64-linux-gnux32 |
| 40680 | 40691 | 28 |
| 40681 | 40692 | 28 |
| 40682 | 40693 | 28 |
| 40683 | 35 | |
| 40684 | 35 | |
| 40685 | 36 | |
| 40686 | 37 | |
| 40687 | 37 | |
| 40688 | 37 | |
| 40689 | 37 | |
| 40690 | 35 | |
| 40691 | 35 | |
| 40692 | 35 | |
| 40693 | 36 | |
| 40694 | 37 | |
| 40695 | 37 | |
| 40696 | 37 | |
| 40697 | 37 | |
| 40698 | 35 | |
| 40694 | 35 41 | |
| 40695 | 35 41 | |
| 40696 | 36 41 | |
| 40697 | 37 41 | |
| 40698 | 37 41 | |
| 40699 | 37 41 | |
| 40700 | 37 41 | |
| 40701 | 35 41 | |
| 40702 | 35 41 | |
| 40703 | 35 41 | |
| 40704 | 36 41 | |
| 40705 | 37 41 | |
| 40706 | 37 41 | |
| 40707 | 37 41 | |
| 40708 | 37 41 | |
| 40709 | 35 41 | |
| 40699 | 40710 | 28 |
| 40700 | 40711 | 28 |
| 40701 | 40712 | 28 |
| ... | ... | @@ -41500,7 +41511,7 @@ i386-linux-gnu |
| 41500 | 41511 | 1 |
| 41501 | 41512 | 0 |
| 41502 | 41513 | 0 |
| 41503 | 3 | |
| 41514 | 3 11 | |
| 41504 | 41515 | 27 |
| 41505 | 41516 | 36 |
| 41506 | 41517 | 27 |
| ... | ... | @@ -43721,6 +43732,7 @@ i386-linux-gnu |
| 43721 | 43732 | 5 |
| 43722 | 43733 | 5 |
| 43723 | 43734 | 0 |
| 43735 | 41 | |
| 43724 | 43736 | 0 13 |
| 43725 | 43737 | 40 |
| 43726 | 43738 | 0 13 |
| ... | ... | @@ -44406,22 +44418,22 @@ i386-linux-gnu |
| 44406 | 44418 | 0 |
| 44407 | 44419 | 0 |
| 44408 | 44420 | 12 |
| 44409 | 35 | |
| 44410 | 35 | |
| 44411 | 36 | |
| 44412 | 37 | |
| 44413 | 37 | |
| 44414 | 37 | |
| 44415 | 37 | |
| 44416 | 35 | |
| 44417 | 35 | |
| 44418 | 35 | |
| 44419 | 36 | |
| 44420 | 37 | |
| 44421 | 37 | |
| 44422 | 37 | |
| 44423 | 37 | |
| 44424 | 35 | |
| 44421 | 35 41 | |
| 44422 | 35 41 | |
| 44423 | 36 41 | |
| 44424 | 37 41 | |
| 44425 | 37 41 | |
| 44426 | 37 41 | |
| 44427 | 37 41 | |
| 44428 | 35 41 | |
| 44429 | 35 41 | |
| 44430 | 35 41 | |
| 44431 | 36 41 | |
| 44432 | 37 41 | |
| 44433 | 37 41 | |
| 44434 | 37 41 | |
| 44435 | 37 41 | |
| 44436 | 35 41 | |
| 44425 | 44437 | 0 |
| 44426 | 44438 | 12 |
| 44427 | 44439 | 0 |
| ... | ... | @@ -47447,6 +47459,7 @@ powerpc64le-linux-gnu |
| 47447 | 47459 | 29 |
| 47448 | 47460 | 29 |
| 47449 | 47461 | 29 |
| 47462 | 41 | |
| 47450 | 47463 | 29 |
| 47451 | 47464 | 40 |
| 47452 | 47465 | 29 |
| ... | ... | @@ -48132,22 +48145,22 @@ powerpc64le-linux-gnu |
| 48132 | 48145 | 29 |
| 48133 | 48146 | 29 |
| 48134 | 48147 | 29 |
| 48135 | 35 | |
| 48136 | 35 | |
| 48137 | 36 | |
| 48138 | 37 | |
| 48139 | 37 | |
| 48140 | 37 | |
| 48141 | 37 | |
| 48142 | 35 | |
| 48143 | 35 | |
| 48144 | 35 | |
| 48145 | 36 | |
| 48146 | 37 | |
| 48147 | 37 | |
| 48148 | 37 | |
| 48149 | 37 | |
| 48150 | 35 | |
| 48148 | 35 41 | |
| 48149 | 35 41 | |
| 48150 | 36 41 | |
| 48151 | 37 41 | |
| 48152 | 37 41 | |
| 48153 | 37 41 | |
| 48154 | 37 41 | |
| 48155 | 35 41 | |
| 48156 | 35 41 | |
| 48157 | 35 41 | |
| 48158 | 36 41 | |
| 48159 | 37 41 | |
| 48160 | 37 41 | |
| 48161 | 37 41 | |
| 48162 | 37 41 | |
| 48163 | 35 41 | |
| 48151 | 48164 | 29 |
| 48152 | 48165 | 29 |
| 48153 | 48166 | 29 |
| ... | ... | @@ -51173,6 +51186,7 @@ powerpc64-linux-gnu |
| 51173 | 51186 | 12 |
| 51174 | 51187 | 12 |
| 51175 | 51188 | 12 |
| 51189 | 41 | |
| 51176 | 51190 | 12 13 |
| 51177 | 51191 | 40 |
| 51178 | 51192 | 12 13 |
| ... | ... | @@ -51858,22 +51872,22 @@ powerpc64-linux-gnu |
| 51858 | 51872 | 12 |
| 51859 | 51873 | 12 |
| 51860 | 51874 | 12 |
| 51861 | 35 | |
| 51862 | 35 | |
| 51875 | 35 41 | |
| 51876 | 35 41 | |
| 51863 | 51877 | |
| 51864 | 37 | |
| 51865 | 37 | |
| 51866 | 37 | |
| 51878 | 37 41 | |
| 51879 | 37 41 | |
| 51880 | 37 41 | |
| 51867 | 51881 | |
| 51868 | 35 | |
| 51869 | 35 | |
| 51870 | 35 | |
| 51882 | 35 41 | |
| 51883 | 35 41 | |
| 51884 | 35 41 | |
| 51871 | 51885 | |
| 51872 | 37 | |
| 51873 | 37 | |
| 51874 | 37 | |
| 51886 | 37 41 | |
| 51887 | 37 41 | |
| 51888 | 37 41 | |
| 51875 | 51889 | |
| 51876 | 35 | |
| 51890 | 35 41 | |
| 51877 | 51891 | 12 |
| 51878 | 51892 | 12 |
| 51879 | 51893 | 12 |
| ... | ... | @@ -52678,7 +52692,7 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 52678 | 52692 | 1 |
| 52679 | 52693 | 0 |
| 52680 | 52694 | 0 |
| 52681 | 3 | |
| 52695 | 3 11 | |
| 52682 | 52696 | 27 |
| 52683 | 52697 | |
| 52684 | 52698 | 27 |
| ... | ... | @@ -54899,6 +54913,7 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 54899 | 54913 | 5 |
| 54900 | 54914 | 5 |
| 54901 | 54915 | 0 |
| 54916 | 41 | |
| 54902 | 54917 | 0 13 |
| 54903 | 54918 | 40 |
| 54904 | 54919 | 0 13 |
| ... | ... | @@ -55584,22 +55599,22 @@ powerpc-linux-gnueabi powerpc-linux-gnueabihf |
| 55584 | 55599 | 0 |
| 55585 | 55600 | 0 |
| 55586 | 55601 | 12 |
| 55587 | 35 | |
| 55588 | 35 | |
| 55602 | 35 41 | |
| 55603 | 35 41 | |
| 55589 | 55604 | |
| 55590 | 37 | |
| 55591 | 37 | |
| 55592 | 37 | |
| 55605 | 37 41 | |
| 55606 | 37 41 | |
| 55607 | 37 41 | |
| 55593 | 55608 | |
| 55594 | 35 | |
| 55595 | 35 | |
| 55596 | 35 | |
| 55609 | 35 41 | |
| 55610 | 35 41 | |
| 55611 | 35 41 | |
| 55597 | 55612 | |
| 55598 | 37 | |
| 55599 | 37 | |
| 55600 | 37 | |
| 55613 | 37 41 | |
| 55614 | 37 41 | |
| 55615 | 37 41 | |
| 55601 | 55616 | |
| 55602 | 35 | |
| 55617 | 35 41 | |
| 55603 | 55618 | 0 |
| 55604 | 55619 | 12 |
| 55605 | 55620 | 0 |
lib/libc/glibc/fns.txt+1| ... | ... | @@ -2734,6 +2734,7 @@ pthread_barrierattr_getpshared pthread |
| 2734 | 2734 | pthread_barrierattr_init pthread |
| 2735 | 2735 | pthread_barrierattr_setpshared pthread |
| 2736 | 2736 | pthread_cancel pthread |
| 2737 | pthread_clockjoin_np pthread | |
| 2737 | 2738 | pthread_cond_broadcast c |
| 2738 | 2739 | pthread_cond_clockwait pthread |
| 2739 | 2740 | pthread_cond_destroy c |
lib/libc/glibc/vers.txt+1| ... | ... | @@ -39,3 +39,4 @@ GLIBC_2.27 |
| 39 | 39 | GLIBC_2.28 |
| 40 | 40 | GLIBC_2.29 |
| 41 | 41 | GLIBC_2.30 |
| 42 | GLIBC_2.31 |
lib/libc/include/aarch64-linux-gnu/bits/endian.h deleted-30| ... | ... | @@ -1,30 +0,0 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | ||
| 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 License as | |
| 7 | published by the Free Software Foundation; either version 2.1 of the | |
| 8 | 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 _ENDIAN_H | |
| 20 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | /* AArch64 can be either big or little endian. */ | |
| 24 | #ifdef __AARCH64EB__ | |
| 25 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 26 | #else | |
| 27 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 28 | #endif | |
| 29 | ||
| 30 | #define __FLOAT_WORD_ORDER __BYTE_ORDER | |
| \ No newline at end of file |
lib/libc/include/aarch64-linux-gnu/bits/endianness.h created+15| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* AArch64 has selectable endianness. */ | |
| 9 | #ifdef __AARCH64EB__ | |
| 10 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 11 | #else | |
| 12 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 13 | #endif | |
| 14 | ||
| 15 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/aarch64-linux-gnu/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for the AArch64 Linux ABI. |
| 2 | Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library. If not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef	_FCNTL_H |
| 21 | 21 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/aarch64-linux-gnu/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FENV_H |
| 20 | 20 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -73,7 +73,7 @@ fenv_t; |
| 73 | 73 | # define FE_NOMASK_ENV ((const fenv_t *) -2) |
| 74 | 74 | #endif |
| 75 | 75 | |
| 76 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 76 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 77 | 77 | /* Type representing floating-point control modes. */ |
| 78 | 78 | typedef unsigned int femode_t; |
| 79 | 79 |
lib/libc/include/aarch64-linux-gnu/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on ldbl-128 platforms. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/aarch64-linux-gnu/bits/fp-fast.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define FP_FAST_* macros. AArch64 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/fp-fast.h> directly; include <math.h> instead." |
lib/libc/include/aarch64-linux-gnu/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP. AArch64 Linux version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined (_SYS_AUXV_H) |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/aarch64-linux-gnu/bits/ipc.h deleted-54| ... | ... | @@ -1,54 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | ||
| 24 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 25 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 26 | #define IPC_EXCL	02000		/* Fail if key exists. */ | |
| 27 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 28 | ||
| 29 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 30 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 31 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 32 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 33 | #ifdef __USE_GNU | |
| 34 | # define IPC_INFO	3		/* See ipcs. */ | |
| 35 | #endif | |
| 36 | ||
| 37 | /* Special key values. */ | |
| 38 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key. */ | |
| 39 | ||
| 40 | ||
| 41 | /* Data structure used to pass permission information to IPC operations. */ | |
| 42 | struct ipc_perm | |
| 43 | { | |
| 44 | __key_t __key;			/* Key. */ | |
| 45 | __uid_t uid;			/* Owner's user ID. */ | |
| 46 | __gid_t gid;			/* Owner's group ID. */ | |
| 47 | __uid_t cuid;			/* Creator's user ID. */ | |
| 48 | __gid_t cgid;			/* Creator's group ID. */ | |
| 49 | unsigned int mode;			/* Read/write permission. */ | |
| 50 | unsigned short int __seq;		/* Sequence number. */ | |
| 51 | unsigned short int __pad1; | |
| 52 | __syscall_ulong_t __glibc_reserved1; | |
| 53 | __syscall_ulong_t __glibc_reserved2; | |
| 54 | }; | |
| \ No newline at end of file |
lib/libc/include/aarch64-linux-gnu/bits/link.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_LINK_H |
| 20 | 20 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/aarch64-linux-gnu/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. Linux version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library. If not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 21 | 21 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/aarch64-linux-gnu/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. ldbl-128 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,8 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* long double is distinct from double, so there is nothing to |
| 20 | define here. */ | |
| \ No newline at end of file | ||
| 20 | define here. */ | |
| 21 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/aarch64-linux-gnu/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. AArch64 version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/aarch64-linux-gnu/bits/pthreadtypes-arch.h+3-27| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,12 +14,12 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_PTHREADTYPES_ARCH_H |
| 20 | 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 |
| 21 | 21 | |
| 22 | #include <endian.h> | |
| 22 | #include <bits/endian.h> | |
| 23 | 23 | |
| 24 | 24 | #ifdef __ILP32__ |
| 25 | 25 | # define __SIZEOF_PTHREAD_ATTR_T 32 |
| ... | ... | @@ -41,31 +41,7 @@ |
| 41 | 41 | #define __SIZEOF_PTHREAD_COND_T 48 |
| 42 | 42 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T	8 |
| 43 | 43 | |
| 44 | /* Definitions for internal mutex struct. */ | |
| 45 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 46 | #define __PTHREAD_COMPAT_PADDING_END | |
| 47 | #define __PTHREAD_MUTEX_LOCK_ELISION	0 | |
| 48 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 0 | |
| 49 | #define __PTHREAD_MUTEX_USE_UNION 0 | |
| 50 | ||
| 51 | 44 | #define __LOCK_ALIGNMENT |
| 52 | 45 | #define __ONCE_ALIGNMENT |
| 53 | 46 | |
| 54 | struct __pthread_rwlock_arch_t | |
| 55 | { | |
| 56 | unsigned int __readers; | |
| 57 | unsigned int __writers; | |
| 58 | unsigned int __wrphase_futex; | |
| 59 | unsigned int __writers_futex; | |
| 60 | unsigned int __pad3; | |
| 61 | unsigned int __pad4; | |
| 62 | int __cur_writer; | |
| 63 | int __shared; | |
| 64 | unsigned long int __pad1; | |
| 65 | unsigned long int __pad2; | |
| 66 | unsigned int __flags; | |
| 67 | }; | |
| 68 | ||
| 69 | #define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 70 | ||
| 71 | 47 | #endif	/* bits/pthreadtypes.h */ |
| \ No newline at end of file |
lib/libc/include/aarch64-linux-gnu/bits/semaphore.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SEMAPHORE_H |
| 20 | 20 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/aarch64-linux-gnu/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SETJMP_H |
| 20 | 20 | #define _BITS_SETJMP_H 1 |
lib/libc/include/aarch64-linux-gnu/bits/sigstack.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 2015-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2015-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGSTACK_H |
| 20 | 20 | #define _BITS_SIGSTACK_H 1 |
lib/libc/include/aarch64-linux-gnu/bits/stat.h+7-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 20 | 20 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
| ... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 | #ifndef _BITS_STAT_H |
| 24 | 24 | #define _BITS_STAT_H	1 |
| 25 | 25 | |
| 26 | #include <endian.h> | |
| 26 | #include <bits/endian.h> | |
| 27 | 27 | #include <bits/wordsize.h> |
| 28 | 28 | |
| 29 | 29 | /* 64-bit libc uses the kernel's 'struct stat', accessed via the |
| ... | ... | @@ -42,7 +42,10 @@ |
| 42 | 42 | |
| 43 | 43 | #if defined __USE_FILE_OFFSET64 |
| 44 | 44 | # define __field64(type, type64, name) type64 name |
| 45 | #elif __WORDSIZE == 64 | |
| 45 | #elif __WORDSIZE == 64 || defined __INO_T_MATCHES_INO64_T | |
| 46 | # if defined __INO_T_MATCHES_INO64_T && !defined __OFF_T_MATCHES_OFF64_T | |
| 47 | # error "ino_t and off_t must both be the same type" | |
| 48 | # endif | |
| 46 | 49 | # define __field64(type, type64, name) type name |
| 47 | 50 | #elif __BYTE_ORDER == __LITTLE_ENDIAN |
| 48 | 51 | # define __field64(type, type64, name) \ |
lib/libc/include/aarch64-linux-gnu/bits/statfs.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 4 | 4 | |
| ... | ... | @@ -14,13 +14,13 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_STATFS_H |
| 20 | 20 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." |
| 21 | 21 | #endif |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | #include <bits/types.h> |
| 25 | 25 | #include <bits/wordsize.h> |
| 26 | 26 | |
| ... | ... | @@ -34,7 +34,7 @@ |
| 34 | 34 | |
| 35 | 35 | #if defined __USE_FILE_OFFSET64 |
| 36 | 36 | # define __field64(type, type64, name) type64 name |
| 37 | #elif __WORDSIZE == 64 | |
| 37 | #elif __WORDSIZE == 64 || __STATFS_MATCHES_STATFS64 | |
| 38 | 38 | # define __field64(type, type64, name) type name |
| 39 | 39 | #elif __BYTE_ORDER == __LITTLE_ENDIAN |
| 40 | 40 | # define __field64(type, type64, name) \ |
lib/libc/include/aarch64-linux-gnu/bits/struct_rwlock.h created+41| ... | ... | @@ -0,0 +1,41 @@ |
| 1 | /* AArch64 internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 4 | This file is part of the GNU C Library. | |
| 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with the GNU C Library; if not, see | |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | |
| 21 | #define _RWLOCK_INTERNAL_H | |
| 22 | ||
| 23 | struct __pthread_rwlock_arch_t | |
| 24 | { | |
| 25 | unsigned int __readers; | |
| 26 | unsigned int __writers; | |
| 27 | unsigned int __wrphase_futex; | |
| 28 | unsigned int __writers_futex; | |
| 29 | unsigned int __pad3; | |
| 30 | unsigned int __pad4; | |
| 31 | int __cur_writer; | |
| 32 | int __shared; | |
| 33 | unsigned long int __pad1; | |
| 34 | unsigned long int __pad2; | |
| 35 | unsigned int __flags; | |
| 36 | }; | |
| 37 | ||
| 38 | #define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 39 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags | |
| 40 | ||
| 41 | #endif | |
| \ No newline at end of file |
lib/libc/include/aarch64-linux-gnu/bits/typesizes.h+7-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI. |
| 2 | Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library. If not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _BITS_TYPES_H |
| 21 | 21 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." |
| ... | ... | @@ -73,10 +73,14 @@ |
| 73 | 73 | |
| 74 | 74 | /* And for __rlim_t and __rlim64_t. */ |
| 75 | 75 | # define __RLIM_T_MATCHES_RLIM64_T	1 |
| 76 | ||
| 77 | /* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */ | |
| 78 | # define __STATFS_MATCHES_STATFS64 1 | |
| 76 | 79 | #else |
| 77 | 80 | # define __RLIM_T_MATCHES_RLIM64_T	0 |
| 78 | #endif | |
| 79 | 81 | |
| 82 | # define __STATFS_MATCHES_STATFS64 0 | |
| 83 | #endif | |
| 80 | 84 | /* Number of descriptors that can fit in an `fd_set'. */ |
| 81 | 85 | #define	__FD_SETSIZE		1024 |
| 82 | 86 |
lib/libc/include/aarch64-linux-gnu/bits/wordsize.h+2-2| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | /* Determine the wordsize from the preprocessor defines. |
| 2 | 2 | |
| 3 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 3 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| 6 | 6 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifdef __LP64__ |
| 21 | 21 | # define __WORDSIZE			64 |
lib/libc/include/aarch64-linux-gnu/fpu_control.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _AARCH64_FPU_CONTROL_H |
| 20 | 20 | #define _AARCH64_FPU_CONTROL_H |
lib/libc/include/aarch64-linux-gnu/ieee754.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,14 +13,14 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | 25 | __BEGIN_DECLS |
| 26 | 26 |
lib/libc/include/aarch64-linux-gnu/sys/elf.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_ELF_H |
| 20 | 20 | #define _SYS_ELF_H	1 |
lib/libc/include/aarch64-linux-gnu/sys/ptrace.h+7-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/AArch64 version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PTRACE_H |
| 21 | 21 | #define _SYS_PTRACE_H	1 |
| ... | ... | @@ -136,8 +136,12 @@ enum __ptrace_request |
| 136 | 136 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 137 | 137 | |
| 138 | 138 | /* Get seccomp BPF filter metadata. */ |
| 139 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 139 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 140 | 140 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 141 | ||
| 142 | /* Get information about system call. */ | |
| 143 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 144 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 141 | 145 | }; |
| 142 | 146 | |
| 143 | 147 |
lib/libc/include/aarch64-linux-gnu/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* System V/AArch64 ABI compliant context switching support. */ |
| 20 | 20 |
lib/libc/include/aarch64-linux-gnu/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2009-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2009-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_USER_H |
| 20 | 20 | #define _SYS_USER_H	1 |
lib/libc/include/aarch64_be-linux-gnu/bits/endian.h deleted-30| ... | ... | @@ -1,30 +0,0 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | ||
| 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 License as | |
| 7 | published by the Free Software Foundation; either version 2.1 of the | |
| 8 | 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 _ENDIAN_H | |
| 20 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | /* AArch64 can be either big or little endian. */ | |
| 24 | #ifdef __AARCH64EB__ | |
| 25 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 26 | #else | |
| 27 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 28 | #endif | |
| 29 | ||
| 30 | #define __FLOAT_WORD_ORDER __BYTE_ORDER | |
| \ No newline at end of file |
lib/libc/include/aarch64_be-linux-gnu/bits/endianness.h created+15| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* AArch64 has selectable endianness. */ | |
| 9 | #ifdef __AARCH64EB__ | |
| 10 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 11 | #else | |
| 12 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 13 | #endif | |
| 14 | ||
| 15 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/aarch64_be-linux-gnu/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for the AArch64 Linux ABI. |
| 2 | Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library. If not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef	_FCNTL_H |
| 21 | 21 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/aarch64_be-linux-gnu/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FENV_H |
| 20 | 20 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -73,7 +73,7 @@ fenv_t; |
| 73 | 73 | # define FE_NOMASK_ENV ((const fenv_t *) -2) |
| 74 | 74 | #endif |
| 75 | 75 | |
| 76 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 76 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 77 | 77 | /* Type representing floating-point control modes. */ |
| 78 | 78 | typedef unsigned int femode_t; |
| 79 | 79 |
lib/libc/include/aarch64_be-linux-gnu/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on ldbl-128 platforms. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/aarch64_be-linux-gnu/bits/fp-fast.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define FP_FAST_* macros. AArch64 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/fp-fast.h> directly; include <math.h> instead." |
lib/libc/include/aarch64_be-linux-gnu/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP. AArch64 Linux version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined (_SYS_AUXV_H) |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/aarch64_be-linux-gnu/bits/ipc.h deleted-54| ... | ... | @@ -1,54 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | ||
| 24 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 25 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 26 | #define IPC_EXCL	02000		/* Fail if key exists. */ | |
| 27 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 28 | ||
| 29 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 30 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 31 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 32 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 33 | #ifdef __USE_GNU | |
| 34 | # define IPC_INFO	3		/* See ipcs. */ | |
| 35 | #endif | |
| 36 | ||
| 37 | /* Special key values. */ | |
| 38 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key. */ | |
| 39 | ||
| 40 | ||
| 41 | /* Data structure used to pass permission information to IPC operations. */ | |
| 42 | struct ipc_perm | |
| 43 | { | |
| 44 | __key_t __key;			/* Key. */ | |
| 45 | __uid_t uid;			/* Owner's user ID. */ | |
| 46 | __gid_t gid;			/* Owner's group ID. */ | |
| 47 | __uid_t cuid;			/* Creator's user ID. */ | |
| 48 | __gid_t cgid;			/* Creator's group ID. */ | |
| 49 | unsigned int mode;			/* Read/write permission. */ | |
| 50 | unsigned short int __seq;		/* Sequence number. */ | |
| 51 | unsigned short int __pad1; | |
| 52 | __syscall_ulong_t __glibc_reserved1; | |
| 53 | __syscall_ulong_t __glibc_reserved2; | |
| 54 | }; | |
| \ No newline at end of file |
lib/libc/include/aarch64_be-linux-gnu/bits/link.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_LINK_H |
| 20 | 20 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/aarch64_be-linux-gnu/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. Linux version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library. If not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 21 | 21 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/aarch64_be-linux-gnu/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. ldbl-128 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,8 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* long double is distinct from double, so there is nothing to |
| 20 | define here. */ | |
| \ No newline at end of file | ||
| 20 | define here. */ | |
| 21 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/aarch64_be-linux-gnu/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. AArch64 version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/aarch64_be-linux-gnu/bits/pthreadtypes-arch.h+3-27| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,12 +14,12 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_PTHREADTYPES_ARCH_H |
| 20 | 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 |
| 21 | 21 | |
| 22 | #include <endian.h> | |
| 22 | #include <bits/endian.h> | |
| 23 | 23 | |
| 24 | 24 | #ifdef __ILP32__ |
| 25 | 25 | # define __SIZEOF_PTHREAD_ATTR_T 32 |
| ... | ... | @@ -41,31 +41,7 @@ |
| 41 | 41 | #define __SIZEOF_PTHREAD_COND_T 48 |
| 42 | 42 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T	8 |
| 43 | 43 | |
| 44 | /* Definitions for internal mutex struct. */ | |
| 45 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 46 | #define __PTHREAD_COMPAT_PADDING_END | |
| 47 | #define __PTHREAD_MUTEX_LOCK_ELISION	0 | |
| 48 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 0 | |
| 49 | #define __PTHREAD_MUTEX_USE_UNION 0 | |
| 50 | ||
| 51 | 44 | #define __LOCK_ALIGNMENT |
| 52 | 45 | #define __ONCE_ALIGNMENT |
| 53 | 46 | |
| 54 | struct __pthread_rwlock_arch_t | |
| 55 | { | |
| 56 | unsigned int __readers; | |
| 57 | unsigned int __writers; | |
| 58 | unsigned int __wrphase_futex; | |
| 59 | unsigned int __writers_futex; | |
| 60 | unsigned int __pad3; | |
| 61 | unsigned int __pad4; | |
| 62 | int __cur_writer; | |
| 63 | int __shared; | |
| 64 | unsigned long int __pad1; | |
| 65 | unsigned long int __pad2; | |
| 66 | unsigned int __flags; | |
| 67 | }; | |
| 68 | ||
| 69 | #define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 70 | ||
| 71 | 47 | #endif	/* bits/pthreadtypes.h */ |
| \ No newline at end of file |
lib/libc/include/aarch64_be-linux-gnu/bits/semaphore.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SEMAPHORE_H |
| 20 | 20 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/aarch64_be-linux-gnu/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SETJMP_H |
| 20 | 20 | #define _BITS_SETJMP_H 1 |
lib/libc/include/aarch64_be-linux-gnu/bits/sigstack.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 2015-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2015-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGSTACK_H |
| 20 | 20 | #define _BITS_SIGSTACK_H 1 |
lib/libc/include/aarch64_be-linux-gnu/bits/stat.h+7-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 20 | 20 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
| ... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 | #ifndef _BITS_STAT_H |
| 24 | 24 | #define _BITS_STAT_H	1 |
| 25 | 25 | |
| 26 | #include <endian.h> | |
| 26 | #include <bits/endian.h> | |
| 27 | 27 | #include <bits/wordsize.h> |
| 28 | 28 | |
| 29 | 29 | /* 64-bit libc uses the kernel's 'struct stat', accessed via the |
| ... | ... | @@ -42,7 +42,10 @@ |
| 42 | 42 | |
| 43 | 43 | #if defined __USE_FILE_OFFSET64 |
| 44 | 44 | # define __field64(type, type64, name) type64 name |
| 45 | #elif __WORDSIZE == 64 | |
| 45 | #elif __WORDSIZE == 64 || defined __INO_T_MATCHES_INO64_T | |
| 46 | # if defined __INO_T_MATCHES_INO64_T && !defined __OFF_T_MATCHES_OFF64_T | |
| 47 | # error "ino_t and off_t must both be the same type" | |
| 48 | # endif | |
| 46 | 49 | # define __field64(type, type64, name) type name |
| 47 | 50 | #elif __BYTE_ORDER == __LITTLE_ENDIAN |
| 48 | 51 | # define __field64(type, type64, name) \ |
lib/libc/include/aarch64_be-linux-gnu/bits/statfs.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 4 | 4 | |
| ... | ... | @@ -14,13 +14,13 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_STATFS_H |
| 20 | 20 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." |
| 21 | 21 | #endif |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | #include <bits/types.h> |
| 25 | 25 | #include <bits/wordsize.h> |
| 26 | 26 | |
| ... | ... | @@ -34,7 +34,7 @@ |
| 34 | 34 | |
| 35 | 35 | #if defined __USE_FILE_OFFSET64 |
| 36 | 36 | # define __field64(type, type64, name) type64 name |
| 37 | #elif __WORDSIZE == 64 | |
| 37 | #elif __WORDSIZE == 64 || __STATFS_MATCHES_STATFS64 | |
| 38 | 38 | # define __field64(type, type64, name) type name |
| 39 | 39 | #elif __BYTE_ORDER == __LITTLE_ENDIAN |
| 40 | 40 | # define __field64(type, type64, name) \ |
lib/libc/include/aarch64_be-linux-gnu/bits/struct_rwlock.h created+41| ... | ... | @@ -0,0 +1,41 @@ |
| 1 | /* AArch64 internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 4 | This file is part of the GNU C Library. | |
| 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with the GNU C Library; if not, see | |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | |
| 21 | #define _RWLOCK_INTERNAL_H | |
| 22 | ||
| 23 | struct __pthread_rwlock_arch_t | |
| 24 | { | |
| 25 | unsigned int __readers; | |
| 26 | unsigned int __writers; | |
| 27 | unsigned int __wrphase_futex; | |
| 28 | unsigned int __writers_futex; | |
| 29 | unsigned int __pad3; | |
| 30 | unsigned int __pad4; | |
| 31 | int __cur_writer; | |
| 32 | int __shared; | |
| 33 | unsigned long int __pad1; | |
| 34 | unsigned long int __pad2; | |
| 35 | unsigned int __flags; | |
| 36 | }; | |
| 37 | ||
| 38 | #define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 39 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags | |
| 40 | ||
| 41 | #endif | |
| \ No newline at end of file |
lib/libc/include/aarch64_be-linux-gnu/bits/typesizes.h+7-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI. |
| 2 | Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library. If not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _BITS_TYPES_H |
| 21 | 21 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." |
| ... | ... | @@ -73,10 +73,14 @@ |
| 73 | 73 | |
| 74 | 74 | /* And for __rlim_t and __rlim64_t. */ |
| 75 | 75 | # define __RLIM_T_MATCHES_RLIM64_T	1 |
| 76 | ||
| 77 | /* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */ | |
| 78 | # define __STATFS_MATCHES_STATFS64 1 | |
| 76 | 79 | #else |
| 77 | 80 | # define __RLIM_T_MATCHES_RLIM64_T	0 |
| 78 | #endif | |
| 79 | 81 | |
| 82 | # define __STATFS_MATCHES_STATFS64 0 | |
| 83 | #endif | |
| 80 | 84 | /* Number of descriptors that can fit in an `fd_set'. */ |
| 81 | 85 | #define	__FD_SETSIZE		1024 |
| 82 | 86 |
lib/libc/include/aarch64_be-linux-gnu/bits/wordsize.h+2-2| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | /* Determine the wordsize from the preprocessor defines. |
| 2 | 2 | |
| 3 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 3 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| 6 | 6 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifdef __LP64__ |
| 21 | 21 | # define __WORDSIZE			64 |
lib/libc/include/aarch64_be-linux-gnu/fpu_control.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _AARCH64_FPU_CONTROL_H |
| 20 | 20 | #define _AARCH64_FPU_CONTROL_H |
lib/libc/include/aarch64_be-linux-gnu/ieee754.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,14 +13,14 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | 25 | __BEGIN_DECLS |
| 26 | 26 |
lib/libc/include/aarch64_be-linux-gnu/sys/elf.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_ELF_H |
| 20 | 20 | #define _SYS_ELF_H	1 |
lib/libc/include/aarch64_be-linux-gnu/sys/ptrace.h+7-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/AArch64 version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PTRACE_H |
| 21 | 21 | #define _SYS_PTRACE_H	1 |
| ... | ... | @@ -136,8 +136,12 @@ enum __ptrace_request |
| 136 | 136 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 137 | 137 | |
| 138 | 138 | /* Get seccomp BPF filter metadata. */ |
| 139 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 139 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 140 | 140 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 141 | ||
| 142 | /* Get information about system call. */ | |
| 143 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 144 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 141 | 145 | }; |
| 142 | 146 | |
| 143 | 147 |
lib/libc/include/aarch64_be-linux-gnu/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* System V/AArch64 ABI compliant context switching support. */ |
| 20 | 20 |
lib/libc/include/aarch64_be-linux-gnu/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2009-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2009-2020 Free Software Foundation, Inc. | |
| 2 | 2 | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_USER_H |
| 20 | 20 | #define _SYS_USER_H	1 |
lib/libc/include/arm-linux-gnueabi/bits/endian.h deleted-10| ... | ... | @@ -1,10 +0,0 @@ |
| 1 | #ifndef _ENDIAN_H | |
| 2 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 3 | #endif | |
| 4 | ||
| 5 | /* ARM can be either big or little endian. */ | |
| 6 | #ifdef __ARMEB__ | |
| 7 | #define __BYTE_ORDER __BIG_ENDIAN | |
| 8 | #else | |
| 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| 10 | #endif | |
| \ No newline at end of file |
lib/libc/include/arm-linux-gnueabi/bits/endianness.h created+15| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* ARM has selectable endianness. */ | |
| 9 | #ifdef __ARMEB__ | |
| 10 | #define __BYTE_ORDER __BIG_ENDIAN | |
| 11 | #else | |
| 12 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| 13 | #endif | |
| 14 | ||
| 15 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/arm-linux-gnueabi/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/arm-linux-gnueabi/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -81,7 +81,7 @@ fenv_t; |
| 81 | 81 | # define FE_NOMASK_ENV ((const fenv_t *) -2) |
| 82 | 82 | #endif |
| 83 | 83 | |
| 84 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 84 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 85 | 85 | /* Type representing floating-point control modes. */ |
| 86 | 86 | typedef unsigned int femode_t; |
| 87 | 87 |
lib/libc/include/arm-linux-gnueabi/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* Defined to 1 if the current compiler invocation provides a |
| 20 | 20 | floating-point type with the IEEE 754 binary128 format, and this glibc |
lib/libc/include/arm-linux-gnueabi/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP. ARM Linux version. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined (_SYS_AUXV_H) && !defined (_LINUX_ARM_SYSDEP_H) |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/arm-linux-gnueabi/bits/link.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_LINK_H |
| 19 | 19 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/arm-linux-gnueabi/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This header is included by <sys/cdefs.h>. |
| 20 | 20 | |
| ... | ... | @@ -36,4 +36,5 @@ |
| 36 | 36 | ABI-compatible with double. */ |
| 37 | 37 | #ifndef __NO_LONG_DOUBLE_MATH |
| 38 | 38 | # define __NO_LONG_DOUBLE_MATH	1 |
| 39 | #endif | |
| \ No newline at end of file | ||
| 39 | #endif | |
| 40 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/arm-linux-gnueabi/bits/procfs-id.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Arm version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-id.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/arm-linux-gnueabi/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. Arm version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/arm-linux-gnueabi/bits/pthreadtypes-arch.h deleted-71| ... | ... | @@ -1,71 +0,0 @@ |
| 1 | /* Copyright (C) 2002-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 _BITS_PTHREADTYPES_ARCH_H | |
| 19 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 20 | ||
| 21 | #include <endian.h> | |
| 22 | ||
| 23 | #define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 24 | #define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 25 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 26 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 27 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 28 | #define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 29 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 30 | #define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 31 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 32 | ||
| 33 | /* Data structure for mutex handling. */ | |
| 34 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 35 | #define __PTHREAD_COMPAT_PADDING_END | |
| 36 | #define __PTHREAD_MUTEX_LOCK_ELISION 0 | |
| 37 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 1 | |
| 38 | #define __PTHREAD_MUTEX_USE_UNION 1 | |
| 39 | ||
| 40 | #define __LOCK_ALIGNMENT | |
| 41 | #define __ONCE_ALIGNMENT | |
| 42 | ||
| 43 | struct __pthread_rwlock_arch_t | |
| 44 | { | |
| 45 | unsigned int __readers; | |
| 46 | unsigned int __writers; | |
| 47 | unsigned int __wrphase_futex; | |
| 48 | unsigned int __writers_futex; | |
| 49 | unsigned int __pad3; | |
| 50 | unsigned int __pad4; | |
| 51 | #if __BYTE_ORDER == __BIG_ENDIAN | |
| 52 | unsigned char __pad1; | |
| 53 | unsigned char __pad2; | |
| 54 | unsigned char __shared; | |
| 55 | /* FLAGS must stay at this position in the structure to maintain | |
| 56 | binary compatibility. */ | |
| 57 | unsigned char __flags; | |
| 58 | #else | |
| 59 | /* FLAGS must stay at this position in the structure to maintain | |
| 60 | binary compatibility. */ | |
| 61 | unsigned char __flags; | |
| 62 | unsigned char __shared; | |
| 63 | unsigned char __pad1; | |
| 64 | unsigned char __pad2; | |
| 65 | #endif | |
| 66 | int __cur_writer; | |
| 67 | }; | |
| 68 | ||
| 69 | #define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 70 | ||
| 71 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/arm-linux-gnueabi/bits/semaphore.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SEMAPHORE_H |
| 19 | 19 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/arm-linux-gnueabi/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Define the machine-dependent type `jmp_buf'. ARM EABI version. */ |
| 19 | 19 |
lib/libc/include/arm-linux-gnueabi/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. ARM version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/arm-linux-gnueabi/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/arm-linux-gnueabi/bits/struct_rwlock.h created+61| ... | ... | @@ -0,0 +1,61 @@ |
| 1 | /* Default read-write lock implementation struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 __RWLOCK_INTERNAL_H | |
| 20 | #define __RWLOCK_INTERNAL_H | |
| 21 | ||
| 22 | #include <bits/endian.h> | |
| 23 | ||
| 24 | /* Generic struct for both POSIX read-write lock. New ports are expected | |
| 25 | to use the default layout, however archictetures can redefine it to add | |
| 26 | arch-specific extensions (such as lock-elision). The struct have a size | |
| 27 | of 32 bytes on both LP32 and LP64 architectures. */ | |
| 28 | ||
| 29 | struct __pthread_rwlock_arch_t | |
| 30 | { | |
| 31 | unsigned int __readers; | |
| 32 | unsigned int __writers; | |
| 33 | unsigned int __wrphase_futex; | |
| 34 | unsigned int __writers_futex; | |
| 35 | unsigned int __pad3; | |
| 36 | unsigned int __pad4; | |
| 37 | /* FLAGS must stay at its position in the structure to maintain | |
| 38 | binary compatibility. */ | |
| 39 | #if __BYTE_ORDER == __BIG_ENDIAN | |
| 40 | unsigned char __pad1; | |
| 41 | unsigned char __pad2; | |
| 42 | unsigned char __shared; | |
| 43 | unsigned char __flags; | |
| 44 | #else | |
| 45 | unsigned char __flags; | |
| 46 | unsigned char __shared; | |
| 47 | unsigned char __pad1; | |
| 48 | unsigned char __pad2; | |
| 49 | #endif | |
| 50 | int __cur_writer; | |
| 51 | }; | |
| 52 | ||
| 53 | #if __BYTE_ORDER == __BIG_ENDIAN | |
| 54 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 55 | 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags, 0 | |
| 56 | #else | |
| 57 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 58 | 0, 0, 0, 0, 0, 0, __flags, 0, 0, 0, 0 | |
| 59 | #endif | |
| 60 | ||
| 61 | #endif | |
| \ No newline at end of file |
lib/libc/include/arm-linux-gnueabi/bits/wordsize.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #define __WORDSIZE			32 |
| 19 | 19 | #define __WORDSIZE_TIME64_COMPAT32	0 |
lib/libc/include/arm-linux-gnueabi/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word definitions. ARM VFP version. |
| 2 | Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FPU_CONTROL_H |
| 20 | 20 | #define _FPU_CONTROL_H |
lib/libc/include/arm-linux-gnueabi/sys/ptrace.h+6-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/ARM version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -196,8 +196,12 @@ enum __ptrace_request |
| 196 | 196 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 197 | 197 | |
| 198 | 198 | /* Get seccomp BPF filter metadata. */ |
| 199 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 199 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 200 | 200 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 201 | ||
| 202 | /* Get information about system call. */ | |
| 203 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 204 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 201 | 205 | }; |
| 202 | 206 | |
| 203 | 207 |
lib/libc/include/arm-linux-gnueabi/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* System V/ARM ABI compliant context switching support. */ |
| 19 | 19 |
lib/libc/include/arm-linux-gnueabi/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 | #define _SYS_USER_H	1 |
lib/libc/include/arm-linux-gnueabihf/bits/endian.h deleted-10| ... | ... | @@ -1,10 +0,0 @@ |
| 1 | #ifndef _ENDIAN_H | |
| 2 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 3 | #endif | |
| 4 | ||
| 5 | /* ARM can be either big or little endian. */ | |
| 6 | #ifdef __ARMEB__ | |
| 7 | #define __BYTE_ORDER __BIG_ENDIAN | |
| 8 | #else | |
| 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| 10 | #endif | |
| \ No newline at end of file |
lib/libc/include/arm-linux-gnueabihf/bits/endianness.h created+15| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* ARM has selectable endianness. */ | |
| 9 | #ifdef __ARMEB__ | |
| 10 | #define __BYTE_ORDER __BIG_ENDIAN | |
| 11 | #else | |
| 12 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| 13 | #endif | |
| 14 | ||
| 15 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/arm-linux-gnueabihf/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/arm-linux-gnueabihf/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -81,7 +81,7 @@ fenv_t; |
| 81 | 81 | # define FE_NOMASK_ENV ((const fenv_t *) -2) |
| 82 | 82 | #endif |
| 83 | 83 | |
| 84 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 84 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 85 | 85 | /* Type representing floating-point control modes. */ |
| 86 | 86 | typedef unsigned int femode_t; |
| 87 | 87 |
lib/libc/include/arm-linux-gnueabihf/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* Defined to 1 if the current compiler invocation provides a |
| 20 | 20 | floating-point type with the IEEE 754 binary128 format, and this glibc |
lib/libc/include/arm-linux-gnueabihf/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP. ARM Linux version. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined (_SYS_AUXV_H) && !defined (_LINUX_ARM_SYSDEP_H) |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/arm-linux-gnueabihf/bits/link.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_LINK_H |
| 19 | 19 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/arm-linux-gnueabihf/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This header is included by <sys/cdefs.h>. |
| 20 | 20 | |
| ... | ... | @@ -36,4 +36,5 @@ |
| 36 | 36 | ABI-compatible with double. */ |
| 37 | 37 | #ifndef __NO_LONG_DOUBLE_MATH |
| 38 | 38 | # define __NO_LONG_DOUBLE_MATH	1 |
| 39 | #endif | |
| \ No newline at end of file | ||
| 39 | #endif | |
| 40 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/arm-linux-gnueabihf/bits/procfs-id.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Arm version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-id.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/arm-linux-gnueabihf/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. Arm version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/arm-linux-gnueabihf/bits/pthreadtypes-arch.h deleted-71| ... | ... | @@ -1,71 +0,0 @@ |
| 1 | /* Copyright (C) 2002-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 _BITS_PTHREADTYPES_ARCH_H | |
| 19 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 20 | ||
| 21 | #include <endian.h> | |
| 22 | ||
| 23 | #define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 24 | #define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 25 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 26 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 27 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 28 | #define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 29 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 30 | #define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 31 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 32 | ||
| 33 | /* Data structure for mutex handling. */ | |
| 34 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 35 | #define __PTHREAD_COMPAT_PADDING_END | |
| 36 | #define __PTHREAD_MUTEX_LOCK_ELISION 0 | |
| 37 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 1 | |
| 38 | #define __PTHREAD_MUTEX_USE_UNION 1 | |
| 39 | ||
| 40 | #define __LOCK_ALIGNMENT | |
| 41 | #define __ONCE_ALIGNMENT | |
| 42 | ||
| 43 | struct __pthread_rwlock_arch_t | |
| 44 | { | |
| 45 | unsigned int __readers; | |
| 46 | unsigned int __writers; | |
| 47 | unsigned int __wrphase_futex; | |
| 48 | unsigned int __writers_futex; | |
| 49 | unsigned int __pad3; | |
| 50 | unsigned int __pad4; | |
| 51 | #if __BYTE_ORDER == __BIG_ENDIAN | |
| 52 | unsigned char __pad1; | |
| 53 | unsigned char __pad2; | |
| 54 | unsigned char __shared; | |
| 55 | /* FLAGS must stay at this position in the structure to maintain | |
| 56 | binary compatibility. */ | |
| 57 | unsigned char __flags; | |
| 58 | #else | |
| 59 | /* FLAGS must stay at this position in the structure to maintain | |
| 60 | binary compatibility. */ | |
| 61 | unsigned char __flags; | |
| 62 | unsigned char __shared; | |
| 63 | unsigned char __pad1; | |
| 64 | unsigned char __pad2; | |
| 65 | #endif | |
| 66 | int __cur_writer; | |
| 67 | }; | |
| 68 | ||
| 69 | #define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 70 | ||
| 71 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/arm-linux-gnueabihf/bits/semaphore.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SEMAPHORE_H |
| 19 | 19 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/arm-linux-gnueabihf/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Define the machine-dependent type `jmp_buf'. ARM EABI version. */ |
| 19 | 19 |
lib/libc/include/arm-linux-gnueabihf/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. ARM version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/arm-linux-gnueabihf/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/arm-linux-gnueabihf/bits/struct_rwlock.h created+61| ... | ... | @@ -0,0 +1,61 @@ |
| 1 | /* Default read-write lock implementation struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 __RWLOCK_INTERNAL_H | |
| 20 | #define __RWLOCK_INTERNAL_H | |
| 21 | ||
| 22 | #include <bits/endian.h> | |
| 23 | ||
| 24 | /* Generic struct for both POSIX read-write lock. New ports are expected | |
| 25 | to use the default layout, however archictetures can redefine it to add | |
| 26 | arch-specific extensions (such as lock-elision). The struct have a size | |
| 27 | of 32 bytes on both LP32 and LP64 architectures. */ | |
| 28 | ||
| 29 | struct __pthread_rwlock_arch_t | |
| 30 | { | |
| 31 | unsigned int __readers; | |
| 32 | unsigned int __writers; | |
| 33 | unsigned int __wrphase_futex; | |
| 34 | unsigned int __writers_futex; | |
| 35 | unsigned int __pad3; | |
| 36 | unsigned int __pad4; | |
| 37 | /* FLAGS must stay at its position in the structure to maintain | |
| 38 | binary compatibility. */ | |
| 39 | #if __BYTE_ORDER == __BIG_ENDIAN | |
| 40 | unsigned char __pad1; | |
| 41 | unsigned char __pad2; | |
| 42 | unsigned char __shared; | |
| 43 | unsigned char __flags; | |
| 44 | #else | |
| 45 | unsigned char __flags; | |
| 46 | unsigned char __shared; | |
| 47 | unsigned char __pad1; | |
| 48 | unsigned char __pad2; | |
| 49 | #endif | |
| 50 | int __cur_writer; | |
| 51 | }; | |
| 52 | ||
| 53 | #if __BYTE_ORDER == __BIG_ENDIAN | |
| 54 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 55 | 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags, 0 | |
| 56 | #else | |
| 57 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 58 | 0, 0, 0, 0, 0, 0, __flags, 0, 0, 0, 0 | |
| 59 | #endif | |
| 60 | ||
| 61 | #endif | |
| \ No newline at end of file |
lib/libc/include/arm-linux-gnueabihf/bits/wordsize.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #define __WORDSIZE			32 |
| 19 | 19 | #define __WORDSIZE_TIME64_COMPAT32	0 |
lib/libc/include/arm-linux-gnueabihf/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word definitions. ARM VFP version. |
| 2 | Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FPU_CONTROL_H |
| 20 | 20 | #define _FPU_CONTROL_H |
lib/libc/include/arm-linux-gnueabihf/sys/ptrace.h+6-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/ARM version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -196,8 +196,12 @@ enum __ptrace_request |
| 196 | 196 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 197 | 197 | |
| 198 | 198 | /* Get seccomp BPF filter metadata. */ |
| 199 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 199 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 200 | 200 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 201 | ||
| 202 | /* Get information about system call. */ | |
| 203 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 204 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 201 | 205 | }; |
| 202 | 206 | |
| 203 | 207 |
lib/libc/include/arm-linux-gnueabihf/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* System V/ARM ABI compliant context switching support. */ |
| 19 | 19 |
lib/libc/include/arm-linux-gnueabihf/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 | #define _SYS_USER_H	1 |
lib/libc/include/armeb-linux-gnueabi/bits/endian.h deleted-10| ... | ... | @@ -1,10 +0,0 @@ |
| 1 | #ifndef _ENDIAN_H | |
| 2 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 3 | #endif | |
| 4 | ||
| 5 | /* ARM can be either big or little endian. */ | |
| 6 | #ifdef __ARMEB__ | |
| 7 | #define __BYTE_ORDER __BIG_ENDIAN | |
| 8 | #else | |
| 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| 10 | #endif | |
| \ No newline at end of file |
lib/libc/include/armeb-linux-gnueabi/bits/endianness.h created+15| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* ARM has selectable endianness. */ | |
| 9 | #ifdef __ARMEB__ | |
| 10 | #define __BYTE_ORDER __BIG_ENDIAN | |
| 11 | #else | |
| 12 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| 13 | #endif | |
| 14 | ||
| 15 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/armeb-linux-gnueabi/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/armeb-linux-gnueabi/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -81,7 +81,7 @@ fenv_t; |
| 81 | 81 | # define FE_NOMASK_ENV ((const fenv_t *) -2) |
| 82 | 82 | #endif |
| 83 | 83 | |
| 84 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 84 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 85 | 85 | /* Type representing floating-point control modes. */ |
| 86 | 86 | typedef unsigned int femode_t; |
| 87 | 87 |
lib/libc/include/armeb-linux-gnueabi/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* Defined to 1 if the current compiler invocation provides a |
| 20 | 20 | floating-point type with the IEEE 754 binary128 format, and this glibc |
lib/libc/include/armeb-linux-gnueabi/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP. ARM Linux version. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined (_SYS_AUXV_H) && !defined (_LINUX_ARM_SYSDEP_H) |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/armeb-linux-gnueabi/bits/link.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_LINK_H |
| 19 | 19 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/armeb-linux-gnueabi/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This header is included by <sys/cdefs.h>. |
| 20 | 20 | |
| ... | ... | @@ -36,4 +36,5 @@ |
| 36 | 36 | ABI-compatible with double. */ |
| 37 | 37 | #ifndef __NO_LONG_DOUBLE_MATH |
| 38 | 38 | # define __NO_LONG_DOUBLE_MATH	1 |
| 39 | #endif | |
| \ No newline at end of file | ||
| 39 | #endif | |
| 40 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/armeb-linux-gnueabi/bits/procfs-id.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Arm version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-id.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/armeb-linux-gnueabi/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. Arm version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/armeb-linux-gnueabi/bits/pthreadtypes-arch.h deleted-71| ... | ... | @@ -1,71 +0,0 @@ |
| 1 | /* Copyright (C) 2002-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 _BITS_PTHREADTYPES_ARCH_H | |
| 19 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 20 | ||
| 21 | #include <endian.h> | |
| 22 | ||
| 23 | #define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 24 | #define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 25 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 26 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 27 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 28 | #define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 29 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 30 | #define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 31 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 32 | ||
| 33 | /* Data structure for mutex handling. */ | |
| 34 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 35 | #define __PTHREAD_COMPAT_PADDING_END | |
| 36 | #define __PTHREAD_MUTEX_LOCK_ELISION 0 | |
| 37 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 1 | |
| 38 | #define __PTHREAD_MUTEX_USE_UNION 1 | |
| 39 | ||
| 40 | #define __LOCK_ALIGNMENT | |
| 41 | #define __ONCE_ALIGNMENT | |
| 42 | ||
| 43 | struct __pthread_rwlock_arch_t | |
| 44 | { | |
| 45 | unsigned int __readers; | |
| 46 | unsigned int __writers; | |
| 47 | unsigned int __wrphase_futex; | |
| 48 | unsigned int __writers_futex; | |
| 49 | unsigned int __pad3; | |
| 50 | unsigned int __pad4; | |
| 51 | #if __BYTE_ORDER == __BIG_ENDIAN | |
| 52 | unsigned char __pad1; | |
| 53 | unsigned char __pad2; | |
| 54 | unsigned char __shared; | |
| 55 | /* FLAGS must stay at this position in the structure to maintain | |
| 56 | binary compatibility. */ | |
| 57 | unsigned char __flags; | |
| 58 | #else | |
| 59 | /* FLAGS must stay at this position in the structure to maintain | |
| 60 | binary compatibility. */ | |
| 61 | unsigned char __flags; | |
| 62 | unsigned char __shared; | |
| 63 | unsigned char __pad1; | |
| 64 | unsigned char __pad2; | |
| 65 | #endif | |
| 66 | int __cur_writer; | |
| 67 | }; | |
| 68 | ||
| 69 | #define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 70 | ||
| 71 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/armeb-linux-gnueabi/bits/semaphore.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SEMAPHORE_H |
| 19 | 19 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/armeb-linux-gnueabi/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Define the machine-dependent type `jmp_buf'. ARM EABI version. */ |
| 19 | 19 |
lib/libc/include/armeb-linux-gnueabi/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. ARM version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/armeb-linux-gnueabi/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/armeb-linux-gnueabi/bits/struct_rwlock.h created+61| ... | ... | @@ -0,0 +1,61 @@ |
| 1 | /* Default read-write lock implementation struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 __RWLOCK_INTERNAL_H | |
| 20 | #define __RWLOCK_INTERNAL_H | |
| 21 | ||
| 22 | #include <bits/endian.h> | |
| 23 | ||
| 24 | /* Generic struct for both POSIX read-write lock. New ports are expected | |
| 25 | to use the default layout, however archictetures can redefine it to add | |
| 26 | arch-specific extensions (such as lock-elision). The struct have a size | |
| 27 | of 32 bytes on both LP32 and LP64 architectures. */ | |
| 28 | ||
| 29 | struct __pthread_rwlock_arch_t | |
| 30 | { | |
| 31 | unsigned int __readers; | |
| 32 | unsigned int __writers; | |
| 33 | unsigned int __wrphase_futex; | |
| 34 | unsigned int __writers_futex; | |
| 35 | unsigned int __pad3; | |
| 36 | unsigned int __pad4; | |
| 37 | /* FLAGS must stay at its position in the structure to maintain | |
| 38 | binary compatibility. */ | |
| 39 | #if __BYTE_ORDER == __BIG_ENDIAN | |
| 40 | unsigned char __pad1; | |
| 41 | unsigned char __pad2; | |
| 42 | unsigned char __shared; | |
| 43 | unsigned char __flags; | |
| 44 | #else | |
| 45 | unsigned char __flags; | |
| 46 | unsigned char __shared; | |
| 47 | unsigned char __pad1; | |
| 48 | unsigned char __pad2; | |
| 49 | #endif | |
| 50 | int __cur_writer; | |
| 51 | }; | |
| 52 | ||
| 53 | #if __BYTE_ORDER == __BIG_ENDIAN | |
| 54 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 55 | 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags, 0 | |
| 56 | #else | |
| 57 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 58 | 0, 0, 0, 0, 0, 0, __flags, 0, 0, 0, 0 | |
| 59 | #endif | |
| 60 | ||
| 61 | #endif | |
| \ No newline at end of file |
lib/libc/include/armeb-linux-gnueabi/bits/wordsize.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #define __WORDSIZE			32 |
| 19 | 19 | #define __WORDSIZE_TIME64_COMPAT32	0 |
lib/libc/include/armeb-linux-gnueabi/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word definitions. ARM VFP version. |
| 2 | Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FPU_CONTROL_H |
| 20 | 20 | #define _FPU_CONTROL_H |
lib/libc/include/armeb-linux-gnueabi/sys/ptrace.h+6-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/ARM version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -196,8 +196,12 @@ enum __ptrace_request |
| 196 | 196 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 197 | 197 | |
| 198 | 198 | /* Get seccomp BPF filter metadata. */ |
| 199 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 199 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 200 | 200 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 201 | ||
| 202 | /* Get information about system call. */ | |
| 203 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 204 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 201 | 205 | }; |
| 202 | 206 | |
| 203 | 207 |
lib/libc/include/armeb-linux-gnueabi/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* System V/ARM ABI compliant context switching support. */ |
| 19 | 19 |
lib/libc/include/armeb-linux-gnueabi/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 | #define _SYS_USER_H	1 |
lib/libc/include/armeb-linux-gnueabihf/bits/endian.h deleted-10| ... | ... | @@ -1,10 +0,0 @@ |
| 1 | #ifndef _ENDIAN_H | |
| 2 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 3 | #endif | |
| 4 | ||
| 5 | /* ARM can be either big or little endian. */ | |
| 6 | #ifdef __ARMEB__ | |
| 7 | #define __BYTE_ORDER __BIG_ENDIAN | |
| 8 | #else | |
| 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| 10 | #endif | |
| \ No newline at end of file |
lib/libc/include/armeb-linux-gnueabihf/bits/endianness.h created+15| ... | ... | @@ -0,0 +1,15 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* ARM has selectable endianness. */ | |
| 9 | #ifdef __ARMEB__ | |
| 10 | #define __BYTE_ORDER __BIG_ENDIAN | |
| 11 | #else | |
| 12 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| 13 | #endif | |
| 14 | ||
| 15 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/armeb-linux-gnueabihf/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/armeb-linux-gnueabihf/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -81,7 +81,7 @@ fenv_t; |
| 81 | 81 | # define FE_NOMASK_ENV ((const fenv_t *) -2) |
| 82 | 82 | #endif |
| 83 | 83 | |
| 84 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 84 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 85 | 85 | /* Type representing floating-point control modes. */ |
| 86 | 86 | typedef unsigned int femode_t; |
| 87 | 87 |
lib/libc/include/armeb-linux-gnueabihf/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* Defined to 1 if the current compiler invocation provides a |
| 20 | 20 | floating-point type with the IEEE 754 binary128 format, and this glibc |
lib/libc/include/armeb-linux-gnueabihf/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP. ARM Linux version. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined (_SYS_AUXV_H) && !defined (_LINUX_ARM_SYSDEP_H) |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/armeb-linux-gnueabihf/bits/link.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_LINK_H |
| 19 | 19 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/armeb-linux-gnueabihf/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This header is included by <sys/cdefs.h>. |
| 20 | 20 | |
| ... | ... | @@ -36,4 +36,5 @@ |
| 36 | 36 | ABI-compatible with double. */ |
| 37 | 37 | #ifndef __NO_LONG_DOUBLE_MATH |
| 38 | 38 | # define __NO_LONG_DOUBLE_MATH	1 |
| 39 | #endif | |
| \ No newline at end of file | ||
| 39 | #endif | |
| 40 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/armeb-linux-gnueabihf/bits/procfs-id.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Arm version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-id.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/armeb-linux-gnueabihf/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. Arm version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/armeb-linux-gnueabihf/bits/pthreadtypes-arch.h deleted-71| ... | ... | @@ -1,71 +0,0 @@ |
| 1 | /* Copyright (C) 2002-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 _BITS_PTHREADTYPES_ARCH_H | |
| 19 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 20 | ||
| 21 | #include <endian.h> | |
| 22 | ||
| 23 | #define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 24 | #define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 25 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 26 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 27 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 28 | #define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 29 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 30 | #define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 31 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 32 | ||
| 33 | /* Data structure for mutex handling. */ | |
| 34 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 35 | #define __PTHREAD_COMPAT_PADDING_END | |
| 36 | #define __PTHREAD_MUTEX_LOCK_ELISION 0 | |
| 37 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 1 | |
| 38 | #define __PTHREAD_MUTEX_USE_UNION 1 | |
| 39 | ||
| 40 | #define __LOCK_ALIGNMENT | |
| 41 | #define __ONCE_ALIGNMENT | |
| 42 | ||
| 43 | struct __pthread_rwlock_arch_t | |
| 44 | { | |
| 45 | unsigned int __readers; | |
| 46 | unsigned int __writers; | |
| 47 | unsigned int __wrphase_futex; | |
| 48 | unsigned int __writers_futex; | |
| 49 | unsigned int __pad3; | |
| 50 | unsigned int __pad4; | |
| 51 | #if __BYTE_ORDER == __BIG_ENDIAN | |
| 52 | unsigned char __pad1; | |
| 53 | unsigned char __pad2; | |
| 54 | unsigned char __shared; | |
| 55 | /* FLAGS must stay at this position in the structure to maintain | |
| 56 | binary compatibility. */ | |
| 57 | unsigned char __flags; | |
| 58 | #else | |
| 59 | /* FLAGS must stay at this position in the structure to maintain | |
| 60 | binary compatibility. */ | |
| 61 | unsigned char __flags; | |
| 62 | unsigned char __shared; | |
| 63 | unsigned char __pad1; | |
| 64 | unsigned char __pad2; | |
| 65 | #endif | |
| 66 | int __cur_writer; | |
| 67 | }; | |
| 68 | ||
| 69 | #define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 70 | ||
| 71 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/armeb-linux-gnueabihf/bits/semaphore.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SEMAPHORE_H |
| 19 | 19 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/armeb-linux-gnueabihf/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Define the machine-dependent type `jmp_buf'. ARM EABI version. */ |
| 19 | 19 |
lib/libc/include/armeb-linux-gnueabihf/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. ARM version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/armeb-linux-gnueabihf/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/armeb-linux-gnueabihf/bits/struct_rwlock.h created+61| ... | ... | @@ -0,0 +1,61 @@ |
| 1 | /* Default read-write lock implementation struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 __RWLOCK_INTERNAL_H | |
| 20 | #define __RWLOCK_INTERNAL_H | |
| 21 | ||
| 22 | #include <bits/endian.h> | |
| 23 | ||
| 24 | /* Generic struct for both POSIX read-write lock. New ports are expected | |
| 25 | to use the default layout, however archictetures can redefine it to add | |
| 26 | arch-specific extensions (such as lock-elision). The struct have a size | |
| 27 | of 32 bytes on both LP32 and LP64 architectures. */ | |
| 28 | ||
| 29 | struct __pthread_rwlock_arch_t | |
| 30 | { | |
| 31 | unsigned int __readers; | |
| 32 | unsigned int __writers; | |
| 33 | unsigned int __wrphase_futex; | |
| 34 | unsigned int __writers_futex; | |
| 35 | unsigned int __pad3; | |
| 36 | unsigned int __pad4; | |
| 37 | /* FLAGS must stay at its position in the structure to maintain | |
| 38 | binary compatibility. */ | |
| 39 | #if __BYTE_ORDER == __BIG_ENDIAN | |
| 40 | unsigned char __pad1; | |
| 41 | unsigned char __pad2; | |
| 42 | unsigned char __shared; | |
| 43 | unsigned char __flags; | |
| 44 | #else | |
| 45 | unsigned char __flags; | |
| 46 | unsigned char __shared; | |
| 47 | unsigned char __pad1; | |
| 48 | unsigned char __pad2; | |
| 49 | #endif | |
| 50 | int __cur_writer; | |
| 51 | }; | |
| 52 | ||
| 53 | #if __BYTE_ORDER == __BIG_ENDIAN | |
| 54 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 55 | 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags, 0 | |
| 56 | #else | |
| 57 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 58 | 0, 0, 0, 0, 0, 0, __flags, 0, 0, 0, 0 | |
| 59 | #endif | |
| 60 | ||
| 61 | #endif | |
| \ No newline at end of file |
lib/libc/include/armeb-linux-gnueabihf/bits/wordsize.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #define __WORDSIZE			32 |
| 19 | 19 | #define __WORDSIZE_TIME64_COMPAT32	0 |
lib/libc/include/armeb-linux-gnueabihf/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word definitions. ARM VFP version. |
| 2 | Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FPU_CONTROL_H |
| 20 | 20 | #define _FPU_CONTROL_H |
lib/libc/include/armeb-linux-gnueabihf/sys/ptrace.h+6-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/ARM version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -196,8 +196,12 @@ enum __ptrace_request |
| 196 | 196 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 197 | 197 | |
| 198 | 198 | /* Get seccomp BPF filter metadata. */ |
| 199 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 199 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 200 | 200 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 201 | ||
| 202 | /* Get information about system call. */ | |
| 203 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 204 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 201 | 205 | }; |
| 202 | 206 | |
| 203 | 207 |
lib/libc/include/armeb-linux-gnueabihf/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* System V/ARM ABI compliant context switching support. */ |
| 19 | 19 |
lib/libc/include/armeb-linux-gnueabihf/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 | #define _SYS_USER_H	1 |
lib/libc/include/generic-glibc/aio.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | * ISO/IEC 9945-1:1996 6.7: Asynchronous Input and Output |
lib/libc/include/generic-glibc/aliases.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _ALIASES_H |
| 19 | 19 | #define _ALIASES_H	1 |
lib/libc/include/generic-glibc/alloca.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_ALLOCA_H |
| 19 | 19 | #define	_ALLOCA_H	1 |
lib/libc/include/generic-glibc/ar.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Header describing `ar' archive file format. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _AR_H |
| 20 | 20 | #define _AR_H 1 |
lib/libc/include/generic-glibc/argp.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Hierarchial argument parsing, layered over getopt. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Written by Miles Bader <miles@gnu.ai.mit.edu>. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _ARGP_H |
| 21 | 21 | #define _ARGP_H |
lib/libc/include/generic-glibc/argz.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Routines for dealing with '\0' separated arg vectors. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _ARGZ_H |
| 20 | 20 | #define _ARGZ_H	1 |
lib/libc/include/generic-glibc/arpa/inet.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _ARPA_INET_H |
| 19 | 19 | #define	_ARPA_INET_H	1 |
lib/libc/include/generic-glibc/assert.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard: 7.2 Diagnostics	<assert.h> |
lib/libc/include/generic-glibc/bits/argp-ldbl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Redirections for argp functions for -mlong-double-64. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _ARGP_H |
| 20 | 20 | # error "Never include <bits/argp-ldbl.h> directly; use <argp.h> instead." |
lib/libc/include/generic-glibc/bits/byteswap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros and inline functions to swap the order of bytes in integer values. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined _BYTESWAP_H && !defined _NETINET_IN_H && !defined _ENDIAN_H |
| 20 | 20 | # error "Never use <bits/byteswap.h> directly; include <byteswap.h> instead." |
lib/libc/include/generic-glibc/bits/cmathcalls.h+2-2| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | /* Prototype declarations for complex math functions; |
| 2 | 2 | helper file for <complex.h>. |
| 3 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 3 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| 6 | 6 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | /* NOTE: Because of the special way this file is used by <complex.h>, this |
| 21 | 21 | file must NOT be protected from multiple inclusion as header files |
lib/libc/include/generic-glibc/bits/confname.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `sysconf', `pathconf', and `confstr' NAME values. Generic version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _UNISTD_H |
| 20 | 20 | # error "Never use <bits/confname.h> directly; include <unistd.h> instead." |
lib/libc/include/generic-glibc/bits/cpu-set.h+2-2| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | /* Definition of the cpu_set_t structure used by the POSIX 1003.1b-1993 |
| 2 | 2 | scheduling interface. |
| 3 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 3 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| 6 | 6 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _BITS_CPU_SET_H |
| 21 | 21 | #define _BITS_CPU_SET_H 1 |
lib/libc/include/generic-glibc/bits/dirent.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _DIRENT_H |
| 19 | 19 | # error "Never use <bits/dirent.h> directly; include <dirent.h> instead." |
lib/libc/include/generic-glibc/bits/dirent_ext.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System-specific extensions of <dirent.h>. Linux version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _DIRENT_H |
| 20 | 20 | # error "Never include <bits/dirent_ext.h> directly; use <dirent.h> instead." |
lib/libc/include/generic-glibc/bits/dlfcn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _DLFCN_H |
| 20 | 20 | # error "Never use <bits/dlfcn.h> directly; include <dlfcn.h> instead." |
lib/libc/include/generic-glibc/bits/endian.h+45-11| ... | ... | @@ -1,15 +1,49 @@ |
| 1 | /* The MIPS architecture has selectable endianness. | |
| 2 | It exists in both little and big endian flavours and we | |
| 3 | want to be able to share the installed header files between | |
| 4 | both, so we define __BYTE_ORDER based on GCC's predefines. */ | |
| 1 | /* Endian macros for string.h functions | |
| 2 | Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 3 | This file is part of the GNU C Library. | |
| 5 | 4 | |
| 6 | #ifndef _ENDIAN_H | |
| 7 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 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 _BITS_ENDIAN_H | |
| 20 | #define _BITS_ENDIAN_H 1 | |
| 21 | ||
| 22 | /* Definitions for byte order, according to significance of bytes, | |
| 23 | from low addresses to high addresses. The value is what you get by | |
| 24 | putting '4' in the most significant byte, '3' in the second most | |
| 25 | significant byte, '2' in the second least significant byte, and '1' | |
| 26 | in the least significant byte, and then writing down one digit for | |
| 27 | each byte, starting with the byte at the lowest address at the left, | |
| 28 | and proceeding to the byte with the highest address at the right. */ | |
| 29 | ||
| 30 | #define	__LITTLE_ENDIAN	1234 | |
| 31 | #define	__BIG_ENDIAN	4321 | |
| 32 | #define	__PDP_ENDIAN	3412 | |
| 33 | ||
| 34 | /* This file defines `__BYTE_ORDER' for the particular machine. */ | |
| 35 | #include <bits/endianness.h> | |
| 36 | ||
| 37 | /* Some machines may need to use a different endianness for floating point | |
| 38 | values. */ | |
| 39 | #ifndef __FLOAT_WORD_ORDER | |
| 40 | # define __FLOAT_WORD_ORDER __BYTE_ORDER | |
| 8 | 41 | #endif |
| 9 | 42 | |
| 10 | #ifdef __MIPSEB | |
| 11 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 43 | #if __BYTE_ORDER == __LITTLE_ENDIAN | |
| 44 | # define __LONG_LONG_PAIR(HI, LO) LO, HI | |
| 45 | #elif __BYTE_ORDER == __BIG_ENDIAN | |
| 46 | # define __LONG_LONG_PAIR(HI, LO) HI, LO | |
| 12 | 47 | #endif |
| 13 | #ifdef __MIPSEL | |
| 14 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 15 | #endif | |
| \ No newline at end of file | ||
| 48 | ||
| 49 | #endif /* bits/endian.h */ | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/endianness.h created+16| ... | ... | @@ -0,0 +1,16 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* MIPS has selectable endianness. */ | |
| 9 | #ifdef __MIPSEB | |
| 10 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 11 | #endif | |
| 12 | #ifdef __MIPSEL | |
| 13 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 14 | #endif | |
| 15 | ||
| 16 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/environments.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _UNISTD_H |
| 19 | 19 | # error "Never include this file directly. Use <unistd.h> instead" |
lib/libc/include/generic-glibc/bits/epoll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EPOLL_H |
| 19 | 19 | # error "Never use <bits/epoll.h> directly; include <sys/epoll.h> instead." |
lib/libc/include/generic-glibc/bits/err-ldbl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Redirections for err.h functions for -mlong-double-64. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _ERR_H |
| 20 | 20 | # error "Never include <bits/err-ldbl.h> directly; use <err.h> instead." |
lib/libc/include/generic-glibc/bits/errno.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Error constants. Linux specific version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_ERRNO_H |
| 20 | 20 | #define _BITS_ERRNO_H 1 |
lib/libc/include/generic-glibc/bits/error-ldbl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Redirections for error.h functions for -mlong-double-64. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _ERROR_H |
| 20 | 20 | # error "Never include <bits/error-ldbl.h> directly; use <error.h> instead." |
lib/libc/include/generic-glibc/bits/error.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Specializations for error functions. |
| 2 | Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_ERROR_H |
| 20 | 20 | # error "Never include <bits/error.h> directly; use <error.h> instead." |
lib/libc/include/generic-glibc/bits/eventfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EVENTFD_H |
| 19 | 19 | # error "Never use <bits/eventfd.h> directly; include <sys/eventfd.h> instead." |
lib/libc/include/generic-glibc/bits/fcntl-linux.h+7-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl-linux.h> directly; include <fcntl.h> instead." |
| ... | ... | @@ -334,6 +334,11 @@ struct f_owner_ex |
| 334 | 334 | # define SYNC_FILE_RANGE_WAIT_AFTER	4 /* Wait upon writeout of all pages in |
| 335 | 335 | 					 the range after performing the |
| 336 | 336 | 					 write. */ |
| 337 | /* SYNC_FILE_RANGE_WRITE_AND_WAIT ensures all pages in the range are | |
| 338 | written to disk before returning. */ | |
| 339 | # define SYNC_FILE_RANGE_WRITE_AND_WAIT	(SYNC_FILE_RANGE_WRITE		\ | |
| 340 | 					 | SYNC_FILE_RANGE_WAIT_BEFORE	\ | |
| 341 | 					 | SYNC_FILE_RANGE_WAIT_AFTER) | |
| 337 | 342 | |
| 338 | 343 | /* Flags for SPLICE and VMSPLICE. */ |
| 339 | 344 | # define SPLICE_F_MOVE		1	/* Move pages instead of copying. */ |
lib/libc/include/generic-glibc/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/generic-glibc/bits/fcntl2.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Checking macros for fcntl functions. |
| 2 | Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_FCNTL_H |
| 20 | 20 | # error "Never include <bits/fcntl2.h> directly; use <fcntl.h> instead." |
lib/libc/include/generic-glibc/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -104,7 +104,7 @@ fenv_t; |
| 104 | 104 | # define FE_NOMASK_ENV ((const fenv_t *) -2) |
| 105 | 105 | #endif |
| 106 | 106 | |
| 107 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 107 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 108 | 108 | /* Type representing floating-point control modes. */ |
| 109 | 109 | typedef unsigned int femode_t; |
| 110 | 110 |
lib/libc/include/generic-glibc/bits/floatn-common.h+2-2| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features where the same |
| 2 | 2 | definitions are appropriate for all platforms. |
| 3 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 3 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| 6 | 6 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _BITS_FLOATN_COMMON_H |
| 21 | 21 | #define _BITS_FLOATN_COMMON_H |
lib/libc/include/generic-glibc/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on MIPS platforms. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/generic-glibc/bits/flt-eval-method.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define __GLIBC_FLT_EVAL_METHOD. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/flt-eval-method.h> directly; include <math.h> instead." |
lib/libc/include/generic-glibc/bits/fp-fast.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define FP_FAST_* macros. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/fp-fast.h> directly; include <math.h> instead." |
lib/libc/include/generic-glibc/bits/fp-logb.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/fp-logb.h> directly; include <math.h> instead." |
lib/libc/include/generic-glibc/bits/getopt_core.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Declarations for getopt (basic, portable features only). |
| 2 | Copyright (C) 1989-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1989-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library and is also part of gnulib. |
| 4 | 4 | Patches to this file should be submitted to both projects. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _GETOPT_CORE_H |
| 21 | 21 | #define _GETOPT_CORE_H 1 |
lib/libc/include/generic-glibc/bits/getopt_ext.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Declarations for getopt (GNU extensions). |
| 2 | Copyright (C) 1989-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1989-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library and is also part of gnulib. |
| 4 | 4 | Patches to this file should be submitted to both projects. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _GETOPT_EXT_H |
| 21 | 21 | #define _GETOPT_EXT_H 1 |
lib/libc/include/generic-glibc/bits/getopt_posix.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Declarations for getopt (POSIX compatibility shim). |
| 2 | Copyright (C) 1989-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1989-2020 Free Software Foundation, Inc. | |
| 3 | 3 | Unlike the bulk of the getopt implementation, this file is NOT part |
| 4 | 4 | of gnulib. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _GETOPT_POSIX_H |
| 21 | 21 | #define _GETOPT_POSIX_H 1 |
lib/libc/include/generic-glibc/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_AUXV_H |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/generic-glibc/bits/in.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Linux version. */ |
| 19 | 19 |
lib/libc/include/generic-glibc/bits/indirect-return.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definition of __INDIRECT_RETURN. Generic version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _UCONTEXT_H |
| 20 | 20 | # error "Never include <bits/indirect-return.h> directly; use <ucontext.h> instead." |
lib/libc/include/generic-glibc/bits/inotify.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_INOTIFY_H |
| 19 | 19 | # error "Never use <bits/inotify.h> directly; include <sys/inotify.h> instead." |
lib/libc/include/generic-glibc/bits/ioctl-types.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structure types for pre-termios terminal ioctls. Linux version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IOCTL_H |
| 20 | 20 | # error "Never use <bits/ioctl-types.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/generic-glibc/bits/ioctls.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_IOCTL_H |
| 19 | 19 | # error "Never use <bits/ioctls.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/generic-glibc/bits/ipc-perm.h created+40| ... | ... | @@ -0,0 +1,40 @@ |
| 1 | /* struct ipc_perm definition. | |
| 2 | Copyright (C) 2019-2020 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_IPC_H | |
| 20 | # error "Never use <bits/ipc-perm.h> directly; include <sys/ipc.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | /* Data structure used to pass permission information to IPC operations. | |
| 24 | It follows the kernel ipc64_perm size so the syscall can be made directly | |
| 25 | without temporary buffer copy. However, since glibc defines the MODE | |
| 26 | field as mode_t per POSIX definition (BZ#18231), it omits the __PAD1 field | |
| 27 | (since glibc does not export mode_t as 16-bit for any architecture). */ | |
| 28 | struct ipc_perm | |
| 29 | { | |
| 30 | __key_t __key;				/* Key. */ | |
| 31 | __uid_t uid;					/* Owner's user ID. */ | |
| 32 | __gid_t gid;					/* Owner's group ID. */ | |
| 33 | __uid_t cuid;					/* Creator's user ID. */ | |
| 34 | __gid_t cgid;					/* Creator's group ID. */ | |
| 35 | __mode_t mode;				/* Read/write permission. */ | |
| 36 | unsigned short int __seq;			/* Sequence number. */ | |
| 37 | unsigned short int __pad2; | |
| 38 | __syscall_ulong_t __glibc_reserved1; | |
| 39 | __syscall_ulong_t __glibc_reserved2; | |
| 40 | }; | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/ipc.h+3-18| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_IPC_H |
| 19 | 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." |
| ... | ... | @@ -37,19 +37,4 @@ |
| 37 | 37 | /* Special key values. */ |
| 38 | 38 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key. */ |
| 39 | 39 | |
| 40 | ||
| 41 | /* Data structure used to pass permission information to IPC operations. */ | |
| 42 | struct ipc_perm | |
| 43 | { | |
| 44 | __key_t __key;			/* Key. */ | |
| 45 | __uid_t uid;			/* Owner's user ID. */ | |
| 46 | __gid_t gid;			/* Owner's group ID. */ | |
| 47 | __uid_t cuid;			/* Creator's user ID. */ | |
| 48 | __gid_t cgid;			/* Creator's group ID. */ | |
| 49 | unsigned short int mode;		/* Read/write permission. */ | |
| 50 | unsigned short int __pad1; | |
| 51 | unsigned short int __seq;		/* Sequence number. */ | |
| 52 | unsigned short int __pad2; | |
| 53 | __syscall_ulong_t __glibc_reserved1; | |
| 54 | __syscall_ulong_t __glibc_reserved2; | |
| 55 | }; | |
| \ No newline at end of file | ||
| 40 | #include <bits/ipc-perm.h> | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/ipctypes.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. Generic. |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | * Never include <bits/ipctypes.h> directly. |
lib/libc/include/generic-glibc/bits/iscanonical.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define iscanonical macro. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/iscanonical.h> directly; include <math.h> instead." |
lib/libc/include/generic-glibc/bits/libc-header-start.h+20-4| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Handle feature test macros at the start of a header. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This header is internal to glibc and should not be included outside |
| 20 | 20 | of glibc headers. Headers including it must define |
| ... | ... | @@ -43,22 +43,38 @@ |
| 43 | 43 | #endif |
| 44 | 44 | |
| 45 | 45 | /* ISO/IEC TS 18661-1:2014 defines the __STDC_WANT_IEC_60559_BFP_EXT__ |
| 46 | macro. */ | |
| 46 | macro. Most but not all symbols enabled by that macro in TS | |
| 47 | 18661-1 are enabled unconditionally in C2X; the symbols in Annex F | |
| 48 | still require that macro in C2X. */ | |
| 47 | 49 | #undef __GLIBC_USE_IEC_60559_BFP_EXT |
| 48 | 50 | #if defined __USE_GNU || defined __STDC_WANT_IEC_60559_BFP_EXT__ |
| 49 | 51 | # define __GLIBC_USE_IEC_60559_BFP_EXT 1 |
| 50 | 52 | #else |
| 51 | 53 | # define __GLIBC_USE_IEC_60559_BFP_EXT 0 |
| 52 | 54 | #endif |
| 55 | #undef __GLIBC_USE_IEC_60559_BFP_EXT_C2X | |
| 56 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || __GLIBC_USE (ISOC2X) | |
| 57 | # define __GLIBC_USE_IEC_60559_BFP_EXT_C2X 1 | |
| 58 | #else | |
| 59 | # define __GLIBC_USE_IEC_60559_BFP_EXT_C2X 0 | |
| 60 | #endif | |
| 53 | 61 | |
| 54 | 62 | /* ISO/IEC TS 18661-4:2015 defines the |
| 55 | __STDC_WANT_IEC_60559_FUNCS_EXT__ macro. */ | |
| 63 | __STDC_WANT_IEC_60559_FUNCS_EXT__ macro. Other than the reduction | |
| 64 | functions, the symbols from this TS are enabled unconditionally in | |
| 65 | C2X. */ | |
| 56 | 66 | #undef __GLIBC_USE_IEC_60559_FUNCS_EXT |
| 57 | 67 | #if defined __USE_GNU || defined __STDC_WANT_IEC_60559_FUNCS_EXT__ |
| 58 | 68 | # define __GLIBC_USE_IEC_60559_FUNCS_EXT 1 |
| 59 | 69 | #else |
| 60 | 70 | # define __GLIBC_USE_IEC_60559_FUNCS_EXT 0 |
| 61 | 71 | #endif |
| 72 | #undef __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X | |
| 73 | #if __GLIBC_USE (IEC_60559_FUNCS_EXT) || __GLIBC_USE (ISOC2X) | |
| 74 | # define __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X 1 | |
| 75 | #else | |
| 76 | # define __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X 0 | |
| 77 | #endif | |
| 62 | 78 | |
| 63 | 79 | /* ISO/IEC TS 18661-3:2015 defines the |
| 64 | 80 | __STDC_WANT_IEC_60559_TYPES_EXT__ macro. */ |
lib/libc/include/generic-glibc/bits/libm-simd-decl-stubs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Empty definitions required for __MATHCALL_VEC unfolding in mathcalls.h. |
| 2 | Copyright (C) 2014-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never include <bits/libm-simd-decl-stubs.h> directly;\ |
lib/libc/include/generic-glibc/bits/link.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_LINK_H |
| 19 | 19 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/generic-glibc/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. Linux version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; see the file COPYING.LIB. If |
| 17 | not, see <http://www.gnu.org/licenses/>. */ | |
| 17 | not, see <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 20 | 20 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/generic-glibc/bits/locale.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definition of locale category symbol values. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined _LOCALE_H && !defined _LANGINFO_H |
| 20 | 20 | # error "Never use <bits/locale.h> directly; include <locale.h> instead." |
lib/libc/include/generic-glibc/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. MIPS version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,10 +14,11 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #include <sgidefs.h> |
| 20 | 20 | |
| 21 | 21 | #if !defined __NO_LONG_DOUBLE_MATH && _MIPS_SIM == _ABIO32 |
| 22 | 22 | # define __NO_LONG_DOUBLE_MATH	1 |
| 23 | #endif | |
| \ No newline at end of file | ||
| 23 | #endif | |
| 24 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/math-finite.h deleted-197| ... | ... | @@ -1,197 +0,0 @@ |
| 1 | /* Entry points to finite-math-only compiler runs. | |
| 2 | Copyright (C) 2011-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 _MATH_H | |
| 20 | # error "Never use <bits/math-finite.h> directly; include <math.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | #define __REDIRFROM(...) __REDIRFROM_X(__VA_ARGS__) | |
| 24 | ||
| 25 | #define __REDIRTO(...) __REDIRTO_X(__VA_ARGS__) | |
| 26 | ||
| 27 | #define __MATH_REDIRCALL_X(from, args, to) \ | |
| 28 | extern _Mdouble_ __REDIRECT_NTH (from, args, to) | |
| 29 | #define __MATH_REDIRCALL(function, reentrant, args) \ | |
| 30 | __MATH_REDIRCALL_X \ | |
| 31 | (__REDIRFROM (function, reentrant), args, \ | |
| 32 | __REDIRTO (function, reentrant)) | |
| 33 | #define __MATH_REDIRCALL_2(from, reentrant, args, to) \ | |
| 34 | __MATH_REDIRCALL_X \ | |
| 35 | (__REDIRFROM (from, reentrant), args, \ | |
| 36 | __REDIRTO (to, reentrant)) | |
| 37 | ||
| 38 | #define __MATH_REDIRCALL_INTERNAL(function, reentrant, args) \ | |
| 39 | __MATH_REDIRCALL_X \ | |
| 40 | (__REDIRFROM (__CONCAT (__, function), \ | |
| 41 | 		 __CONCAT (reentrant, _finite)), \ | |
| 42 | args, __REDIRTO (function, _r)) | |
| 43 | ||
| 44 | ||
| 45 | /* acos. */ | |
| 46 | __MATH_REDIRCALL (acos, , (_Mdouble_)); | |
| 47 | ||
| 48 | #if defined __USE_XOPEN_EXTENDED || defined __USE_ISOC99 | |
| 49 | /* acosh. */ | |
| 50 | __MATH_REDIRCALL (acosh, , (_Mdouble_)); | |
| 51 | #endif | |
| 52 | ||
| 53 | /* asin. */ | |
| 54 | __MATH_REDIRCALL (asin, , (_Mdouble_)); | |
| 55 | ||
| 56 | /* atan2. */ | |
| 57 | __MATH_REDIRCALL (atan2, , (_Mdouble_, _Mdouble_)); | |
| 58 | ||
| 59 | #if defined __USE_XOPEN_EXTENDED || defined __USE_ISOC99 | |
| 60 | /* atanh. */ | |
| 61 | __MATH_REDIRCALL (atanh, , (_Mdouble_)); | |
| 62 | #endif | |
| 63 | ||
| 64 | /* cosh. */ | |
| 65 | __MATH_REDIRCALL (cosh, , (_Mdouble_)); | |
| 66 | ||
| 67 | /* exp. */ | |
| 68 | __MATH_REDIRCALL (exp, , (_Mdouble_)); | |
| 69 | ||
| 70 | #if __GLIBC_USE (IEC_60559_FUNCS_EXT) | |
| 71 | /* exp10. */ | |
| 72 | __MATH_REDIRCALL (exp10, , (_Mdouble_)); | |
| 73 | #endif | |
| 74 | ||
| 75 | #ifdef __USE_ISOC99 | |
| 76 | /* exp2. */ | |
| 77 | __MATH_REDIRCALL (exp2, , (_Mdouble_)); | |
| 78 | #endif | |
| 79 | ||
| 80 | /* fmod. */ | |
| 81 | __MATH_REDIRCALL (fmod, , (_Mdouble_, _Mdouble_)); | |
| 82 | ||
| 83 | #if defined __USE_XOPEN || defined __USE_ISOC99 | |
| 84 | /* hypot. */ | |
| 85 | __MATH_REDIRCALL (hypot, , (_Mdouble_, _Mdouble_)); | |
| 86 | #endif | |
| 87 | ||
| 88 | #if (__MATH_DECLARING_DOUBLE && (defined __USE_MISC || defined __USE_XOPEN)) \ | |
| 89 | || (!__MATH_DECLARING_DOUBLE && defined __USE_MISC) | |
| 90 | /* j0. */ | |
| 91 | __MATH_REDIRCALL (j0, , (_Mdouble_)); | |
| 92 | ||
| 93 | /* y0. */ | |
| 94 | __MATH_REDIRCALL (y0, , (_Mdouble_)); | |
| 95 | ||
| 96 | /* j1. */ | |
| 97 | __MATH_REDIRCALL (j1, , (_Mdouble_)); | |
| 98 | ||
| 99 | /* y1. */ | |
| 100 | __MATH_REDIRCALL (y1, , (_Mdouble_)); | |
| 101 | ||
| 102 | /* jn. */ | |
| 103 | __MATH_REDIRCALL (jn, , (int, _Mdouble_)); | |
| 104 | ||
| 105 | /* yn. */ | |
| 106 | __MATH_REDIRCALL (yn, , (int, _Mdouble_)); | |
| 107 | #endif | |
| 108 | ||
| 109 | #ifdef __USE_MISC | |
| 110 | /* lgamma_r. */ | |
| 111 | __MATH_REDIRCALL (lgamma, _r, (_Mdouble_, int *)); | |
| 112 | #endif | |
| 113 | ||
| 114 | /* Redirect __lgammal_r_finite to __lgamma_r_finite when __NO_LONG_DOUBLE_MATH | |
| 115 | is set and to itself otherwise. It also redirects __lgamma_r_finite and | |
| 116 | __lgammaf_r_finite to themselves. */ | |
| 117 | __MATH_REDIRCALL_INTERNAL (lgamma, _r, (_Mdouble_, int *)); | |
| 118 | ||
| 119 | #if ((defined __USE_XOPEN || defined __USE_ISOC99) \ | |
| 120 | && defined __extern_always_inline) | |
| 121 | /* lgamma. */ | |
| 122 | __extern_always_inline _Mdouble_ | |
| 123 | __NTH (__REDIRFROM (lgamma, ) (_Mdouble_ __d)) | |
| 124 | { | |
| 125 | # if defined __USE_MISC || defined __USE_XOPEN | |
| 126 | return __REDIRTO (lgamma, _r) (__d, &signgam); | |
| 127 | # else | |
| 128 | int __local_signgam = 0; | |
| 129 | return __REDIRTO (lgamma, _r) (__d, &__local_signgam); | |
| 130 | # endif | |
| 131 | } | |
| 132 | #endif | |
| 133 | ||
| 134 | #if ((defined __USE_MISC || (defined __USE_XOPEN && !defined __USE_XOPEN2K)) \ | |
| 135 | && defined __extern_always_inline) && !__MATH_DECLARING_FLOATN | |
| 136 | /* gamma. */ | |
| 137 | __extern_always_inline _Mdouble_ | |
| 138 | __NTH (__REDIRFROM (gamma, ) (_Mdouble_ __d)) | |
| 139 | { | |
| 140 | return __REDIRTO (lgamma, _r) (__d, &signgam); | |
| 141 | } | |
| 142 | #endif | |
| 143 | ||
| 144 | /* log. */ | |
| 145 | __MATH_REDIRCALL (log, , (_Mdouble_)); | |
| 146 | ||
| 147 | /* log10. */ | |
| 148 | __MATH_REDIRCALL (log10, , (_Mdouble_)); | |
| 149 | ||
| 150 | #ifdef __USE_ISOC99 | |
| 151 | /* log2. */ | |
| 152 | __MATH_REDIRCALL (log2, , (_Mdouble_)); | |
| 153 | #endif | |
| 154 | ||
| 155 | /* pow. */ | |
| 156 | __MATH_REDIRCALL (pow, , (_Mdouble_, _Mdouble_)); | |
| 157 | ||
| 158 | #if defined __USE_XOPEN_EXTENDED || defined __USE_ISOC99 | |
| 159 | /* remainder. */ | |
| 160 | __MATH_REDIRCALL (remainder, , (_Mdouble_, _Mdouble_)); | |
| 161 | #endif | |
| 162 | ||
| 163 | #if ((__MATH_DECLARING_DOUBLE \ | |
| 164 | && (defined __USE_MISC \ | |
| 165 | 	 || (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K8))) \ | |
| 166 | || (!defined __MATH_DECLARE_LDOUBLE && defined __USE_MISC)) \ | |
| 167 | && !__MATH_DECLARING_FLOATN | |
| 168 | /* scalb. */ | |
| 169 | __MATH_REDIRCALL (scalb, , (_Mdouble_, _Mdouble_)); | |
| 170 | #endif | |
| 171 | ||
| 172 | /* sinh. */ | |
| 173 | __MATH_REDIRCALL (sinh, , (_Mdouble_)); | |
| 174 | ||
| 175 | /* sqrt. */ | |
| 176 | __MATH_REDIRCALL (sqrt, , (_Mdouble_)); | |
| 177 | ||
| 178 | #if defined __USE_ISOC99 && defined __extern_always_inline | |
| 179 | /* tgamma. */ | |
| 180 | extern _Mdouble_ | |
| 181 | __REDIRFROM (__gamma, _r_finite) (_Mdouble_, int *); | |
| 182 | ||
| 183 | __extern_always_inline _Mdouble_ | |
| 184 | __NTH (__REDIRFROM (tgamma, ) (_Mdouble_ __d)) | |
| 185 | { | |
| 186 | int __local_signgam = 0; | |
| 187 | _Mdouble_ __res = __REDIRTO (gamma, _r) (__d, &__local_signgam); | |
| 188 | return __local_signgam < 0 ? -__res : __res; | |
| 189 | } | |
| 190 | #endif | |
| 191 | ||
| 192 | #undef __REDIRFROM | |
| 193 | #undef __REDIRTO | |
| 194 | #undef __MATH_REDIRCALL | |
| 195 | #undef __MATH_REDIRCALL_2 | |
| 196 | #undef __MATH_REDIRCALL_INTERNAL | |
| 197 | #undef __MATH_REDIRCALL_X | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/math-vector.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Platform-specific SIMD declarations of math functions. |
| 2 | Copyright (C) 2014-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never include <bits/math-vector.h> directly;\ |
lib/libc/include/generic-glibc/bits/mathcalls-helper-functions.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Prototype declarations for math classification macros helpers. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | |
| 20 | 20 | /* Classify given number. */ |
lib/libc/include/generic-glibc/bits/mathcalls-narrow.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Declare functions returning a narrower type. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never include <bits/mathcalls-narrow.h> directly; include <math.h> instead." |
lib/libc/include/generic-glibc/bits/mathcalls.h+17-13| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Prototype declarations for math functions; helper file for <math.h>. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* NOTE: Because of the special way this file is used by <math.h>, this |
| 20 | 20 | file must NOT be protected from multiple inclusion as header files |
| ... | ... | @@ -109,7 +109,7 @@ __MATHCALL (log10,, (_Mdouble_ __x)); |
| 109 | 109 | /* Break VALUE into integral and fractional parts. */ |
| 110 | 110 | __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2)); |
| 111 | 111 | |
| 112 | #if __GLIBC_USE (IEC_60559_FUNCS_EXT) | |
| 112 | #if __GLIBC_USE (IEC_60559_FUNCS_EXT_C2X) | |
| 113 | 113 | /* Compute exponent to base ten. */ |
| 114 | 114 | __MATHCALL (exp10,, (_Mdouble_ __x)); |
| 115 | 115 | #endif |
| ... | ... | @@ -261,7 +261,7 @@ __MATHCALL (nextafter,, (_Mdouble_ __x, _Mdouble_ __y)); |
| 261 | 261 | __MATHCALL (nexttoward,, (_Mdouble_ __x, long double __y)); |
| 262 | 262 | # endif |
| 263 | 263 | |
| 264 | # if __GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN | |
| 264 | # if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) || __MATH_DECLARING_FLOATN | |
| 265 | 265 | /* Return X - epsilon. */ |
| 266 | 266 | __MATHCALL (nextdown,, (_Mdouble_ __x)); |
| 267 | 267 | /* Return X + epsilon. */ |
| ... | ... | @@ -280,7 +280,7 @@ __MATHCALL (scalbn,, (_Mdouble_ __x, int __n)); |
| 280 | 280 | __MATHDECL (int,ilogb,, (_Mdouble_ __x)); |
| 281 | 281 | #endif |
| 282 | 282 | |
| 283 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN | |
| 283 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) || __MATH_DECLARING_FLOATN | |
| 284 | 284 | /* Like ilogb, but returning long int. */ |
| 285 | 285 | __MATHDECL (long int, llogb,, (_Mdouble_ __x)); |
| 286 | 286 | #endif |
| ... | ... | @@ -335,7 +335,7 @@ __MATHCALLX (fmin,, (_Mdouble_ __x, _Mdouble_ __y), (__const__)); |
| 335 | 335 | __MATHCALL (fma,, (_Mdouble_ __x, _Mdouble_ __y, _Mdouble_ __z)); |
| 336 | 336 | #endif /* Use ISO C99. */ |
| 337 | 337 | |
| 338 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN | |
| 338 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) || __MATH_DECLARING_FLOATN | |
| 339 | 339 | /* Round X to nearest integer value, rounding halfway cases to even. */ |
| 340 | 340 | __MATHCALLX (roundeven,, (_Mdouble_ __x), (__const__)); |
| 341 | 341 | |
| ... | ... | @@ -367,16 +367,20 @@ __MATHCALLX (fmaxmag,, (_Mdouble_ __x, _Mdouble_ __y), (__const__)); |
| 367 | 367 | /* Return value with minimum magnitude. */ |
| 368 | 368 | __MATHCALLX (fminmag,, (_Mdouble_ __x, _Mdouble_ __y), (__const__)); |
| 369 | 369 | |
| 370 | /* Canonicalize floating-point representation. */ | |
| 371 | __MATHDECL_1 (int, canonicalize,, (_Mdouble_ *__cx, const _Mdouble_ *__x)); | |
| 372 | #endif | |
| 373 | ||
| 374 | #if __GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN | |
| 370 | 375 | /* Total order operation. */ |
| 371 | __MATHDECL_1 (int, totalorder,, (_Mdouble_ __x, _Mdouble_ __y)) | |
| 372 | __attribute__ ((__const__)); | |
| 376 | __MATHDECL_1 (int, totalorder,, (const _Mdouble_ *__x, | |
| 377 | 				 const _Mdouble_ *__y)) | |
| 378 | __attribute_pure__; | |
| 373 | 379 | |
| 374 | 380 | /* Total order operation on absolute values. */ |
| 375 | __MATHDECL_1 (int, totalordermag,, (_Mdouble_ __x, _Mdouble_ __y)) | |
| 376 | __attribute__ ((__const__)); | |
| 377 | ||
| 378 | /* Canonicalize floating-point representation. */ | |
| 379 | __MATHDECL_1 (int, canonicalize,, (_Mdouble_ *__cx, const _Mdouble_ *__x)); | |
| 381 | __MATHDECL_1 (int, totalordermag,, (const _Mdouble_ *__x, | |
| 382 | 				 const _Mdouble_ *__y)) | |
| 383 | __attribute_pure__; | |
| 380 | 384 | |
| 381 | 385 | /* Get NaN payload. */ |
| 382 | 386 | __MATHCALL (getpayload,, (const _Mdouble_ *__x)); |
lib/libc/include/generic-glibc/bits/mathdef.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _COMPLEX_H |
| 19 | 19 | # error "Never use <bits/mathdef.h> directly; include <complex.h> instead" |
lib/libc/include/generic-glibc/bits/mman-linux.h+4-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux generic version. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman-linux.h> directly; include <sys/mman.h> instead." |
| ... | ... | @@ -87,6 +87,8 @@ |
| 87 | 87 | # define MADV_DODUMP	 17	/* Clear the MADV_DONTDUMP flag. */ |
| 88 | 88 | # define MADV_WIPEONFORK 18	/* Zero memory on fork, child only. */ |
| 89 | 89 | # define MADV_KEEPONFORK 19	/* Undo MADV_WIPEONFORK. */ |
| 90 | # define MADV_COLD 20	/* Deactivate these pages. */ | |
| 91 | # define MADV_PAGEOUT 21	/* Reclaim these pages. */ | |
| 90 | 92 | # define MADV_HWPOISON	 100	/* Poison a page for testing. */ |
| 91 | 93 | #endif |
| 92 | 94 |
lib/libc/include/generic-glibc/bits/mman-map-flags-generic.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/generic version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman-map-flags-generic.h> directly; include <sys/mman.h> instead." |
lib/libc/include/generic-glibc/bits/mman-shared.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Memory-mapping-related declarations/definitions, not architecture-specific. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman-shared.h> directly; include <sys/mman.h> instead." |
lib/libc/include/generic-glibc/bits/mman.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/generic version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
lib/libc/include/generic-glibc/bits/monetary-ldbl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* -mlong-double-64 compatibility mode for monetary functions. |
| 2 | Copyright (C) 2006-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MONETARY_H |
| 20 | 20 | # error "Never include <bits/monetary-ldbl.h> directly; use <monetary.h> instead." |
lib/libc/include/generic-glibc/bits/mqueue.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _MQUEUE_H |
| 19 | 19 | # error "Never use <bits/mqueue.h> directly; include <mqueue.h> instead." |
lib/libc/include/generic-glibc/bits/mqueue2.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Checking macros for mq functions. |
| 2 | Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_FCNTL_H |
| 20 | 20 | # error "Never include <bits/mqueue2.h> directly; use <mqueue.h> instead." |
lib/libc/include/generic-glibc/bits/msq-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct msqid_ds. Generic version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MSG_H |
| 20 | 20 | # error "Never use <bits/msq-pad.h> directly; include <sys/msg.h> instead." |
lib/libc/include/generic-glibc/bits/msq.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_MSG_H |
| 19 | 19 | # error "Never use <bits/msq.h> directly; include <sys/msg.h> instead." |
lib/libc/include/generic-glibc/bits/netdb.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _NETDB_H |
| 19 | 19 | # error "Never include <bits/netdb.h> directly; use <netdb.h> instead." |
lib/libc/include/generic-glibc/bits/param.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Old-style Unix parameters and limits. Linux version. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PARAM_H |
| 20 | 20 | # error "Never use <bits/param.h> directly; include <sys/param.h> instead." |
lib/libc/include/generic-glibc/bits/poll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_POLL_H |
| 19 | 19 | # error "Never use <bits/poll.h> directly; include <sys/poll.h> instead." |
lib/libc/include/generic-glibc/bits/poll2.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Checking macros for poll functions. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_POLL_H |
| 20 | 20 | # error "Never include <bits/poll2.h> directly; use <sys/poll.h> instead." |
lib/libc/include/generic-glibc/bits/posix1_lim.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 2.9.2 Minimum Values	Added to <limits.h> |
lib/libc/include/generic-glibc/bits/posix2_lim.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | * Never include this file directly; include <limits.h> instead. |
lib/libc/include/generic-glibc/bits/posix_opt.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define POSIX options for Linux. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; see the file COPYING.LIB. If |
| 17 | not, see <http://www.gnu.org/licenses/>. */ | |
| 17 | not, see <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_BITS_POSIX_OPT_H |
| 20 | 20 | #define	_BITS_POSIX_OPT_H	1 |
lib/libc/include/generic-glibc/bits/ppc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Facilities specific to the PowerPC architecture on Linux |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_PPC_H |
| 20 | 20 | #define _BITS_PPC_H |
lib/libc/include/generic-glibc/bits/printf-ldbl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* -mlong-double-64 compatibility mode for <printf.h> functions. |
| 2 | Copyright (C) 2006-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _PRINTF_H |
| 20 | 20 | # error "Never include <bits/printf-ldbl.h> directly; use <printf.h> instead." |
lib/libc/include/generic-glibc/bits/procfs-extra.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Extra sys/procfs.h definitions. Generic Linux version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-extra.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/generic-glibc/bits/procfs-id.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. Generic Linux version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-id.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/generic-glibc/bits/procfs-prregset.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types of prgregset_t and prfpregset_t. Generic Linux version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-prregset.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/generic-glibc/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. MIPS version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/generic-glibc/bits/pthreadtypes-arch.h+19-63| ... | ... | @@ -1,5 +1,6 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | |
| 2 | Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Machine-specific pthread type layouts. Generic version. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 3 | 4 | This file is part of the GNU C Library. |
| 4 | 5 | |
| 5 | 6 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,77 +14,32 @@ |
| 13 | 14 | Lesser General Public License for more details. |
| 14 | 15 | |
| 15 | 16 | You should have received a copy of the GNU Lesser General Public |
| 16 | License along with the GNU C Library. If not, see | |
| 17 | License along with the GNU C Library; if not, see | |
| 17 | 18 | <http://www.gnu.org/licenses/>. */ |
| 18 | 19 | |
| 19 | 20 | #ifndef _BITS_PTHREADTYPES_ARCH_H |
| 20 | 21 | #define _BITS_PTHREADTYPES_ARCH_H	1 |
| 21 | 22 | |
| 22 | #include <endian.h> | |
| 23 | #include <bits/wordsize.h> | |
| 23 | 24 | |
| 24 | #if _MIPS_SIM == _ABI64 | |
| 25 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 26 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 25 | #if __WORDSIZE == 64 | |
| 26 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 27 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 28 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 29 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 29 | 30 | #else |
| 30 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 31 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 31 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 32 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 33 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 34 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 34 | 35 | #endif |
| 35 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 36 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 37 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 38 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 39 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 40 | ||
| 41 | /* Data structure for mutex handling. */ | |
| 42 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 43 | #define __PTHREAD_COMPAT_PADDING_END | |
| 44 | #define __PTHREAD_MUTEX_LOCK_ELISION 0 | |
| 45 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND (_MIPS_SIM != _ABI64) | |
| 46 | #define __PTHREAD_MUTEX_USE_UNION (_MIPS_SIM != _ABI64) | |
| 36 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 37 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 38 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 39 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 40 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 47 | 41 | |
| 48 | 42 | #define __LOCK_ALIGNMENT |
| 49 | 43 | #define __ONCE_ALIGNMENT |
| 50 | 44 | |
| 51 | struct __pthread_rwlock_arch_t | |
| 52 | { | |
| 53 | unsigned int __readers; | |
| 54 | unsigned int __writers; | |
| 55 | unsigned int __wrphase_futex; | |
| 56 | unsigned int __writers_futex; | |
| 57 | unsigned int __pad3; | |
| 58 | unsigned int __pad4; | |
| 59 | #if _MIPS_SIM == _ABI64 | |
| 60 | int __cur_writer; | |
| 61 | int __shared; | |
| 62 | unsigned long int __pad1; | |
| 63 | unsigned long int __pad2; | |
| 64 | /* FLAGS must stay at this position in the structure to maintain | |
| 65 | binary compatibility. */ | |
| 66 | unsigned int __flags; | |
| 67 | # else | |
| 68 | # if __BYTE_ORDER == __BIG_ENDIAN | |
| 69 | unsigned char __pad1; | |
| 70 | unsigned char __pad2; | |
| 71 | unsigned char __shared; | |
| 72 | /* FLAGS must stay at this position in the structure to maintain | |
| 73 | binary compatibility. */ | |
| 74 | unsigned char __flags; | |
| 75 | # else | |
| 76 | /* FLAGS must stay at this position in the structure to maintain | |
| 77 | binary compatibility. */ | |
| 78 | unsigned char __flags; | |
| 79 | unsigned char __shared; | |
| 80 | unsigned char __pad1; | |
| 81 | unsigned char __pad2; | |
| 82 | # endif | |
| 83 | int __cur_writer; | |
| 84 | #endif | |
| 85 | }; | |
| 86 | ||
| 87 | #define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 88 | ||
| 89 | 45 | #endif	/* bits/pthreadtypes.h */ |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/pthreadtypes.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Declaration of common pthread types for all architectures. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_PTHREADTYPES_COMMON_H |
| 20 | 20 | # define _BITS_PTHREADTYPES_COMMON_H	1 |
lib/libc/include/generic-glibc/bits/ptrace-shared.h+49-2| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux version, |
| 2 | 2 | not architecture-specific. |
| 3 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 3 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 4 | 4 | |
| 5 | 5 | This file is part of the GNU C Library. |
| 6 | 6 | |
| ... | ... | @@ -16,7 +16,7 @@ |
| 16 | 16 | |
| 17 | 17 | You should have received a copy of the GNU Lesser General Public |
| 18 | 18 | License along with the GNU C Library; if not, see |
| 19 | <http://www.gnu.org/licenses/>. */ | |
| 19 | <https://www.gnu.org/licenses/>. */ | |
| 20 | 20 | |
| 21 | 21 | #ifndef _SYS_PTRACE_H |
| 22 | 22 | # error "Never use <bits/ptrace-shared.h> directly; include <sys/ptrace.h> instead." |
| ... | ... | @@ -52,6 +52,15 @@ enum __ptrace_eventcodes |
| 52 | 52 | PTRACE_EVENT_STOP	= 128 |
| 53 | 53 | }; |
| 54 | 54 | |
| 55 | /* Type of stop for PTRACE_GET_SYSCALL_INFO. */ | |
| 56 | enum __ptrace_get_syscall_info_op | |
| 57 | { | |
| 58 | PTRACE_SYSCALL_INFO_NONE = 0, | |
| 59 | PTRACE_SYSCALL_INFO_ENTRY = 1, | |
| 60 | PTRACE_SYSCALL_INFO_EXIT = 2, | |
| 61 | PTRACE_SYSCALL_INFO_SECCOMP = 3 | |
| 62 | }; | |
| 63 | ||
| 55 | 64 | /* Arguments for PTRACE_PEEKSIGINFO. */ |
| 56 | 65 | struct __ptrace_peeksiginfo_args |
| 57 | 66 | { |
| ... | ... | @@ -73,6 +82,44 @@ struct __ptrace_seccomp_metadata |
| 73 | 82 | __uint64_t flags;		/* Output: filter's flags. */ |
| 74 | 83 | }; |
| 75 | 84 | |
| 85 | /* Results of PTRACE_GET_SYSCALL_INFO. */ | |
| 86 | struct __ptrace_syscall_info | |
| 87 | { | |
| 88 | __uint8_t op;			/* One of the enum | |
| 89 | 				 __ptrace_get_syscall_info_op | |
| 90 | 				 values. */ | |
| 91 | __uint32_t arch __attribute__ ((__aligned__ (4))); /* AUDIT_ARCH_* | |
| 92 | 							value. */ | |
| 93 | __uint64_t instruction_pointer; /* Instruction pointer. */ | |
| 94 | __uint64_t stack_pointer;	/* Stack pointer. */ | |
| 95 | union | |
| 96 | { | |
| 97 | /* System call number and arguments, for | |
| 98 | PTRACE_SYSCALL_INFO_ENTRY. */ | |
| 99 | struct | |
| 100 | { | |
| 101 | __uint64_t nr; | |
| 102 | __uint64_t args[6]; | |
| 103 | } entry; | |
| 104 | /* System call return value and error flag, for | |
| 105 | PTRACE_SYSCALL_INFO_EXIT. */ | |
| 106 | struct | |
| 107 | { | |
| 108 | __int64_t rval; | |
| 109 | __uint8_t is_error; | |
| 110 | } exit; | |
| 111 | /* System call number, arguments and SECCOMP_RET_DATA portion of | |
| 112 | SECCOMP_RET_TRACE return value, for | |
| 113 | PTRACE_SYSCALL_INFO_SECCOMP. */ | |
| 114 | struct | |
| 115 | { | |
| 116 | __uint64_t nr; | |
| 117 | __uint64_t args[6]; | |
| 118 | __uint32_t ret_data; | |
| 119 | } seccomp; | |
| 120 | }; | |
| 121 | }; | |
| 122 | ||
| 76 | 123 | /* Perform process tracing functions. REQUEST is one of the values |
| 77 | 124 | above, and determines the action to be taken. |
| 78 | 125 | For all requests except PTRACE_TRACEME, PID specifies the process to be |
lib/libc/include/generic-glibc/bits/resource.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit values & structures for resource limits. Linux version. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_RESOURCE_H |
| 20 | 20 | # error "Never use <bits/resource.h> directly; include <sys/resource.h> instead." |
lib/libc/include/generic-glibc/bits/sched.h+4-2| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | /* Definitions of constants and data structure for POSIX 1003.1b-1993 |
| 2 | 2 | scheduling interface. |
| 3 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 3 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| 6 | 6 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _BITS_SCHED_H |
| 21 | 21 | #define _BITS_SCHED_H 1 |
| ... | ... | @@ -44,6 +44,8 @@ |
| 44 | 44 | # define CLONE_FS 0x00000200 /* Set if fs info shared between processes. */ |
| 45 | 45 | # define CLONE_FILES 0x00000400 /* Set if open files shared between processes. */ |
| 46 | 46 | # define CLONE_SIGHAND 0x00000800 /* Set if signal handlers shared. */ |
| 47 | # define CLONE_PIDFD 0x00001000 /* Set if a pidfd should be placed | |
| 48 | 				 in parent. */ | |
| 47 | 49 | # define CLONE_PTRACE 0x00002000 /* Set if tracing continues on the child. */ |
| 48 | 50 | # define CLONE_VFORK 0x00004000 /* Set if the parent wants the child to |
| 49 | 51 | 				 wake it up on mm_release. */ |
lib/libc/include/generic-glibc/bits/select.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_SELECT_H |
| 19 | 19 | # error "Never use <bits/select.h> directly; include <sys/select.h> instead." |
lib/libc/include/generic-glibc/bits/select2.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Checking macros for select functions. |
| 2 | Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SELECT_H |
| 20 | 20 | # error "Never include <bits/select2.h> directly; use <sys/select.h> instead." |
lib/libc/include/generic-glibc/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. Generic version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/generic-glibc/bits/sem.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_SEM_H |
| 19 | 19 | # error "Never include <bits/sem.h> directly; use <sys/sem.h> instead." |
lib/libc/include/generic-glibc/bits/semaphore.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SEMAPHORE_H |
| 19 | 19 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/generic-glibc/bits/setjmp.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define the machine-dependent type `jmp_buf'. MIPS version. |
| 2 | Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MIPS_BITS_SETJMP_H |
| 20 | 20 | #define _MIPS_BITS_SETJMP_H 1 |
lib/libc/include/generic-glibc/bits/setjmp2.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Checking macros for setjmp functions. |
| 2 | Copyright (C) 2009-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2009-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SETJMP_H |
| 20 | 20 | # error "Never include <bits/setjmp2.h> directly; use <setjmp.h> instead." |
lib/libc/include/generic-glibc/bits/shm-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct shmid_ds. Generic version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shm-pad.h> directly; include <sys/shm.h> instead." |
lib/libc/include/generic-glibc/bits/shm.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_SHM_H |
| 19 | 19 | # error "Never include <bits/shm.h> directly; use <sys/shm.h> instead." |
lib/libc/include/generic-glibc/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. Generic version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/generic-glibc/bits/sigaction.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* The proper definitions for Linux's sigaction. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGACTION_H |
| 20 | 20 | #define _BITS_SIGACTION_H 1 |
lib/libc/include/generic-glibc/bits/sigcontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_SIGCONTEXT_H |
| 19 | 19 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/generic-glibc/bits/sigevent-consts.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* sigevent constants. Linux version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGEVENT_CONSTS_H |
| 20 | 20 | #define _BITS_SIGEVENT_CONSTS_H 1 |
lib/libc/include/generic-glibc/bits/siginfo-consts.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* siginfo constants. Linux version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGINFO_CONSTS_H |
| 20 | 20 | #define _BITS_SIGINFO_CONSTS_H 1 |
lib/libc/include/generic-glibc/bits/signal_ext.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System-specific extensions of <signal.h>, Linux version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SIGNAL_H |
| 20 | 20 | # error "Never include <bits/signal_ext.h> directly; use <signal.h> instead." |
lib/libc/include/generic-glibc/bits/signalfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_SIGNALFD_H |
| 19 | 19 | # error "Never use <bits/signalfd.h> directly; include <sys/signalfd.h> instead." |
lib/libc/include/generic-glibc/bits/signum-generic.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Signal number constants. Generic template. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_BITS_SIGNUM_GENERIC_H |
| 20 | 20 | #define _BITS_SIGNUM_GENERIC_H 1 |
lib/libc/include/generic-glibc/bits/signum.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Signal number definitions. Linux version. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGNUM_H |
| 20 | 20 | #define _BITS_SIGNUM_H 1 |
lib/libc/include/generic-glibc/bits/sigstack.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGSTACK_H |
| 20 | 20 | #define _BITS_SIGSTACK_H 1 |
lib/libc/include/generic-glibc/bits/sigthread.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Signal handling function for threaded programs. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; see the file COPYING.LIB. If |
| 17 | not, see <http://www.gnu.org/licenses/>. */ | |
| 17 | not, see <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGTHREAD_H |
| 20 | 20 | #define _BITS_SIGTHREAD_H	1 |
lib/libc/include/generic-glibc/bits/sockaddr.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definition of struct sockaddr_* common members and sizes, generic version. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | * Never include this file directly; use <sys/socket.h> instead. |
lib/libc/include/generic-glibc/bits/socket-constants.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Socket constants which vary among Linux architectures. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." |
lib/libc/include/generic-glibc/bits/socket.h+3-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System-specific socket constants and types. Linux version. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __BITS_SOCKET_H |
| 20 | 20 | #define __BITS_SOCKET_H |
| ... | ... | @@ -169,7 +169,7 @@ typedef __socklen_t socklen_t; |
| 169 | 169 | #define SOL_XDP		283 |
| 170 | 170 | |
| 171 | 171 | /* Maximum queue length specifiable by listen. */ |
| 172 | #define SOMAXCONN	128 | |
| 172 | #define SOMAXCONN	4096 | |
| 173 | 173 | |
| 174 | 174 | /* Get the definition of the macro to define the common sockaddr members. */ |
| 175 | 175 | #include <bits/sockaddr.h> |
lib/libc/include/generic-glibc/bits/socket2.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Checking macros for socket functions. |
| 2 | Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket2.h> directly; use <sys/socket.h> instead." |
lib/libc/include/generic-glibc/bits/socket_type.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define enum __socket_type for generic Linux. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket_type.h> directly; use <sys/socket.h> instead." |
lib/libc/include/generic-glibc/bits/ss_flags.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* ss_flags values for stack_t. Linux version. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SS_FLAGS_H |
| 20 | 20 | #define _BITS_SS_FLAGS_H 1 |
lib/libc/include/generic-glibc/bits/stab.def+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Table of DBX symbol codes for the GNU system. |
| 2 | Copyright (C) 1988, 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1988, 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This contains contribution from Cygnus Support. */ |
| 20 | 20 |
lib/libc/include/generic-glibc/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/generic-glibc/bits/statfs.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_STATFS_H |
| 19 | 19 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." |
lib/libc/include/generic-glibc/bits/statvfs.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_STATVFS_H |
| 19 | 19 | # error "Never include <bits/statvfs.h> directly; use <sys/statvfs.h> instead." |
lib/libc/include/generic-glibc/bits/statx-generic.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Generic statx-related definitions and declarations. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This interface is based on <linux/stat.h> in Linux. */ |
| 20 | 20 |
lib/libc/include/generic-glibc/bits/statx.h+9-7| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* statx-related definitions and declarations. Linux version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This interface is based on <linux/stat.h> in Linux. */ |
| 20 | 20 | |
| ... | ... | @@ -26,11 +26,13 @@ |
| 26 | 26 | |
| 27 | 27 | /* Use "" to work around incorrect macro expansion of the |
| 28 | 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 | |
| 29 | #ifdef __has_include | |
| 30 | # if __has_include ("linux/stat.h") | |
| 31 | # include "linux/stat.h" | |
| 32 | # ifdef STATX_TYPE | |
| 33 | # define __statx_timestamp_defined 1 | |
| 34 | # define __statx_defined 1 | |
| 35 | # endif | |
| 34 | 36 | # endif |
| 35 | 37 | #endif |
| 36 | 38 |
lib/libc/include/generic-glibc/bits/stdint-intn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define intN_t types. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_STDINT_INTN_H |
| 20 | 20 | #define _BITS_STDINT_INTN_H	1 |
lib/libc/include/generic-glibc/bits/stdint-uintn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define uintN_t types. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_STDINT_UINTN_H |
| 20 | 20 | #define _BITS_STDINT_UINTN_H	1 |
lib/libc/include/generic-glibc/bits/stdio-ldbl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* -mlong-double-64 compatibility mode for stdio functions. |
| 2 | Copyright (C) 2006-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _STDIO_H |
| 20 | 20 | # error "Never include <bits/stdio-ldbl.h> directly; use <stdio.h> instead." |
lib/libc/include/generic-glibc/bits/stdio.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Optimizing macros and inline functions for stdio functions. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_STDIO_H |
| 20 | 20 | #define _BITS_STDIO_H 1 |
lib/libc/include/generic-glibc/bits/stdio2.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Checking macros for stdio functions. |
| 2 | Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_STDIO2_H |
| 20 | 20 | #define _BITS_STDIO2_H 1 |
lib/libc/include/generic-glibc/bits/stdio_lim.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_STDIO_LIM_H |
| 19 | 19 | #define _BITS_STDIO_LIM_H 1 |
lib/libc/include/generic-glibc/bits/stdlib-bsearch.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Perform binary search - inline version. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | __extern_inline void * |
| 20 | 20 | bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size, |
lib/libc/include/generic-glibc/bits/stdlib-float.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Floating-point inline functions for stdlib.h. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _STDLIB_H |
| 20 | 20 | # error "Never use <bits/stdlib-float.h> directly; include <stdlib.h> instead." |
lib/libc/include/generic-glibc/bits/stdlib-ldbl.h+3-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* -mlong-double-64 compatibility mode for <stdlib.h> functions. |
| 2 | Copyright (C) 2006-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _STDLIB_H |
| 20 | 20 | # error "Never include <bits/stdlib-ldbl.h> directly; use <stdlib.h> instead." |
| ... | ... | @@ -28,7 +28,7 @@ __LDBL_REDIR1_DECL (strtold, strtod) |
| 28 | 28 | __LDBL_REDIR1_DECL (strtold_l, strtod_l) |
| 29 | 29 | #endif |
| 30 | 30 | |
| 31 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 31 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 32 | 32 | __LDBL_REDIR1_DECL (strfroml, strfromd) |
| 33 | 33 | #endif |
| 34 | 34 |
lib/libc/include/generic-glibc/bits/stdlib.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Checking macros for stdlib functions. |
| 2 | Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _STDLIB_H |
| 20 | 20 | # error "Never include <bits/stdlib.h> directly; use <stdlib.h> instead." |
lib/libc/include/generic-glibc/bits/string_fortified.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_STRING_FORTIFIED_H |
| 19 | 19 | #define _BITS_STRING_FORTIFIED_H 1 |
lib/libc/include/generic-glibc/bits/strings_fortified.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Fortify macros for strings.h functions. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __STRINGS_FORTIFIED |
| 20 | 20 | # define __STRINGS_FORTIFIED 1 |
lib/libc/include/generic-glibc/bits/struct_mutex.h created+84| ... | ... | @@ -0,0 +1,84 @@ |
| 1 | /* Default mutex implementation struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | /* Generic struct for both POSIX and C11 mutexes. New ports are expected | |
| 23 | to use the default layout, however architecture can redefine it to | |
| 24 | add arch-specific extension (such as lock-elision). The struct have | |
| 25 | a size of 32 bytes on LP32 and 40 bytes on LP64 architectures. */ | |
| 26 | ||
| 27 | struct __pthread_mutex_s | |
| 28 | { | |
| 29 | int __lock __LOCK_ALIGNMENT; | |
| 30 | unsigned int __count; | |
| 31 | int __owner; | |
| 32 | #if __WORDSIZE == 64 | |
| 33 | unsigned int __nusers; | |
| 34 | #endif | |
| 35 | /* KIND must stay at this position in the structure to maintain | |
| 36 | binary compatibility with static initializers. | |
| 37 | ||
| 38 | Concurrency notes: | |
| 39 | The __kind of a mutex is initialized either by the static | |
| 40 | PTHREAD_MUTEX_INITIALIZER or by a call to pthread_mutex_init. | |
| 41 | ||
| 42 | After a mutex has been initialized, the __kind of a mutex is usually not | |
| 43 | changed. BUT it can be set to -1 in pthread_mutex_destroy or elision can | |
| 44 | be enabled. This is done concurrently in the pthread_mutex_*lock | |
| 45 | functions by using the macro FORCE_ELISION. This macro is only defined | |
| 46 | for architectures which supports lock elision. | |
| 47 | ||
| 48 | For elision, there are the flags PTHREAD_MUTEX_ELISION_NP and | |
| 49 | PTHREAD_MUTEX_NO_ELISION_NP which can be set in addition to the already | |
| 50 | set type of a mutex. Before a mutex is initialized, only | |
| 51 | PTHREAD_MUTEX_NO_ELISION_NP can be set with pthread_mutexattr_settype. | |
| 52 | ||
| 53 | After a mutex has been initialized, the functions pthread_mutex_*lock can | |
| 54 | enable elision - if the mutex-type and the machine supports it - by | |
| 55 | setting the flag PTHREAD_MUTEX_ELISION_NP. This is done concurrently. | |
| 56 | Afterwards the lock / unlock functions are using specific elision | |
| 57 | code-paths. */ | |
| 58 | int __kind; | |
| 59 | #if __WORDSIZE != 64 | |
| 60 | unsigned int __nusers; | |
| 61 | #endif | |
| 62 | #if __WORDSIZE == 64 | |
| 63 | int __spins; | |
| 64 | __pthread_list_t __list; | |
| 65 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 66 | #else | |
| 67 | __extension__ union | |
| 68 | { | |
| 69 | int __spins; | |
| 70 | __pthread_slist_t __list; | |
| 71 | }; | |
| 72 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 73 | #endif | |
| 74 | }; | |
| 75 | ||
| 76 | #if __PTHREAD_MUTEX_HAVE_PREV == 1 | |
| 77 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 78 | 0, 0, 0, 0, __kind, 0, { 0, 0 } | |
| 79 | #else | |
| 80 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 81 | 0, 0, 0, __kind, 0, { 0 } | |
| 82 | #endif | |
| 83 | ||
| 84 | #endif | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/struct_rwlock.h created+71| ... | ... | @@ -0,0 +1,71 @@ |
| 1 | /* MIPS internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _RWLOCK_INTERNAL_H | |
| 20 | #define _RWLOCK_INTERNAL_H | |
| 21 | ||
| 22 | struct __pthread_rwlock_arch_t | |
| 23 | { | |
| 24 | unsigned int __readers; | |
| 25 | unsigned int __writers; | |
| 26 | unsigned int __wrphase_futex; | |
| 27 | unsigned int __writers_futex; | |
| 28 | unsigned int __pad3; | |
| 29 | unsigned int __pad4; | |
| 30 | #if _MIPS_SIM == _ABI64 | |
| 31 | int __cur_writer; | |
| 32 | int __shared; | |
| 33 | unsigned long int __pad1; | |
| 34 | unsigned long int __pad2; | |
| 35 | /* FLAGS must stay at this position in the structure to maintain | |
| 36 | binary compatibility. */ | |
| 37 | unsigned int __flags; | |
| 38 | # else | |
| 39 | # if __BYTE_ORDER == __BIG_ENDIAN | |
| 40 | unsigned char __pad1; | |
| 41 | unsigned char __pad2; | |
| 42 | unsigned char __shared; | |
| 43 | /* FLAGS must stay at this position in the structure to maintain | |
| 44 | binary compatibility. */ | |
| 45 | unsigned char __flags; | |
| 46 | # else | |
| 47 | /* FLAGS must stay at this position in the structure to maintain | |
| 48 | binary compatibility. */ | |
| 49 | unsigned char __flags; | |
| 50 | unsigned char __shared; | |
| 51 | unsigned char __pad1; | |
| 52 | unsigned char __pad2; | |
| 53 | # endif | |
| 54 | int __cur_writer; | |
| 55 | #endif | |
| 56 | }; | |
| 57 | ||
| 58 | #if _MIPS_SIM == _ABI64 | |
| 59 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 60 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags | |
| 61 | #else | |
| 62 | # if __BYTE_ORDER == __BIG_ENDIAN | |
| 63 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 64 | 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags, 0 | |
| 65 | # else | |
| 66 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 67 | 0, 0, 0, 0, 0, 0, __flags, 0, 0, 0, 0 | |
| 68 | # endif | |
| 69 | #endif | |
| 70 | ||
| 71 | #endif | |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/sys_errlist.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Declare sys_errlist and sys_nerr, or don't. Compatibility (do) version. |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _STDIO_H |
| 20 | 20 | # error "Never include <bits/sys_errlist.h> directly; use <stdio.h> instead." |
lib/libc/include/generic-glibc/bits/syscall.h+10-2| ... | ... | @@ -1,11 +1,11 @@ |
| 1 | 1 | /* Generated at libc build time from syscall list. */ |
| 2 | /* The system call list corresponds to kernel 5.2. */ | |
| 2 | /* The system call list corresponds to kernel 5.4. */ | |
| 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 328192 | |
| 8 | #define __GLIBC_LINUX_VERSION_CODE 328704 | |
| 9 | 9 | |
| 10 | 10 | #ifdef __NR_FAST_atomic_update |
| 11 | 11 | # define SYS_FAST_atomic_update __NR_FAST_atomic_update |
| ... | ... | @@ -207,6 +207,10 @@ |
| 207 | 207 | # define SYS_clone2 __NR_clone2 |
| 208 | 208 | #endif |
| 209 | 209 | |
| 210 | #ifdef __NR_clone3 | |
| 211 | # define SYS_clone3 __NR_clone3 | |
| 212 | #endif | |
| 213 | ||
| 210 | 214 | #ifdef __NR_close |
| 211 | 215 | # define SYS_close __NR_close |
| 212 | 216 | #endif |
| ... | ... | @@ -1547,6 +1551,10 @@ |
| 1547 | 1551 | # define SYS_personality __NR_personality |
| 1548 | 1552 | #endif |
| 1549 | 1553 | |
| 1554 | #ifdef __NR_pidfd_open | |
| 1555 | # define SYS_pidfd_open __NR_pidfd_open | |
| 1556 | #endif | |
| 1557 | ||
| 1550 | 1558 | #ifdef __NR_pidfd_send_signal |
| 1551 | 1559 | # define SYS_pidfd_send_signal __NR_pidfd_send_signal |
| 1552 | 1560 | #endif |
lib/libc/include/generic-glibc/bits/syslog-ldbl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* -mlong-double-64 compatibility mode for syslog functions. |
| 2 | Copyright (C) 2006-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SYSLOG_H |
| 20 | 20 | # error "Never include <bits/syslog-ldbl.h> directly; use <sys/syslog.h> instead." |
lib/libc/include/generic-glibc/bits/syslog-path.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* <bits/syslog-path.h> -- _PATH_LOG definition |
| 2 | Copyright (C) 2006-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SYSLOG_H |
| 20 | 20 | # error "Never include this file directly. Use <sys/syslog.h> instead" |
lib/libc/include/generic-glibc/bits/syslog.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Checking macros for syslog functions. |
| 2 | Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SYSLOG_H |
| 20 | 20 | # error "Never include <bits/syslog.h> directly; use <sys/syslog.h> instead." |
lib/libc/include/generic-glibc/bits/sysmacros.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions of macros to access `dev_t' values. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SYSMACROS_H |
| 20 | 20 | #define _BITS_SYSMACROS_H 1 |
lib/libc/include/generic-glibc/bits/termios-baud.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios baud rate selection definitions. Linux/generic version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-baud.h> directly; use <termios.h> instead." |
lib/libc/include/generic-glibc/bits/termios-c_cc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios c_cc symbolic constant definitions. Linux/generic version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios_c_cc.h> directly; use <termios.h> instead." |
lib/libc/include/generic-glibc/bits/termios-c_cflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios control mode definitions. Linux/generic version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cflag.h> directly; use <termios.h> instead." |
lib/libc/include/generic-glibc/bits/termios-c_iflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios input mode definitions. Linux/generic version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-ciflags.h> directly; use <termios.h> instead." |
lib/libc/include/generic-glibc/bits/termios-c_lflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/generic version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_lflag.h> directly; use <termios.h> instead." |
lib/libc/include/generic-glibc/bits/termios-c_oflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios output mode definitions. Linux/generic version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_oflag.h> directly; use <termios.h> instead." |
lib/libc/include/generic-glibc/bits/termios-misc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios baud platform specific definitions. Linux/generic version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-misc.h> directly; use <termios.h> instead." |
lib/libc/include/generic-glibc/bits/termios-struct.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* struct termios definition. Linux/generic version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-struct.h> directly; use <termios.h> instead." |
lib/libc/include/generic-glibc/bits/termios-tcflow.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios tcflag symbolic contants definitions. Linux/generic version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-tcflow.h> directly; use <termios.h> instead." |
lib/libc/include/generic-glibc/bits/termios.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios type and macro definitions. Linux version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios.h> directly; use <termios.h> instead." |
lib/libc/include/generic-glibc/bits/thread-shared-types.h+34-113| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Common threading primitives definitions for both POSIX and C11. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _THREAD_SHARED_TYPES_H |
| 20 | 20 | #define _THREAD_SHARED_TYPES_H 1 |
| ... | ... | @@ -32,36 +32,6 @@ |
| 32 | 32 | __SIZEOF_PTHREAD_BARRIER_T - size of pthread_barrier_t. |
| 33 | 33 | __SIZEOF_PTHREAD_BARRIERATTR_T - size of pthread_barrierattr_t. |
| 34 | 34 | |
| 35 | Also, the following macros must be define for internal pthread_mutex_t | |
| 36 | struct definitions (struct __pthread_mutex_s): | |
| 37 | ||
| 38 | __PTHREAD_COMPAT_PADDING_MID - any additional members after 'kind' | |
| 39 | 				 and before '__spin' (for 64 bits) or | |
| 40 | 				 '__nusers' (for 32 bits). | |
| 41 | __PTHREAD_COMPAT_PADDING_END - any additional members at the end of | |
| 42 | 				 the internal structure. | |
| 43 | __PTHREAD_MUTEX_LOCK_ELISION - 1 if the architecture supports lock | |
| 44 | 				 elision or 0 otherwise. | |
| 45 | __PTHREAD_MUTEX_NUSERS_AFTER_KIND - control where to put __nusers. The | |
| 46 | 				 preferred value for new architectures | |
| 47 | 				 is 0. | |
| 48 | __PTHREAD_MUTEX_USE_UNION - control whether internal __spins and | |
| 49 | 				 __list will be place inside a union for | |
| 50 | 				 linuxthreads compatibility. | |
| 51 | 				 The preferred value for new architectures | |
| 52 | 				 is 0. | |
| 53 | ||
| 54 | For a new port the preferred values for the required defines are: | |
| 55 | ||
| 56 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 57 | #define __PTHREAD_COMPAT_PADDING_END | |
| 58 | #define __PTHREAD_MUTEX_LOCK_ELISION 0 | |
| 59 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 0 | |
| 60 | #define __PTHREAD_MUTEX_USE_UNION 0 | |
| 61 | ||
| 62 | __PTHREAD_MUTEX_LOCK_ELISION can be set to 1 if the hardware plans to | |
| 63 | eventually support lock elision using transactional memory. | |
| 64 | ||
| 65 | 35 | The additional macro defines any constraint for the lock alignment |
| 66 | 36 | inside the thread structures: |
| 67 | 37 | |
| ... | ... | @@ -69,101 +39,52 @@ |
| 69 | 39 | |
| 70 | 40 | Same idea but for the once locking primitive: |
| 71 | 41 | |
| 72 | __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition. | |
| 42 | __ONCE_ALIGNMENT - for pthread_once_t/once_flag definition. */ | |
| 73 | 43 | |
| 74 | And finally the internal pthread_rwlock_t (struct __pthread_rwlock_arch_t) | |
| 75 | must be defined. | |
| 76 | */ | |
| 77 | 44 | #include <bits/pthreadtypes-arch.h> |
| 78 | 45 | |
| 46 | ||
| 79 | 47 | /* Common definition of pthread_mutex_t. */ |
| 80 | 48 | |
| 81 | #if !__PTHREAD_MUTEX_USE_UNION | |
| 82 | 49 | typedef struct __pthread_internal_list |
| 83 | 50 | { |
| 84 | 51 | struct __pthread_internal_list *__prev; |
| 85 | 52 | struct __pthread_internal_list *__next; |
| 86 | 53 | } __pthread_list_t; |
| 87 | #else | |
| 54 | ||
| 88 | 55 | typedef struct __pthread_internal_slist |
| 89 | 56 | { |
| 90 | 57 | struct __pthread_internal_slist *__next; |
| 91 | 58 | } __pthread_slist_t; |
| 92 | #endif | |
| 93 | ||
| 94 | /* Lock elision support. */ | |
| 95 | #if __PTHREAD_MUTEX_LOCK_ELISION | |
| 96 | # if !__PTHREAD_MUTEX_USE_UNION | |
| 97 | # define __PTHREAD_SPINS_DATA	\ | |
| 98 | short __spins;		\ | |
| 99 | short __elision | |
| 100 | # define __PTHREAD_SPINS 0, 0 | |
| 101 | # else | |
| 102 | # define __PTHREAD_SPINS_DATA	\ | |
| 103 | struct			\ | |
| 104 | {				\ | |
| 105 | short __espins;		\ | |
| 106 | short __eelision;		\ | |
| 107 | } __elision_data | |
| 108 | # define __PTHREAD_SPINS { 0, 0 } | |
| 109 | # define __spins __elision_data.__espins | |
| 110 | # define __elision __elision_data.__eelision | |
| 111 | # endif | |
| 112 | #else | |
| 113 | # define __PTHREAD_SPINS_DATA int __spins | |
| 114 | /* Mutex __spins initializer used by PTHREAD_MUTEX_INITIALIZER. */ | |
| 115 | # define __PTHREAD_SPINS 0 | |
| 116 | #endif | |
| 117 | ||
| 118 | struct __pthread_mutex_s | |
| 119 | { | |
| 120 | int __lock __LOCK_ALIGNMENT; | |
| 121 | unsigned int __count; | |
| 122 | int __owner; | |
| 123 | #if !__PTHREAD_MUTEX_NUSERS_AFTER_KIND | |
| 124 | unsigned int __nusers; | |
| 125 | #endif | |
| 126 | /* KIND must stay at this position in the structure to maintain | |
| 127 | binary compatibility with static initializers. | |
| 128 | ||
| 129 | Concurrency notes: | |
| 130 | The __kind of a mutex is initialized either by the static | |
| 131 | PTHREAD_MUTEX_INITIALIZER or by a call to pthread_mutex_init. | |
| 132 | ||
| 133 | After a mutex has been initialized, the __kind of a mutex is usually not | |
| 134 | changed. BUT it can be set to -1 in pthread_mutex_destroy or elision can | |
| 135 | be enabled. This is done concurrently in the pthread_mutex_*lock functions | |
| 136 | by using the macro FORCE_ELISION. This macro is only defined for | |
| 137 | architectures which supports lock elision. | |
| 138 | ||
| 139 | For elision, there are the flags PTHREAD_MUTEX_ELISION_NP and | |
| 140 | PTHREAD_MUTEX_NO_ELISION_NP which can be set in addition to the already set | |
| 141 | type of a mutex. | |
| 142 | Before a mutex is initialized, only PTHREAD_MUTEX_NO_ELISION_NP can be set | |
| 143 | with pthread_mutexattr_settype. | |
| 144 | After a mutex has been initialized, the functions pthread_mutex_*lock can | |
| 145 | enable elision - if the mutex-type and the machine supports it - by setting | |
| 146 | the flag PTHREAD_MUTEX_ELISION_NP. This is done concurrently. Afterwards | |
| 147 | the lock / unlock functions are using specific elision code-paths. */ | |
| 148 | int __kind; | |
| 149 | __PTHREAD_COMPAT_PADDING_MID | |
| 150 | #if __PTHREAD_MUTEX_NUSERS_AFTER_KIND | |
| 151 | unsigned int __nusers; | |
| 152 | #endif | |
| 153 | #if !__PTHREAD_MUTEX_USE_UNION | |
| 154 | __PTHREAD_SPINS_DATA; | |
| 155 | __pthread_list_t __list; | |
| 156 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 157 | #else | |
| 158 | __extension__ union | |
| 159 | { | |
| 160 | __PTHREAD_SPINS_DATA; | |
| 161 | __pthread_slist_t __list; | |
| 162 | }; | |
| 163 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 164 | #endif | |
| 165 | __PTHREAD_COMPAT_PADDING_END | |
| 166 | }; | |
| 59 | ||
| 60 | /* Arch-specific mutex definitions. A generic implementation is provided | |
| 61 | by sysdeps/nptl/bits/struct_mutex.h. If required, an architecture | |
| 62 | can override it by defining: | |
| 63 | ||
| 64 | 1. struct __pthread_mutex_s (used on both pthread_mutex_t and mtx_t | |
| 65 | definition). It should contains at least the internal members | |
| 66 | defined in the generic version. | |
| 67 | ||
| 68 | 2. __LOCK_ALIGNMENT for any extra attribute for internal lock used with | |
| 69 | atomic operations. | |
| 70 | ||
| 71 | 3. The macro __PTHREAD_MUTEX_INITIALIZER used for static initialization. | |
| 72 | It should initialize the mutex internal flag. */ | |
| 73 | ||
| 74 | #include <bits/struct_mutex.h> | |
| 75 | ||
| 76 | /* Arch-sepecific read-write lock definitions. A generic implementation is | |
| 77 | provided by struct_rwlock.h. If required, an architecture can override it | |
| 78 | by defining: | |
| 79 | ||
| 80 | 1. struct __pthread_rwlock_arch_t (used on pthread_rwlock_t definition). | |
| 81 | It should contain at least the internal members defined in the | |
| 82 | generic version. | |
| 83 | ||
| 84 | 2. The macro __PTHREAD_RWLOCK_INITIALIZER used for static initialization. | |
| 85 | It should initialize the rwlock internal type. */ | |
| 86 | ||
| 87 | #include <bits/struct_rwlock.h> | |
| 167 | 88 | |
| 168 | 89 | |
| 169 | 90 | /* Common definition of pthread_cond_t. */ |
lib/libc/include/generic-glibc/bits/time.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System-dependent timing definitions. Linux version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | * Never include this file directly; use <time.h> instead. |
lib/libc/include/generic-glibc/bits/time64.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/time64.h -- underlying types for __time64_t. Generic version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_TYPES_H |
| 20 | 20 | # error "Never include <bits/time64.h> directly; use <sys/types.h> instead." |
lib/libc/include/generic-glibc/bits/timerfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_TIMERFD_H |
| 19 | 19 | # error "Never use <bits/timerfd.h> directly; include <sys/timerfd.h> instead." |
lib/libc/include/generic-glibc/bits/timesize.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit size of the time_t type at glibc build time, general case. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #include <bits/wordsize.h> |
| 20 | 20 |
lib/libc/include/generic-glibc/bits/timex.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_BITS_TIMEX_H |
| 19 | 19 | #define	_BITS_TIMEX_H	1 |
lib/libc/include/generic-glibc/bits/types.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/types.h -- definitions of __*_t types underlying *_t types. |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | * Never include this file directly; use <sys/types.h> instead. |
lib/libc/include/generic-glibc/bits/types/__locale_t.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definition of struct __locale_struct and __locale_t. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _BITS_TYPES___LOCALE_T_H |
| 21 | 21 | #define _BITS_TYPES___LOCALE_T_H 1 |
lib/libc/include/generic-glibc/bits/types/__sigval_t.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define __sigval_t. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef ____sigval_t_defined |
| 20 | 20 | #define ____sigval_t_defined |
lib/libc/include/generic-glibc/bits/types/cookie_io_functions_t.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef __cookie_io_functions_t_defined |
| 19 | 19 | #define __cookie_io_functions_t_defined 1 |
lib/libc/include/generic-glibc/bits/types/error_t.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define error_t. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __error_t_defined |
| 20 | 20 | # define __error_t_defined 1 |
lib/libc/include/generic-glibc/bits/types/locale_t.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definition of locale_t. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_TYPES_LOCALE_T_H |
| 20 | 20 | #define _BITS_TYPES_LOCALE_T_H 1 |
lib/libc/include/generic-glibc/bits/types/stack_t.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define stack_t. Linux version. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __stack_t_defined |
| 20 | 20 | #define __stack_t_defined 1 |
lib/libc/include/generic-glibc/bits/types/struct_FILE.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef __struct_FILE_defined |
| 19 | 19 | #define __struct_FILE_defined 1 |
lib/libc/include/generic-glibc/bits/types/struct_iovec.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define struct iovec. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __iovec_defined |
| 20 | 20 | #define __iovec_defined 1 |
lib/libc/include/generic-glibc/bits/types/struct_rusage.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define struct rusage. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __rusage_defined |
| 20 | 20 | #define __rusage_defined 1 |
lib/libc/include/generic-glibc/bits/types/struct_sched_param.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Sched parameter structure. Generic version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_TYPES_STRUCT_SCHED_PARAM |
| 20 | 20 | #define _BITS_TYPES_STRUCT_SCHED_PARAM 1 |
lib/libc/include/generic-glibc/bits/types/struct_sigstack.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define struct sigstack. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __sigstack_defined |
| 20 | 20 | #define __sigstack_defined 1 |
lib/libc/include/generic-glibc/bits/types/struct_statx.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definition of the generic version of struct statx. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_STAT_H |
| 20 | 20 | # error Never include <bits/types/struct_statx.h> directly, include <sys/stat.h> instead. |
lib/libc/include/generic-glibc/bits/types/struct_statx_timestamp.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definition of the generic version of struct statx_timestamp. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_STAT_H |
| 20 | 20 | # error Never include <bits/types/struct_statx_timestamp.h> directly, include <sys/stat.h> instead. |
lib/libc/include/generic-glibc/bits/types/struct_timespec.h+13| ... | ... | @@ -3,13 +3,26 @@ |
| 3 | 3 | #define _STRUCT_TIMESPEC 1 |
| 4 | 4 | |
| 5 | 5 | #include <bits/types.h> |
| 6 | #include <bits/endian.h> | |
| 6 | 7 | |
| 7 | 8 | /* POSIX.1b structure for a time value. This is like a `struct timeval' but |
| 8 | 9 | has nanoseconds instead of microseconds. */ |
| 9 | 10 | struct timespec |
| 10 | 11 | { |
| 11 | 12 | __time_t tv_sec;		/* Seconds. */ |
| 13 | #if __WORDSIZE == 64 \ | |
| 14 | || (defined __SYSCALL_WORDSIZE && __SYSCALL_WORDSIZE == 64) \ | |
| 15 | || __TIMESIZE == 32 | |
| 12 | 16 | __syscall_slong_t tv_nsec;	/* Nanoseconds. */ |
| 17 | #else | |
| 18 | # if __BYTE_ORDER == __BIG_ENDIAN | |
| 19 | int: 32; /* Padding. */ | |
| 20 | long int tv_nsec; /* Nanoseconds. */ | |
| 21 | # else | |
| 22 | long int tv_nsec; /* Nanoseconds. */ | |
| 23 | int: 32; /* Padding. */ | |
| 24 | # endif | |
| 25 | #endif | |
| 13 | 26 | }; |
| 14 | 27 | |
| 15 | 28 | #endif |
| \ No newline at end of file |
lib/libc/include/generic-glibc/bits/typesizes.h+7-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/typesizes.h -- underlying types for *_t. Generic version. |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_TYPES_H |
| 20 | 20 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." |
| ... | ... | @@ -72,8 +72,13 @@ |
| 72 | 72 | |
| 73 | 73 | /* And for rlim_t and rlim64_t. */ |
| 74 | 74 | # define __RLIM_T_MATCHES_RLIM64_T	1 |
| 75 | ||
| 76 | /* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */ | |
| 77 | # define __STATFS_MATCHES_STATFS64 1 | |
| 75 | 78 | #else |
| 76 | 79 | # define __RLIM_T_MATCHES_RLIM64_T	0 |
| 80 | ||
| 81 | # define __STATFS_MATCHES_STATFS64 0 | |
| 77 | 82 | #endif |
| 78 | 83 | |
| 79 | 84 | /* Number of descriptors that can fit in an `fd_set'. */ |
lib/libc/include/generic-glibc/bits/uintn-identity.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Inline functions to return unsigned integer values unchanged. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined _NETINET_IN_H && !defined _ENDIAN_H |
| 20 | 20 | # error "Never use <bits/uintn-identity.h> directly; include <netinet/in.h> or <endian.h> instead." |
lib/libc/include/generic-glibc/bits/uio-ext.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Operating system-specific extensions to sys/uio.h - Linux version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_UIO_EXT_H |
| 20 | 20 | #define _BITS_UIO_EXT_H 1 |
lib/libc/include/generic-glibc/bits/uio_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Implementation limits related to sys/uio.h - Linux version. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_UIO_LIM_H |
| 20 | 20 | #define _BITS_UIO_LIM_H 1 |
lib/libc/include/generic-glibc/bits/unistd.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Checking macros for unistd functions. |
| 2 | Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _UNISTD_H |
| 20 | 20 | # error "Never include <bits/unistd.h> directly; use <unistd.h> instead." |
lib/libc/include/generic-glibc/bits/unistd_ext.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System-specific extensions of <unistd.h>, Linux version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _UNISTD_H |
| 20 | 20 | # error "Never include <bits/unistd_ext.h> directly; use <unistd.h> instead." |
lib/libc/include/generic-glibc/bits/utmp.h+5-4| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | /* The `struct utmp' type, describing entries in the utmp file. GNU version. | |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 1 | /* The `struct utmp' type, describing entries in the utmp file. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _UTMP_H |
| 20 | 20 | # error "Never include <bits/utmp.h> directly; use <utmp.h> instead." |
| ... | ... | @@ -61,7 +61,8 @@ struct utmp |
| 61 | 61 | pid_t ut_pid;			/* Process ID of login process. */ |
| 62 | 62 | char ut_line[UT_LINESIZE] |
| 63 | 63 | __attribute_nonstring__;	/* Devicename. */ |
| 64 | char ut_id[4];		/* Inittab ID. */ | |
| 64 | char ut_id[4] | |
| 65 | __attribute_nonstring__;	/* Inittab ID. */ | |
| 65 | 66 | char ut_user[UT_NAMESIZE] |
| 66 | 67 | __attribute_nonstring__;	/* Username. */ |
| 67 | 68 | char ut_host[UT_HOSTSIZE] |
lib/libc/include/generic-glibc/bits/utmpx.h+10-6| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structures and definitions for the user accounting database. GNU version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _UTMPX_H |
| 20 | 20 | # error "Never include <bits/utmpx.h> directly; use <utmpx.h> instead." |
| ... | ... | @@ -56,10 +56,14 @@ struct utmpx |
| 56 | 56 | { |
| 57 | 57 | short int ut_type;		/* Type of login. */ |
| 58 | 58 | __pid_t ut_pid;		/* Process ID of login process. */ |
| 59 | char ut_line[__UT_LINESIZE];	/* Devicename. */ | |
| 60 | char ut_id[4];		/* Inittab ID. */ | |
| 61 | char ut_user[__UT_NAMESIZE];	/* Username. */ | |
| 62 | char ut_host[__UT_HOSTSIZE];	/* Hostname for remote login. */ | |
| 59 | char ut_line[__UT_LINESIZE] | |
| 60 | __attribute_nonstring__;	/* Devicename. */ | |
| 61 | char ut_id[4] | |
| 62 | __attribute_nonstring__;	/* Inittab ID. */ | |
| 63 | char ut_user[__UT_NAMESIZE] | |
| 64 | __attribute_nonstring__;	/* Username. */ | |
| 65 | char ut_host[__UT_HOSTSIZE] | |
| 66 | __attribute_nonstring__;	/* Hostname for remote login. */ | |
| 63 | 67 | struct __exit_status ut_exit;	/* Exit status of a process marked |
| 64 | 68 | 				 as DEAD_PROCESS. */ |
| 65 | 69 |
lib/libc/include/generic-glibc/bits/utsname.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_UTSNAME_H |
| 19 | 19 | # error "Never include <bits/utsname.h> directly; use <sys/utsname.h> instead." |
lib/libc/include/generic-glibc/bits/waitflags.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions of flag bits for `waitpid' et al. |
| 2 | Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined _SYS_WAIT_H && !defined _STDLIB_H |
| 20 | 20 | # error "Never include <bits/waitflags.h> directly; use <sys/wait.h> instead." |
lib/libc/include/generic-glibc/bits/waitstatus.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions of status bits for `wait' et al. |
| 2 | Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined _SYS_WAIT_H && !defined _STDLIB_H |
| 20 | 20 | # error "Never include <bits/waitstatus.h> directly; use <sys/wait.h> instead." |
lib/libc/include/generic-glibc/bits/wchar-ldbl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* -mlong-double-64 compatibility mode for <wchar.h> functions. |
| 2 | Copyright (C) 2006-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2006-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _WCHAR_H |
| 20 | 20 | # error "Never include <bits/wchar-ldbl.h> directly; use <wchar.h> instead." |
lib/libc/include/generic-glibc/bits/wchar.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* wchar_t type related definitions. |
| 2 | Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_WCHAR_H |
| 20 | 20 | #define _BITS_WCHAR_H	1 |
lib/libc/include/generic-glibc/bits/wchar2.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Checking macros for wchar functions. |
| 2 | Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _WCHAR_H |
| 20 | 20 | # error "Never include <bits/wchar2.h> directly; use <wchar.h> instead." |
lib/libc/include/generic-glibc/bits/wctype-wchar.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard: 7.25 |
| ... | ... | @@ -42,7 +42,7 @@ typedef unsigned long int wctype_t; |
| 42 | 42 | endian). We define the bit value interpretations here dependent on the |
| 43 | 43 | machine's byte order. */ |
| 44 | 44 | |
| 45 | # include <endian.h> | |
| 45 | # include <bits/endian.h> | |
| 46 | 46 | # if __BYTE_ORDER == __BIG_ENDIAN |
| 47 | 47 | # define _ISwbit(bit)	(1 << (bit)) |
| 48 | 48 | # else /* __BYTE_ORDER == __LITTLE_ENDIAN */ |
lib/libc/include/generic-glibc/bits/wordsize.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #include <sgidefs.h> |
| 19 | 19 |
lib/libc/include/generic-glibc/bits/xopen_lim.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | * Never include this file directly; use <limits.h> instead. |
lib/libc/include/generic-glibc/byteswap.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BYTESWAP_H |
| 19 | 19 | #define _BYTESWAP_H	1 |
lib/libc/include/generic-glibc/complex.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99: 7.3 Complex arithmetic	<complex.h> |
lib/libc/include/generic-glibc/cpio.h+2-2| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | /* Extended cpio format from POSIX.1. |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 3 | Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 4 | 4 | NOTE: The canonical source of this file is maintained with the GNU cpio. |
| 5 | 5 | |
| 6 | 6 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _CPIO_H |
| 21 | 21 | #define _CPIO_H 1 |
lib/libc/include/generic-glibc/crypt.h+2-2| ... | ... | @@ -1,7 +1,7 @@ |
| 1 | 1 | /* |
| 2 | 2 | * UFC-crypt: ultra fast crypt(3) implementation |
| 3 | 3 | * |
| 4 | * Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 4 | * Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 5 | 5 | * |
| 6 | 6 | * The GNU C Library is free software; you can redistribute it and/or |
| 7 | 7 | * modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | * |
| 16 | 16 | * You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | * License along with the GNU C Library; if not, see |
| 18 | * <http://www.gnu.org/licenses/>. | |
| 18 | * <https://www.gnu.org/licenses/>. | |
| 19 | 19 | * |
| 20 | 20 | * @(#)crypt.h	1.5 12/20/96 |
| 21 | 21 | * |
lib/libc/include/generic-glibc/ctype.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard 7.4: Character handling	<ctype.h> |
| ... | ... | @@ -36,7 +36,7 @@ __BEGIN_DECLS |
| 36 | 36 | endian). We define the bit value interpretations here dependent on the |
| 37 | 37 | machine's byte order. */ |
| 38 | 38 | |
| 39 | # include <endian.h> | |
| 39 | # include <bits/endian.h> | |
| 40 | 40 | # if __BYTE_ORDER == __BIG_ENDIAN |
| 41 | 41 | # define _ISbit(bit)	(1 << (bit)) |
| 42 | 42 | # else /* __BYTE_ORDER == __LITTLE_ENDIAN */ |
lib/libc/include/generic-glibc/dirent.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 5.1.2 Directory Operations	<dirent.h> |
lib/libc/include/generic-glibc/dlfcn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* User functions for run-time dynamic loading. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_DLFCN_H |
| 20 | 20 | #define	_DLFCN_H 1 |
lib/libc/include/generic-glibc/elf.h+6-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* This file defines standard ELF types, structures, and macros. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _ELF_H |
| 20 | 20 | #define	_ELF_H 1 |
| ... | ... | @@ -1715,6 +1715,7 @@ typedef struct |
| 1715 | 1715 | #define SHT_MIPS_EH_REGION	0x70000027 |
| 1716 | 1716 | #define SHT_MIPS_XLATE_OLD	0x70000028 |
| 1717 | 1717 | #define SHT_MIPS_PDR_EXCEPTION	0x70000029 |
| 1718 | #define SHT_MIPS_XHASH		0x7000002b | |
| 1718 | 1719 | |
| 1719 | 1720 | /* Legal values for sh_flags field of Elf32_Shdr. */ |
| 1720 | 1721 | |
| ... | ... | @@ -1962,7 +1963,9 @@ typedef struct |
| 1962 | 1963 | in a PIE as it stores a relative offset from the address of the tag |
| 1963 | 1964 | rather than an absolute address. */ |
| 1964 | 1965 | #define DT_MIPS_RLD_MAP_REL 0x70000035 |
| 1965 | #define DT_MIPS_NUM	 0x36 | |
| 1966 | /* GNU-style hash table with xlat. */ | |
| 1967 | #define DT_MIPS_XHASH	 0x70000036 | |
| 1968 | #define DT_MIPS_NUM	 0x37 | |
| 1966 | 1969 | |
| 1967 | 1970 | /* Legal values for DT_MIPS_FLAGS Elf32_Dyn entry. */ |
| 1968 | 1971 |
lib/libc/include/generic-glibc/endian.h+4-29| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,48 +13,23 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_ENDIAN_H |
| 19 | 19 | #define	_ENDIAN_H	1 |
| 20 | 20 | |
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | /* Definitions for byte order, according to significance of bytes, | |
| 24 | from low addresses to high addresses. The value is what you get by | |
| 25 | putting '4' in the most significant byte, '3' in the second most | |
| 26 | significant byte, '2' in the second least significant byte, and '1' | |
| 27 | in the least significant byte, and then writing down one digit for | |
| 28 | each byte, starting with the byte at the lowest address at the left, | |
| 29 | and proceeding to the byte with the highest address at the right. */ | |
| 30 | ||
| 31 | #define	__LITTLE_ENDIAN	1234 | |
| 32 | #define	__BIG_ENDIAN	4321 | |
| 33 | #define	__PDP_ENDIAN	3412 | |
| 34 | ||
| 35 | /* This file defines `__BYTE_ORDER' for the particular machine. */ | |
| 23 | /* Get the definitions of __*_ENDIAN, __BYTE_ORDER, and __FLOAT_WORD_ORDER. */ | |
| 36 | 24 | #include <bits/endian.h> |
| 37 | 25 | |
| 38 | /* Some machines may need to use a different endianness for floating point | |
| 39 | values. */ | |
| 40 | #ifndef __FLOAT_WORD_ORDER | |
| 41 | # define __FLOAT_WORD_ORDER __BYTE_ORDER | |
| 42 | #endif | |
| 43 | ||
| 44 | #ifdef	__USE_MISC | |
| 26 | #ifdef __USE_MISC | |
| 45 | 27 | # define LITTLE_ENDIAN	__LITTLE_ENDIAN |
| 46 | 28 | # define BIG_ENDIAN	__BIG_ENDIAN |
| 47 | 29 | # define PDP_ENDIAN	__PDP_ENDIAN |
| 48 | 30 | # define BYTE_ORDER	__BYTE_ORDER |
| 49 | 31 | #endif |
| 50 | 32 | |
| 51 | #if __BYTE_ORDER == __LITTLE_ENDIAN | |
| 52 | # define __LONG_LONG_PAIR(HI, LO) LO, HI | |
| 53 | #elif __BYTE_ORDER == __BIG_ENDIAN | |
| 54 | # define __LONG_LONG_PAIR(HI, LO) HI, LO | |
| 55 | #endif | |
| 56 | ||
| 57 | ||
| 58 | 33 | #if defined __USE_MISC && !defined __ASSEMBLER__ |
| 59 | 34 | /* Conversion interfaces. */ |
| 60 | 35 | # include <bits/byteswap.h> |
lib/libc/include/generic-glibc/envz.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Routines for dealing with '\0' separated environment vectors |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _ENVZ_H |
| 20 | 20 | #define _ENVZ_H	1 |
lib/libc/include/generic-glibc/err.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* 4.4BSD utility functions for error messages. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_ERR_H |
| 20 | 20 | #define	_ERR_H	1 |
lib/libc/include/generic-glibc/errno.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard: 7.5 Errors	<errno.h> |
lib/libc/include/generic-glibc/error.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Declaration for error-reporting function |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _ERROR_H |
| 20 | 20 | #define _ERROR_H 1 |
lib/libc/include/generic-glibc/execinfo.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _EXECINFO_H |
| 19 | 19 | #define _EXECINFO_H 1 |
lib/libc/include/generic-glibc/fcntl.h+3-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 6.5 File Control Operations	<fcntl.h> |
| ... | ... | @@ -161,6 +161,7 @@ typedef __pid_t pid_t; |
| 161 | 161 | # define AT_STATX_SYNC_AS_STAT	0x0000 |
| 162 | 162 | # define AT_STATX_FORCE_SYNC	0x2000 |
| 163 | 163 | # define AT_STATX_DONT_SYNC	0x4000 |
| 164 | # define AT_RECURSIVE		0x8000	/* Apply to the entire subtree. */ | |
| 164 | 165 | # endif |
| 165 | 166 | # define AT_EACCESS		0x200	/* Test access permitted for |
| 166 | 167 | 					 effective IDs, not real IDs. */ |
lib/libc/include/generic-glibc/features.h+21-6| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_FEATURES_H |
| 19 | 19 | #define	_FEATURES_H	1 |
| ... | ... | @@ -24,6 +24,7 @@ |
| 24 | 24 | __STRICT_ANSI__	ISO Standard C. |
| 25 | 25 | _ISOC99_SOURCE	Extensions to ISO C89 from ISO C99. |
| 26 | 26 | _ISOC11_SOURCE	Extensions to ISO C99 from ISO C11. |
| 27 | _ISOC2X_SOURCE	Extensions to ISO C99 from ISO C2X. | |
| 27 | 28 | __STDC_WANT_LIB_EXT2__ |
| 28 | 29 | 			Extensions to ISO C99 from TR 27431-2:2010. |
| 29 | 30 | __STDC_WANT_IEC_60559_BFP_EXT__ |
| ... | ... | @@ -139,6 +140,7 @@ |
| 139 | 140 | #undef	__USE_GNU |
| 140 | 141 | #undef	__USE_FORTIFY_LEVEL |
| 141 | 142 | #undef	__KERNEL_STRICT_NAMES |
| 143 | #undef	__GLIBC_USE_ISOC2X | |
| 142 | 144 | #undef	__GLIBC_USE_DEPRECATED_GETS |
| 143 | 145 | #undef	__GLIBC_USE_DEPRECATED_SCANF |
| 144 | 146 | |
| ... | ... | @@ -195,6 +197,8 @@ |
| 195 | 197 | # define _ISOC99_SOURCE	1 |
| 196 | 198 | # undef _ISOC11_SOURCE |
| 197 | 199 | # define _ISOC11_SOURCE	1 |
| 200 | # undef _ISOC2X_SOURCE | |
| 201 | # define _ISOC2X_SOURCE	1 | |
| 198 | 202 | # undef _POSIX_SOURCE |
| 199 | 203 | # define _POSIX_SOURCE	1 |
| 200 | 204 | # undef _POSIX_C_SOURCE |
| ... | ... | @@ -216,26 +220,37 @@ |
| 216 | 220 | #if (defined _DEFAULT_SOURCE					\ |
| 217 | 221 | || (!defined __STRICT_ANSI__				\ |
| 218 | 222 | 	 && !defined _ISOC99_SOURCE && !defined _ISOC11_SOURCE	\ |
| 223 | 	 && !defined _ISOC2X_SOURCE				\ | |
| 219 | 224 | 	 && !defined _POSIX_SOURCE && !defined _POSIX_C_SOURCE	\ |
| 220 | 225 | 	 && !defined _XOPEN_SOURCE)) |
| 221 | 226 | # undef _DEFAULT_SOURCE |
| 222 | 227 | # define _DEFAULT_SOURCE	1 |
| 223 | 228 | #endif |
| 224 | 229 | |
| 230 | /* This is to enable the ISO C2X extension. */ | |
| 231 | #if (defined _ISOC2X_SOURCE \ | |
| 232 | || (defined __STDC_VERSION__ && __STDC_VERSION__ > 201710L)) | |
| 233 | # define __GLIBC_USE_ISOC2X	1 | |
| 234 | #else | |
| 235 | # define __GLIBC_USE_ISOC2X	0 | |
| 236 | #endif | |
| 237 | ||
| 225 | 238 | /* This is to enable the ISO C11 extension. */ |
| 226 | #if (defined _ISOC11_SOURCE \ | |
| 239 | #if (defined _ISOC11_SOURCE || defined _ISOC2X_SOURCE \ | |
| 227 | 240 | || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 201112L)) |
| 228 | 241 | # define __USE_ISOC11	1 |
| 229 | 242 | #endif |
| 230 | 243 | |
| 231 | 244 | /* This is to enable the ISO C99 extension. */ |
| 232 | #if (defined _ISOC99_SOURCE || defined _ISOC11_SOURCE \ | |
| 245 | #if (defined _ISOC99_SOURCE || defined _ISOC11_SOURCE			\ | |
| 246 | || defined _ISOC2X_SOURCE						\ | |
| 233 | 247 | || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)) |
| 234 | 248 | # define __USE_ISOC99	1 |
| 235 | 249 | #endif |
| 236 | 250 | |
| 237 | 251 | /* This is to enable the ISO C90 Amendment 1:1995 extension. */ |
| 238 | #if (defined _ISOC99_SOURCE || defined _ISOC11_SOURCE \ | |
| 252 | #if (defined _ISOC99_SOURCE || defined _ISOC11_SOURCE			\ | |
| 253 | || defined _ISOC2X_SOURCE						\ | |
| 239 | 254 | || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199409L)) |
| 240 | 255 | # define __USE_ISOC95	1 |
| 241 | 256 | #endif |
| ... | ... | @@ -439,7 +454,7 @@ |
| 439 | 454 | /* Major and minor version number of the GNU C library package. Use |
| 440 | 455 | these macros to test for features in specific releases. */ |
| 441 | 456 | #define	__GLIBC__	2 |
| 442 | #define	__GLIBC_MINOR__	30 | |
| 457 | #define	__GLIBC_MINOR__	31 | |
| 443 | 458 | |
| 444 | 459 | #define __GLIBC_PREREQ(maj, min) \ |
| 445 | 460 | 	((__GLIBC__ << 16) + __GLIBC_MINOR__ >= ((maj) << 16) + (min)) |
lib/libc/include/generic-glibc/fenv.h+6-6| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | * ISO C99 7.6: Floating-point environment	<fenv.h> |
| ... | ... | @@ -77,7 +77,7 @@ extern int fegetexceptflag (fexcept_t *__flagp, int __excepts) __THROW; |
| 77 | 77 | /* Raise the supported exceptions represented by EXCEPTS. */ |
| 78 | 78 | extern int feraiseexcept (int __excepts) __THROW; |
| 79 | 79 | |
| 80 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 80 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 81 | 81 | /* Set the supported exception flags represented by EXCEPTS, without |
| 82 | 82 | causing enabled traps to be taken. */ |
| 83 | 83 | extern int fesetexcept (int __excepts) __THROW; |
| ... | ... | @@ -91,7 +91,7 @@ extern int fesetexceptflag (const fexcept_t *__flagp, int __excepts) __THROW; |
| 91 | 91 | currently set. */ |
| 92 | 92 | extern int fetestexcept (int __excepts) __THROW; |
| 93 | 93 | |
| 94 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 94 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 95 | 95 | /* Determine which of subset of the exceptions specified by EXCEPTS |
| 96 | 96 | are set in *FLAGP. */ |
| 97 | 97 | extern int fetestexceptflag (const fexcept_t *__flagp, int __excepts) __THROW; |
| ... | ... | @@ -130,7 +130,7 @@ extern int feupdateenv (const fenv_t *__envp) __THROW; |
| 130 | 130 | |
| 131 | 131 | /* Control modes. */ |
| 132 | 132 | |
| 133 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 133 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 134 | 134 | /* Store the current floating-point control modes in the object |
| 135 | 135 | pointed to by MODEP. */ |
| 136 | 136 | extern int fegetmode (femode_t *__modep) __THROW; |
| ... | ... | @@ -147,7 +147,7 @@ extern int fesetmode (const femode_t *__modep) __THROW; |
| 147 | 147 | |
| 148 | 148 | /* NaN support. */ |
| 149 | 149 | |
| 150 | #if (__GLIBC_USE (IEC_60559_BFP_EXT)		\ | |
| 150 | #if (__GLIBC_USE (IEC_60559_BFP_EXT_C2X)		\ | |
| 151 | 151 | && defined FE_INVALID			\ |
| 152 | 152 | && defined __SUPPORT_SNAN__) |
| 153 | 153 | # define FE_SNANS_ALWAYS_SIGNAL	1 |
lib/libc/include/generic-glibc/finclude/math-vector-fortran.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- |
| 2 | ! Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | ! Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | ! This file is part of the GNU C Library. |
| 4 | 4 | ! |
| 5 | 5 | ! The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,6 +14,6 @@ |
| 14 | 14 | ! |
| 15 | 15 | ! You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | ! License along with the GNU C Library; if not, see |
| 17 | ! <http://www.gnu.org/licenses/>. | |
| 17 | ! <https://www.gnu.org/licenses/>. | |
| 18 | 18 | |
| 19 | 19 | ! No SIMD math functions are available for this platform. |
| \ No newline at end of file |
lib/libc/include/generic-glibc/fmtmsg.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Message display handling. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __FMTMSG_H |
| 20 | 20 | #define __FMTMSG_H	1 |
lib/libc/include/generic-glibc/fnmatch.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_FNMATCH_H |
| 19 | 19 | #define	_FNMATCH_H	1 |
lib/libc/include/generic-glibc/fpregdef.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FPREGDEF_H |
| 19 | 19 | #define _FPREGDEF_H |
lib/libc/include/generic-glibc/fpu_control.h+2-3| ... | ... | @@ -1,7 +1,6 @@ |
| 1 | 1 | /* FPU control word bits. Mips version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | Contributed by Olaf Flebbe and Ralf Baechle. | |
| 5 | 4 | |
| 6 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| 7 | 6 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -15,7 +14,7 @@ |
| 15 | 14 | |
| 16 | 15 | You should have received a copy of the GNU Lesser General Public |
| 17 | 16 | License along with the GNU C Library. If not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 18 | |
| 20 | 19 | #ifndef _FPU_CONTROL_H |
| 21 | 20 | #define _FPU_CONTROL_H |
lib/libc/include/generic-glibc/fts.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* File tree traversal functions declarations. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | * Copyright (c) 1989, 1993 |
lib/libc/include/generic-glibc/ftw.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	X/Open Portability Guide 4.2: ftw.h |
lib/libc/include/generic-glibc/gconv.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* This header provides no interface for a user to the internals of |
| 19 | 19 | the gconv implementation in the libc. Therefore there is no use |
lib/libc/include/generic-glibc/getopt.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Declarations for getopt. |
| 2 | Copyright (C) 1989-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1989-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Unlike the bulk of the getopt implementation, this file is NOT part |
| 5 | 5 | of gnulib; gnulib also has a getopt.h but it is different. |
| ... | ... | @@ -16,7 +16,7 @@ |
| 16 | 16 | |
| 17 | 17 | You should have received a copy of the GNU Lesser General Public |
| 18 | 18 | License along with the GNU C Library; if not, see |
| 19 | <http://www.gnu.org/licenses/>. */ | |
| 19 | <https://www.gnu.org/licenses/>. */ | |
| 20 | 20 | |
| 21 | 21 | #ifndef _GETOPT_H |
| 22 | 22 | #define _GETOPT_H 1 |
lib/libc/include/generic-glibc/glob.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_GLOB_H |
| 19 | 19 | #define	_GLOB_H	1 |
lib/libc/include/generic-glibc/gnu-versions.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Header with interface version macros for library pieces copied elsewhere. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _GNU_VERSIONS_H |
| 20 | 20 | #define	_GNU_VERSIONS_H	1 |
lib/libc/include/generic-glibc/gnu/libc-version.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Interface to GNU libc specific functions for version information. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _GNU_LIBC_VERSION_H |
| 20 | 20 | #define	_GNU_LIBC_VERSION_H	1 |
lib/libc/include/generic-glibc/grp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 9.2.1 Group Database Access	<grp.h> |
lib/libc/include/generic-glibc/gshadow.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2009-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2009-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Declaration of types and functions for shadow group suite. */ |
| 19 | 19 |
lib/libc/include/generic-glibc/iconv.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _ICONV_H |
| 19 | 19 | #define _ICONV_H	1 |
lib/libc/include/generic-glibc/ieee754.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,14 +13,14 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | 25 | __BEGIN_DECLS |
| 26 | 26 |
lib/libc/include/generic-glibc/ifaddrs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* ifaddrs.h -- declarations for getting network interface addresses |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _IFADDRS_H |
| 20 | 20 | #define _IFADDRS_H	1 |
lib/libc/include/generic-glibc/inttypes.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99: 7.8 Format conversion of integer types	<inttypes.h> |
lib/libc/include/generic-glibc/langinfo.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Access to locale-dependent parameters. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _LANGINFO_H |
| 20 | 20 | #define	_LANGINFO_H 1 |
lib/libc/include/generic-glibc/libgen.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _LIBGEN_H |
| 19 | 19 | #define _LIBGEN_H	1 |
lib/libc/include/generic-glibc/libintl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Message catalogs for internationalization. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | This file is derived from the file libgettext.h in the GNU gettext package. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _LIBINTL_H |
| 21 | 21 | #define _LIBINTL_H	1 |
lib/libc/include/generic-glibc/limits.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard: 7.10/5.2.4.2.1 Sizes of integer types	<limits.h> |
| ... | ... | @@ -142,7 +142,7 @@ |
| 142 | 142 | /* The integer width macros are not defined by GCC's <limits.h> before |
| 143 | 143 | GCC 7, or if _GNU_SOURCE rather than |
| 144 | 144 | __STDC_WANT_IEC_60559_BFP_EXT__ is used to enable this feature. */ |
| 145 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 145 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 146 | 146 | # ifndef CHAR_WIDTH |
| 147 | 147 | # define CHAR_WIDTH 8 |
| 148 | 148 | # endif |
lib/libc/include/generic-glibc/link.h+2-2| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | /* Data structure for communication from the run-time dynamic linker for |
| 2 | 2 | loaded ELF shared objects. |
| 3 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 3 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| 6 | 6 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef	_LINK_H |
| 21 | 21 | #define	_LINK_H	1 |
lib/libc/include/generic-glibc/locale.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard: 7.11 Localization	<locale.h> |
lib/libc/include/generic-glibc/malloc.h+3-4| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Prototypes and definition for malloc implementation. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MALLOC_H |
| 20 | 20 | #define _MALLOC_H 1 |
| ... | ... | @@ -71,8 +71,7 @@ extern void *valloc (size_t __size) __THROW __attribute_malloc__ |
| 71 | 71 | |
| 72 | 72 | /* Equivalent to valloc(minimum-page-that-holds(n)), that is, round up |
| 73 | 73 | __size to nearest pagesize. */ |
| 74 | extern void *pvalloc (size_t __size) __THROW __attribute_malloc__ | |
| 75 | __attribute_alloc_size__ ((1)) __wur; | |
| 74 | extern void *pvalloc (size_t __size) __THROW __attribute_malloc__ __wur; | |
| 76 | 75 | |
| 77 | 76 | /* Underlying allocation function; successive calls should return |
| 78 | 77 | contiguous pieces of memory. */ |
lib/libc/include/generic-glibc/math.h+8-228| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Declarations for math functions. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | *	ISO C99 Standard: 7.12 Mathematics	<math.h> |
| ... | ... | @@ -104,7 +104,7 @@ __BEGIN_DECLS |
| 104 | 104 | # endif |
| 105 | 105 | #endif /* __USE_ISOC99 */ |
| 106 | 106 | |
| 107 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 107 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 108 | 108 | /* Signaling NaN macros, if supported. */ |
| 109 | 109 | # if __GNUC_PREREQ (3, 3) |
| 110 | 110 | # define SNANF (__builtin_nansf ("")) |
| ... | ... | @@ -200,7 +200,7 @@ typedef _Float128x double_t; |
| 200 | 200 | # define FP_ILOGBNAN	2147483647 |
| 201 | 201 | # endif |
| 202 | 202 | #endif |
| 203 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 203 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 204 | 204 | # if __WORDSIZE == 32 |
| 205 | 205 | # define __FP_LONG_MAX 0x7fffffffL |
| 206 | 206 | # else |
| ... | ... | @@ -232,7 +232,7 @@ typedef _Float128x double_t; |
| 232 | 232 | |
| 233 | 233 | #include <bits/fp-fast.h> |
| 234 | 234 | |
| 235 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 235 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 236 | 236 | /* Rounding direction macros for fromfp functions. */ |
| 237 | 237 | enum |
| 238 | 238 | { |
| ... | ... | @@ -495,7 +495,7 @@ extern long double __REDIRECT_NTH (nexttowardl, |
| 495 | 495 | #define __MATHCALL_NARROW(func, redir, nargs)	\ |
| 496 | 496 | __MATHCALL_NARROW_NORMAL (func, nargs) |
| 497 | 497 | |
| 498 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 498 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 499 | 499 | |
| 500 | 500 | # define _Mret_ float |
| 501 | 501 | # define _Marg_ double |
| ... | ... | @@ -969,7 +969,7 @@ enum |
| 969 | 969 | |
| 970 | 970 | #endif /* Use ISO C99. */ |
| 971 | 971 | |
| 972 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 972 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 973 | 973 | # include <bits/iscanonical.h> |
| 974 | 974 | |
| 975 | 975 | /* Return nonzero value if X is a signaling NaN. */ |
| ... | ... | @@ -1245,228 +1245,8 @@ iszero (__T __val) |
| 1245 | 1245 | # include <bits/mathinline.h> |
| 1246 | 1246 | #endif |
| 1247 | 1247 | |
| 1248 | /* Define special entry points to use when the compiler got told to | |
| 1249 | only expect finite results. */ | |
| 1250 | #if defined __FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0 | |
| 1251 | ||
| 1252 | /* Include bits/math-finite.h for double. */ | |
| 1253 | # define _Mdouble_ double | |
| 1254 | # define __MATH_DECLARING_DOUBLE 1 | |
| 1255 | # define __MATH_DECLARING_FLOATN 0 | |
| 1256 | # define __REDIRFROM_X(function, reentrant) \ | |
| 1257 | function ## reentrant | |
| 1258 | # define __REDIRTO_X(function, reentrant) \ | |
| 1259 | __ ## function ## reentrant ## _finite | |
| 1260 | # include <bits/math-finite.h> | |
| 1261 | # undef _Mdouble_ | |
| 1262 | # undef __MATH_DECLARING_DOUBLE | |
| 1263 | # undef __MATH_DECLARING_FLOATN | |
| 1264 | # undef __REDIRFROM_X | |
| 1265 | # undef __REDIRTO_X | |
| 1266 | ||
| 1267 | /* When __USE_ISOC99 is defined, include math-finite for float and | |
| 1268 | long double, as well. */ | |
| 1269 | # ifdef __USE_ISOC99 | |
| 1270 | ||
| 1271 | /* Include bits/math-finite.h for float. */ | |
| 1272 | # define _Mdouble_ float | |
| 1273 | # define __MATH_DECLARING_DOUBLE 0 | |
| 1274 | # define __MATH_DECLARING_FLOATN 0 | |
| 1275 | # define __REDIRFROM_X(function, reentrant) \ | |
| 1276 | function ## f ## reentrant | |
| 1277 | # define __REDIRTO_X(function, reentrant) \ | |
| 1278 | __ ## function ## f ## reentrant ## _finite | |
| 1279 | # include <bits/math-finite.h> | |
| 1280 | # undef _Mdouble_ | |
| 1281 | # undef __MATH_DECLARING_DOUBLE | |
| 1282 | # undef __MATH_DECLARING_FLOATN | |
| 1283 | # undef __REDIRFROM_X | |
| 1284 | # undef __REDIRTO_X | |
| 1285 | ||
| 1286 | /* Include bits/math-finite.h for long double. */ | |
| 1287 | # ifdef __MATH_DECLARE_LDOUBLE | |
| 1288 | # define _Mdouble_ long double | |
| 1289 | # define __MATH_DECLARING_DOUBLE 0 | |
| 1290 | # define __MATH_DECLARING_FLOATN 0 | |
| 1291 | # define __REDIRFROM_X(function, reentrant) \ | |
| 1292 | function ## l ## reentrant | |
| 1293 | # ifdef __NO_LONG_DOUBLE_MATH | |
| 1294 | # define __REDIRTO_X(function, reentrant) \ | |
| 1295 | __ ## function ## reentrant ## _finite | |
| 1296 | # else | |
| 1297 | # define __REDIRTO_X(function, reentrant) \ | |
| 1298 | __ ## function ## l ## reentrant ## _finite | |
| 1299 | # endif | |
| 1300 | # include <bits/math-finite.h> | |
| 1301 | # undef _Mdouble_ | |
| 1302 | # undef __MATH_DECLARING_DOUBLE | |
| 1303 | # undef __MATH_DECLARING_FLOATN | |
| 1304 | # undef __REDIRFROM_X | |
| 1305 | # undef __REDIRTO_X | |
| 1306 | # endif | |
| 1307 | ||
| 1308 | # endif /* __USE_ISOC99. */ | |
| 1309 | ||
| 1310 | /* Include bits/math-finite.h for _FloatN and _FloatNx. */ | |
| 1311 | ||
| 1312 | # if (__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !defined _LIBC))	\ | |
| 1313 | && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| 1314 | # define _Mdouble_ _Float16 | |
| 1315 | # define __MATH_DECLARING_DOUBLE 0 | |
| 1316 | # define __MATH_DECLARING_FLOATN 1 | |
| 1317 | # define __REDIRFROM_X(function, reentrant) \ | |
| 1318 | function ## f16 ## reentrant | |
| 1319 | # if __HAVE_DISTINCT_FLOAT16 | |
| 1320 | # define __REDIRTO_X(function, reentrant) \ | |
| 1321 | __ ## function ## f16 ## reentrant ## _finite | |
| 1322 | # else | |
| 1323 | # error "non-disinct _Float16" | |
| 1324 | # endif | |
| 1325 | # include <bits/math-finite.h> | |
| 1326 | # undef _Mdouble_ | |
| 1327 | # undef __MATH_DECLARING_DOUBLE | |
| 1328 | # undef __MATH_DECLARING_FLOATN | |
| 1329 | # undef __REDIRFROM_X | |
| 1330 | # undef __REDIRTO_X | |
| 1331 | # endif | |
| 1332 | ||
| 1333 | # if (__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !defined _LIBC))	\ | |
| 1334 | && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| 1335 | # define _Mdouble_ _Float32 | |
| 1336 | # define __MATH_DECLARING_DOUBLE 0 | |
| 1337 | # define __MATH_DECLARING_FLOATN 1 | |
| 1338 | # define __REDIRFROM_X(function, reentrant) \ | |
| 1339 | function ## f32 ## reentrant | |
| 1340 | # if __HAVE_DISTINCT_FLOAT32 | |
| 1341 | # define __REDIRTO_X(function, reentrant) \ | |
| 1342 | __ ## function ## f32 ## reentrant ## _finite | |
| 1343 | # else | |
| 1344 | # define __REDIRTO_X(function, reentrant) \ | |
| 1345 | __ ## function ## f ## reentrant ## _finite | |
| 1346 | # endif | |
| 1347 | # include <bits/math-finite.h> | |
| 1348 | # undef _Mdouble_ | |
| 1349 | # undef __MATH_DECLARING_DOUBLE | |
| 1350 | # undef __MATH_DECLARING_FLOATN | |
| 1351 | # undef __REDIRFROM_X | |
| 1352 | # undef __REDIRTO_X | |
| 1353 | # endif | |
| 1354 | ||
| 1355 | # if (__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !defined _LIBC))	\ | |
| 1356 | && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| 1357 | # define _Mdouble_ _Float64 | |
| 1358 | # define __MATH_DECLARING_DOUBLE 0 | |
| 1359 | # define __MATH_DECLARING_FLOATN 1 | |
| 1360 | # define __REDIRFROM_X(function, reentrant) \ | |
| 1361 | function ## f64 ## reentrant | |
| 1362 | # if __HAVE_DISTINCT_FLOAT64 | |
| 1363 | # define __REDIRTO_X(function, reentrant) \ | |
| 1364 | __ ## function ## f64 ## reentrant ## _finite | |
| 1365 | # else | |
| 1366 | # define __REDIRTO_X(function, reentrant) \ | |
| 1367 | __ ## function ## reentrant ## _finite | |
| 1368 | # endif | |
| 1369 | # include <bits/math-finite.h> | |
| 1370 | # undef _Mdouble_ | |
| 1371 | # undef __MATH_DECLARING_DOUBLE | |
| 1372 | # undef __MATH_DECLARING_FLOATN | |
| 1373 | # undef __REDIRFROM_X | |
| 1374 | # undef __REDIRTO_X | |
| 1375 | # endif | |
| 1376 | ||
| 1377 | # if (__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !defined _LIBC))	\ | |
| 1378 | && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| 1379 | # define _Mdouble_ _Float128 | |
| 1380 | # define __MATH_DECLARING_DOUBLE 0 | |
| 1381 | # define __MATH_DECLARING_FLOATN 1 | |
| 1382 | # define __REDIRFROM_X(function, reentrant) \ | |
| 1383 | function ## f128 ## reentrant | |
| 1384 | # if __HAVE_DISTINCT_FLOAT128 | |
| 1385 | # define __REDIRTO_X(function, reentrant) \ | |
| 1386 | __ ## function ## f128 ## reentrant ## _finite | |
| 1387 | # else | |
| 1388 | # define __REDIRTO_X(function, reentrant) \ | |
| 1389 | __ ## function ## l ## reentrant ## _finite | |
| 1390 | # endif | |
| 1391 | # include <bits/math-finite.h> | |
| 1392 | # undef _Mdouble_ | |
| 1393 | # undef __MATH_DECLARING_DOUBLE | |
| 1394 | # undef __MATH_DECLARING_FLOATN | |
| 1395 | # undef __REDIRFROM_X | |
| 1396 | # undef __REDIRTO_X | |
| 1397 | # endif | |
| 1398 | ||
| 1399 | # if (__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !defined _LIBC))	\ | |
| 1400 | && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| 1401 | # define _Mdouble_ _Float32x | |
| 1402 | # define __MATH_DECLARING_DOUBLE 0 | |
| 1403 | # define __MATH_DECLARING_FLOATN 1 | |
| 1404 | # define __REDIRFROM_X(function, reentrant) \ | |
| 1405 | function ## f32x ## reentrant | |
| 1406 | # if __HAVE_DISTINCT_FLOAT32X | |
| 1407 | # define __REDIRTO_X(function, reentrant) \ | |
| 1408 | __ ## function ## f32x ## reentrant ## _finite | |
| 1409 | # else | |
| 1410 | # define __REDIRTO_X(function, reentrant) \ | |
| 1411 | __ ## function ## reentrant ## _finite | |
| 1412 | # endif | |
| 1413 | # include <bits/math-finite.h> | |
| 1414 | # undef _Mdouble_ | |
| 1415 | # undef __MATH_DECLARING_DOUBLE | |
| 1416 | # undef __MATH_DECLARING_FLOATN | |
| 1417 | # undef __REDIRFROM_X | |
| 1418 | # undef __REDIRTO_X | |
| 1419 | # endif | |
| 1420 | ||
| 1421 | # if (__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !defined _LIBC))	\ | |
| 1422 | && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| 1423 | # define _Mdouble_ _Float64x | |
| 1424 | # define __MATH_DECLARING_DOUBLE 0 | |
| 1425 | # define __MATH_DECLARING_FLOATN 1 | |
| 1426 | # define __REDIRFROM_X(function, reentrant) \ | |
| 1427 | function ## f64x ## reentrant | |
| 1428 | # if __HAVE_DISTINCT_FLOAT64X | |
| 1429 | # define __REDIRTO_X(function, reentrant) \ | |
| 1430 | __ ## function ## f64x ## reentrant ## _finite | |
| 1431 | # elif __HAVE_FLOAT64X_LONG_DOUBLE | |
| 1432 | # define __REDIRTO_X(function, reentrant) \ | |
| 1433 | __ ## function ## l ## reentrant ## _finite | |
| 1434 | # else | |
| 1435 | # define __REDIRTO_X(function, reentrant) \ | |
| 1436 | __ ## function ## f128 ## reentrant ## _finite | |
| 1437 | # endif | |
| 1438 | # include <bits/math-finite.h> | |
| 1439 | # undef _Mdouble_ | |
| 1440 | # undef __MATH_DECLARING_DOUBLE | |
| 1441 | # undef __MATH_DECLARING_FLOATN | |
| 1442 | # undef __REDIRFROM_X | |
| 1443 | # undef __REDIRTO_X | |
| 1444 | # endif | |
| 1445 | ||
| 1446 | # if (__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !defined _LIBC)) \ | |
| 1447 | && __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| 1448 | # define _Mdouble_ _Float128x | |
| 1449 | # define __MATH_DECLARING_DOUBLE 0 | |
| 1450 | # define __MATH_DECLARING_FLOATN 1 | |
| 1451 | # define __REDIRFROM_X(function, reentrant) \ | |
| 1452 | function ## f128x ## reentrant | |
| 1453 | # if __HAVE_DISTINCT_FLOAT128X | |
| 1454 | # define __REDIRTO_X(function, reentrant) \ | |
| 1455 | __ ## function ## f128x ## reentrant ## _finite | |
| 1456 | # else | |
| 1457 | # error "non-disinct _Float128x" | |
| 1458 | # endif | |
| 1459 | # include <bits/math-finite.h> | |
| 1460 | # undef _Mdouble_ | |
| 1461 | # undef __MATH_DECLARING_DOUBLE | |
| 1462 | # undef __MATH_DECLARING_FLOATN | |
| 1463 | # undef __REDIRFROM_X | |
| 1464 | # undef __REDIRTO_X | |
| 1465 | # endif | |
| 1466 | ||
| 1467 | #endif /* __FINITE_MATH_ONLY__ > 0. */ | |
| 1468 | 1248 | |
| 1469 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 1249 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 1470 | 1250 | /* An expression whose type has the widest of the evaluation formats |
| 1471 | 1251 | of X and Y (which are of floating-point types). */ |
| 1472 | 1252 | # if __FLT_EVAL_METHOD__ == 2 || __FLT_EVAL_METHOD__ > 64 |
lib/libc/include/generic-glibc/mcheck.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _MCHECK_H |
| 19 | 19 | #define _MCHECK_H 1 |
lib/libc/include/generic-glibc/memory.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | * SVID |
lib/libc/include/generic-glibc/mntent.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Utilities for reading/writing fstab, mtab, etc. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_MNTENT_H |
| 20 | 20 | #define	_MNTENT_H	1 |
lib/libc/include/generic-glibc/monetary.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Header file for monetary value formatting functions. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_MONETARY_H |
| 20 | 20 | #define	_MONETARY_H	1 |
lib/libc/include/generic-glibc/mqueue.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _MQUEUE_H |
| 19 | 19 | #define _MQUEUE_H	1 |
lib/libc/include/generic-glibc/net/ethernet.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Based on the FreeBSD version of this file. Curiously, that file |
| 19 | 19 | lacks a copyright in the header. */ |
lib/libc/include/generic-glibc/net/if.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* net/if.h -- declarations for inquiring about network interfaces |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _NET_IF_H |
| 20 | 20 | #define _NET_IF_H	1 |
lib/libc/include/generic-glibc/net/if_arp.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for Address Resolution Protocol. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | /* Based on the 4.4BSD and Linux version of this file. */ |
| 21 | 21 |
lib/libc/include/generic-glibc/net/if_packet.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for use with Linux SOCK_PACKET sockets. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __IF_PACKET_H |
| 20 | 20 | #define __IF_PACKET_H |
lib/libc/include/generic-glibc/net/if_shaper.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _NET_IF_SHAPER_H |
| 19 | 19 | #define _NET_IF_SHAPER_H 1 |
lib/libc/include/generic-glibc/net/if_slip.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _NET_IF_SLIP_H |
| 19 | 19 | #define _NET_IF_SLIP_H 1 |
lib/libc/include/generic-glibc/net/route.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Based on the 4.4BSD and Linux version of this file. */ |
| 19 | 19 |
lib/libc/include/generic-glibc/netash/ash.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for use with Linux AF_ASH sockets. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _NETASH_ASH_H |
| 20 | 20 | #define _NETASH_ASH_H	1 |
lib/libc/include/generic-glibc/netatalk/at.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _NETATALK_AT_H |
| 19 | 19 | #define _NETATALK_AT_H 1 |
lib/libc/include/generic-glibc/netax25/ax25.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _NETAX25_AX25_H |
| 19 | 19 | #define _NETAX25_AX25_H	1 |
lib/libc/include/generic-glibc/netdb.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* All data returned by the network data base library are supplied in |
| 19 | 19 | host order and returned in network order (suitable for use in |
lib/libc/include/generic-glibc/neteconet/ec.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for use with Linux AF_ECONET sockets. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _NETECONET_EC_H |
| 20 | 20 | #define _NETECONET_EC_H	1 |
lib/libc/include/generic-glibc/netinet/ether.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Functions for storing Ethernet addresses in ASCII and mapping to hostnames. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _NETINET_ETHER_H |
| 20 | 20 | #define _NETINET_ETHER_H	1 |
lib/libc/include/generic-glibc/netinet/icmp6.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _NETINET_ICMP6_H |
| 19 | 19 | #define _NETINET_ICMP6_H 1 |
lib/libc/include/generic-glibc/netinet/if_ether.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef __NETINET_IF_ETHER_H |
| 19 | 19 |
lib/libc/include/generic-glibc/netinet/if_fddi.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _NETINET_IF_FDDI_H |
| 19 | 19 | #define	_NETINET_IF_FDDI_H 1 |
lib/libc/include/generic-glibc/netinet/if_tr.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _NETINET_IF_TR_H |
| 19 | 19 | #define	_NETINET_IF_TR_H 1 |
lib/libc/include/generic-glibc/netinet/igmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _NETINET_IGMP_H |
| 19 | 19 | #define	_NETINET_IGMP_H 1 |
lib/libc/include/generic-glibc/netinet/in.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_NETINET_IN_H |
| 19 | 19 | #define	_NETINET_IN_H	1 |
lib/libc/include/generic-glibc/netinet/in_systm.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System specific type definitions for networking code. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _NETINET_IN_SYSTM_H |
| 20 | 20 | #define _NETINET_IN_SYSTM_H 1 |
lib/libc/include/generic-glibc/netinet/ip.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef __NETINET_IP_H |
| 19 | 19 | #define __NETINET_IP_H 1 |
lib/libc/include/generic-glibc/netinet/ip6.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _NETINET_IP6_H |
| 19 | 19 | #define _NETINET_IP6_H 1 |
lib/libc/include/generic-glibc/netinet/ip_icmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef __NETINET_IP_ICMP_H |
| 19 | 19 | #define __NETINET_IP_ICMP_H 1 |
lib/libc/include/generic-glibc/netinet/tcp.h+1| ... | ... | @@ -79,6 +79,7 @@ |
| 79 | 79 | #define TCP_INQ			 36 /* Notify bytes available to read |
| 80 | 80 | 				 as a cmsg on read. */ |
| 81 | 81 | #define TCP_CM_INQ		 TCP_INQ |
| 82 | #define TCP_TX_DELAY		 37 /* Delay outgoing packets by XX usec. */ | |
| 82 | 83 | |
| 83 | 84 | #define TCP_REPAIR_ON		 1 |
| 84 | 85 | #define TCP_REPAIR_OFF		 0 |
lib/libc/include/generic-glibc/netinet/udp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | * Copyright (C) 1982, 1986 Regents of the University of California. |
lib/libc/include/generic-glibc/netipx/ipx.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef __NETIPX_IPX_H |
| 19 | 19 | #define __NETIPX_IPX_H 1 |
lib/libc/include/generic-glibc/netiucv/iucv.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef __NETIUCV_IUCV_H |
| 19 | 19 | #define __NETIUCV_IUCV_H	1 |
lib/libc/include/generic-glibc/netpacket/packet.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for use with Linux AF_PACKET sockets. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __NETPACKET_PACKET_H |
| 20 | 20 | #define __NETPACKET_PACKET_H	1 |
lib/libc/include/generic-glibc/netrom/netrom.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _NETROM_NETROM_H |
| 19 | 19 | #define _NETROM_NETROM_H	1 |
lib/libc/include/generic-glibc/netrose/rose.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for Rose packet radio address family. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* What follows is copied from the 2.1.93 <linux/rose.h>. */ |
| 20 | 20 |
lib/libc/include/generic-glibc/nl_types.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _NL_TYPES_H |
| 19 | 19 | #define _NL_TYPES_H 1 |
lib/libc/include/generic-glibc/nss.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Define interface to NSS. This is meant for the interface functions |
| 19 | 19 | and for implementors of new services. */ |
lib/libc/include/generic-glibc/obstack.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* obstack.h - object stack macros |
| 2 | Copyright (C) 1988-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1988-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* Summary: |
| 20 | 20 |
lib/libc/include/generic-glibc/printf.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_PRINTF_H |
| 19 | 19 |
lib/libc/include/generic-glibc/proc_service.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Callback interface for libthread_db, functions users must define. |
| 2 | Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _PROC_SERVICE_H |
| 20 | 20 | #define _PROC_SERVICE_H 1 |
lib/libc/include/generic-glibc/pthread.h+26-51| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,16 +13,16 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _PTHREAD_H |
| 19 | 19 | #define _PTHREAD_H	1 |
| 20 | 20 | |
| 21 | 21 | #include <features.h> |
| 22 | #include <endian.h> | |
| 23 | 22 | #include <sched.h> |
| 24 | 23 | #include <time.h> |
| 25 | 24 | |
| 25 | #include <bits/endian.h> | |
| 26 | 26 | #include <bits/pthreadtypes.h> |
| 27 | 27 | #include <bits/setjmp.h> |
| 28 | 28 | #include <bits/wordsize.h> |
| ... | ... | @@ -83,30 +83,15 @@ enum |
| 83 | 83 | #endif |
| 84 | 84 | |
| 85 | 85 | |
| 86 | #if __PTHREAD_MUTEX_HAVE_PREV | |
| 87 | # define PTHREAD_MUTEX_INITIALIZER \ | |
| 88 | { { 0, 0, 0, 0, 0, __PTHREAD_SPINS, { 0, 0 } } } | |
| 89 | # ifdef __USE_GNU | |
| 90 | # define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \ | |
| 91 | { { 0, 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP, __PTHREAD_SPINS, { 0, 0 } } } | |
| 92 | # define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \ | |
| 93 | { { 0, 0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP, __PTHREAD_SPINS, { 0, 0 } } } | |
| 94 | # define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \ | |
| 95 | { { 0, 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, __PTHREAD_SPINS, { 0, 0 } } } | |
| 96 | ||
| 97 | # endif | |
| 98 | #else | |
| 99 | # define PTHREAD_MUTEX_INITIALIZER \ | |
| 100 | { { 0, 0, 0, 0, 0, { __PTHREAD_SPINS } } } | |
| 101 | # ifdef __USE_GNU | |
| 102 | # define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \ | |
| 103 | { { 0, 0, 0, PTHREAD_MUTEX_RECURSIVE_NP, 0, { __PTHREAD_SPINS } } } | |
| 104 | # define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \ | |
| 105 | { { 0, 0, 0, PTHREAD_MUTEX_ERRORCHECK_NP, 0, { __PTHREAD_SPINS } } } | |
| 106 | # define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \ | |
| 107 | { { 0, 0, 0, PTHREAD_MUTEX_ADAPTIVE_NP, 0, { __PTHREAD_SPINS } } } | |
| 108 | ||
| 109 | # endif | |
| 86 | #define PTHREAD_MUTEX_INITIALIZER \ | |
| 87 | { { __PTHREAD_MUTEX_INITIALIZER (PTHREAD_MUTEX_TIMED_NP) } } | |
| 88 | #ifdef __USE_GNU | |
| 89 | # define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP \ | |
| 90 | { { __PTHREAD_MUTEX_INITIALIZER (PTHREAD_MUTEX_RECURSIVE_NP) } } | |
| 91 | # define PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP \ | |
| 92 | { { __PTHREAD_MUTEX_INITIALIZER (PTHREAD_MUTEX_ERRORCHECK_NP) } } | |
| 93 | # define PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP \ | |
| 94 | { { __PTHREAD_MUTEX_INITIALIZER (PTHREAD_MUTEX_ADAPTIVE_NP) } } | |
| 110 | 95 | #endif |
| 111 | 96 | |
| 112 | 97 | |
| ... | ... | @@ -120,34 +105,13 @@ enum |
| 120 | 105 | PTHREAD_RWLOCK_DEFAULT_NP = PTHREAD_RWLOCK_PREFER_READER_NP |
| 121 | 106 | }; |
| 122 | 107 | |
| 123 | /* Define __PTHREAD_RWLOCK_INT_FLAGS_SHARED to 1 if pthread_rwlock_t | |
| 124 | has the shared field. All 64-bit architectures have the shared field | |
| 125 | in pthread_rwlock_t. */ | |
| 126 | #ifndef __PTHREAD_RWLOCK_INT_FLAGS_SHARED | |
| 127 | # if __WORDSIZE == 64 | |
| 128 | # define __PTHREAD_RWLOCK_INT_FLAGS_SHARED 1 | |
| 129 | # endif | |
| 130 | #endif | |
| 131 | 108 | |
| 132 | 109 | /* Read-write lock initializers. */ |
| 133 | 110 | # define PTHREAD_RWLOCK_INITIALIZER \ |
| 134 | { { 0, 0, 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, 0 } } | |
| 111 | { { __PTHREAD_RWLOCK_INITIALIZER (PTHREAD_RWLOCK_DEFAULT_NP) } } | |
| 135 | 112 | # ifdef __USE_GNU |
| 136 | # ifdef __PTHREAD_RWLOCK_INT_FLAGS_SHARED | |
| 137 | # define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \ | |
| 138 | { { 0, 0, 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0,					 \ | |
| 139 | 	PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP } } | |
| 140 | # else | |
| 141 | # if __BYTE_ORDER == __LITTLE_ENDIAN | |
| 142 | # define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \ | |
| 143 | { { 0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP, \ | |
| 144 | 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, 0 } } | |
| 145 | # else | |
| 146 | # define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \ | |
| 147 | { { 0, 0, 0, 0, 0, 0, 0, 0, 0, PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP,\ | |
| 148 | 0 } } | |
| 149 | # endif | |
| 150 | # endif | |
| 113 | # define PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP \ | |
| 114 | { { __PTHREAD_RWLOCK_INITIALIZER (PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP) } } | |
| 151 | 115 | # endif |
| 152 | 116 | #endif /* Unix98 or XOpen2K */ |
| 153 | 117 | |
| ... | ... | @@ -263,6 +227,17 @@ extern int pthread_tryjoin_np (pthread_t __th, void **__thread_return) __THROW; |
| 263 | 227 | __THROW. */ |
| 264 | 228 | extern int pthread_timedjoin_np (pthread_t __th, void **__thread_return, |
| 265 | 229 | 				 const struct timespec *__abstime); |
| 230 | ||
| 231 | /* Make calling thread wait for termination of the thread TH, but only | |
| 232 | until TIMEOUT measured against the clock specified by CLOCKID. The | |
| 233 | exit status of the thread is stored in *THREAD_RETURN, if | |
| 234 | THREAD_RETURN is not NULL. | |
| 235 | ||
| 236 | This function is a cancellation point and therefore not marked with | |
| 237 | __THROW. */ | |
| 238 | extern int pthread_clockjoin_np (pthread_t __th, void **__thread_return, | |
| 239 | clockid_t __clockid, | |
| 240 | 				 const struct timespec *__abstime); | |
| 266 | 241 | #endif |
| 267 | 242 | |
| 268 | 243 | /* Indicate that the thread TH is never to be joined with PTHREAD_JOIN. |
lib/libc/include/generic-glibc/pty.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Functions for pseudo TTY handling. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _PTY_H |
| 20 | 20 | #define _PTY_H	1 |
lib/libc/include/generic-glibc/pwd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 9.2.2 User Database Access	<pwd.h> |
lib/libc/include/generic-glibc/re_comp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _RE_COMP_H |
| 19 | 19 | #define _RE_COMP_H	1 |
lib/libc/include/generic-glibc/regdef.h+2-3| ... | ... | @@ -1,6 +1,5 @@ |
| 1 | /* Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | Contributed by Ralf Baechle <ralf@gnu.org>. | |
| 4 | 3 | |
| 5 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| 6 | 5 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -14,7 +13,7 @@ |
| 14 | 13 | |
| 15 | 14 | You should have received a copy of the GNU Lesser General Public |
| 16 | 15 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 17 | |
| 19 | 18 | #ifndef _REGDEF_H |
| 20 | 19 | #define _REGDEF_H |
lib/libc/include/generic-glibc/regex.h+1-1| ... | ... | @@ -1,6 +1,6 @@ |
| 1 | 1 | /* Definitions for data structures and routines for the regular |
| 2 | 2 | expression library. |
| 3 | Copyright (C) 1985, 1989-2019 Free Software Foundation, Inc. | |
| 3 | Copyright (C) 1985, 1989-2020 Free Software Foundation, Inc. | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| 6 | 6 | The GNU C Library is free software; you can redistribute it and/or |
lib/libc/include/generic-glibc/regexp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _REGEXP_H |
| 20 | 20 | #define _REGEXP_H	1 |
lib/libc/include/generic-glibc/resolv.h+1| ... | ... | @@ -131,6 +131,7 @@ struct res_sym { |
| 131 | 131 | #define RES_NOTLDQUERY	0x01000000	/* Do not look up unqualified name |
| 132 | 132 | 					 as a TLD. */ |
| 133 | 133 | #define RES_NORELOAD 0x02000000 /* No automatic configuration reload. */ |
| 134 | #define RES_TRUSTAD 0x04000000 /* Request AD bit, keep it in responses. */ | |
| 134 | 135 | |
| 135 | 136 | #define RES_DEFAULT	(RES_RECURSE|RES_DEFNAMES|RES_DNSRCH) |
| 136 | 137 |
lib/libc/include/generic-glibc/sched.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX 1003.1b-1993 (aka POSIX.4) scheduling interface. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_SCHED_H |
| 20 | 20 | #define	_SCHED_H	1 |
lib/libc/include/generic-glibc/scsi/scsi.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | * This header file contains public constants and structures used by |
lib/libc/include/generic-glibc/scsi/scsi_ioctl.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SCSI_IOCTL_H |
| 19 | 19 | #define _SCSI_IOCTL_H |
lib/libc/include/generic-glibc/scsi/sg.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | History: |
lib/libc/include/generic-glibc/search.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Declarations for System V style searching functions. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SEARCH_H |
| 20 | 20 | #define	_SEARCH_H 1 |
lib/libc/include/generic-glibc/semaphore.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SEMAPHORE_H |
| 19 | 19 | #define _SEMAPHORE_H	1 |
lib/libc/include/generic-glibc/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard: 7.13 Nonlocal jumps	<setjmp.h> |
lib/libc/include/generic-glibc/sgidefs.h+2-3| ... | ... | @@ -1,6 +1,5 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | Contributed by Ralf Baechle <ralf@gnu.org>. | |
| 4 | 3 | |
| 5 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| 6 | 5 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -14,7 +13,7 @@ |
| 14 | 13 | |
| 15 | 14 | You should have received a copy of the GNU Lesser General Public |
| 16 | 15 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 17 | |
| 19 | 18 | #ifndef _SGIDEFS_H |
| 20 | 19 | #define _SGIDEFS_H	1 |
lib/libc/include/generic-glibc/sgtty.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SGTTY_H |
| 19 | 19 | #define	_SGTTY_H	1 |
lib/libc/include/generic-glibc/shadow.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Declaration of types and functions for "shadow" storage of hashed |
| 19 | 19 | passphrases. The shadow database is like the user database, but is |
lib/libc/include/generic-glibc/signal.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard: 7.14 Signal handling <signal.h> |
lib/libc/include/generic-glibc/spawn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX spawn interface. |
| 2 | Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_SPAWN_H |
| 20 | 20 | #define	_SPAWN_H	1 |
lib/libc/include/generic-glibc/stdc-predef.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_STDC_PREDEF_H |
| 19 | 19 | #define	_STDC_PREDEF_H	1 |
lib/libc/include/generic-glibc/stdint.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99: 7.18 Integer types <stdint.h> |
| ... | ... | @@ -273,7 +273,7 @@ typedef __uintmax_t		uintmax_t; |
| 273 | 273 | # define UINTMAX_C(c)	c ## ULL |
| 274 | 274 | # endif |
| 275 | 275 | |
| 276 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 276 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 277 | 277 | |
| 278 | 278 | # define INT8_WIDTH 8 |
| 279 | 279 | # define UINT8_WIDTH 8 |
lib/libc/include/generic-glibc/stdio.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define ISO C stdio on top of C++ iostreams. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | *	ISO C99 Standard: 7.19 Input/output	<stdio.h> |
lib/libc/include/generic-glibc/stdio_ext.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Functions to access FILE structure internals. |
| 2 | Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This header contains the same definitions as the header of the same name |
| 20 | 20 | on Sun's Solaris OS. */ |
lib/libc/include/generic-glibc/stdlib.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard: 7.20 General utilities	<stdlib.h> |
| ... | ... | @@ -208,7 +208,7 @@ extern unsigned long long int strtoull (const char *__restrict __nptr, |
| 208 | 208 | #endif /* ISO C99 or use MISC. */ |
| 209 | 209 | |
| 210 | 210 | /* Convert a floating-point number to a string. */ |
| 211 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 211 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 212 | 212 | extern int strfromd (char *__dest, size_t __size, const char *__format, |
| 213 | 213 | 		 double __f) |
| 214 | 214 | __THROW __nonnull ((3)); |
lib/libc/include/generic-glibc/string.h+7-6| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard: 7.21 String handling	<string.h> |
| ... | ... | @@ -33,7 +33,8 @@ __BEGIN_DECLS |
| 33 | 33 | #include <stddef.h> |
| 34 | 34 | |
| 35 | 35 | /* Tell the caller that we provide correct C++ prototypes. */ |
| 36 | #if defined __cplusplus && __GNUC_PREREQ (4, 4) | |
| 36 | #if defined __cplusplus && (__GNUC_PREREQ (4, 4) \ | |
| 37 | 			 || __glibc_clang_prereq (3, 5)) | |
| 37 | 38 | # define __CORRECT_ISO_CPP_STRING_H_PROTO |
| 38 | 39 | #endif |
| 39 | 40 | |
| ... | ... | @@ -49,7 +50,7 @@ extern void *memmove (void *__dest, const void *__src, size_t __n) |
| 49 | 50 | /* Copy no more than N bytes of SRC to DEST, stopping when C is found. |
| 50 | 51 | Return the position in DEST one byte past where C was copied, |
| 51 | 52 | or NULL if C was not found in the first N bytes of SRC. */ |
| 52 | #if defined __USE_MISC || defined __USE_XOPEN | |
| 53 | #if defined __USE_MISC || defined __USE_XOPEN || __GLIBC_USE (ISOC2X) | |
| 53 | 54 | extern void *memccpy (void *__restrict __dest, const void *__restrict __src, |
| 54 | 55 | 		 int __c, size_t __n) |
| 55 | 56 | __THROW __nonnull ((1, 2)); |
| ... | ... | @@ -161,7 +162,7 @@ extern size_t strxfrm_l (char *__dest, const char *__src, size_t __n, |
| 161 | 162 | #endif |
| 162 | 163 | |
| 163 | 164 | #if (defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8	\ |
| 164 | || __GLIBC_USE (LIB_EXT2)) | |
| 165 | || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X)) | |
| 165 | 166 | /* Duplicate S, returning an identical malloc'd string. */ |
| 166 | 167 | extern char *strdup (const char *__s) |
| 167 | 168 | __THROW __attribute_malloc__ __nonnull ((1)); |
| ... | ... | @@ -170,7 +171,7 @@ extern char *strdup (const char *__s) |
| 170 | 171 | /* Return a malloc'd copy of at most N bytes of STRING. The |
| 171 | 172 | resultant string is terminated even if no null terminator |
| 172 | 173 | appears before STRING[N]. */ |
| 173 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2) | |
| 174 | #if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2) || __GLIBC_USE (ISOC2X) | |
| 174 | 175 | extern char *strndup (const char *__string, size_t __n) |
| 175 | 176 | __THROW __attribute_malloc__ __nonnull ((1)); |
| 176 | 177 | #endif |
lib/libc/include/generic-glibc/strings.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_STRINGS_H |
| 19 | 19 | #define	_STRINGS_H	1 |
lib/libc/include/generic-glibc/sys/acct.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,14 +13,14 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_ACCT_H |
| 19 | 19 | #define _SYS_ACCT_H	1 |
| 20 | 20 | |
| 21 | 21 | #include <sys/types.h> |
| 22 | 22 | #include <stdint.h> |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | #include <bits/types/time_t.h> |
| 25 | 25 | |
| 26 | 26 | __BEGIN_DECLS |
lib/libc/include/generic-glibc/sys/asm.h+2-3| ... | ... | @@ -1,6 +1,5 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | Contributed by Ralf Baechle <ralf@gnu.org>. | |
| 4 | 3 | |
| 5 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| 6 | 5 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -14,7 +13,7 @@ |
| 14 | 13 | |
| 15 | 14 | You should have received a copy of the GNU Lesser General Public |
| 16 | 15 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 17 | |
| 19 | 18 | #ifndef _SYS_ASM_H |
| 20 | 19 | #define _SYS_ASM_H |
lib/libc/include/generic-glibc/sys/auxv.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Access to the auxiliary vector. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_AUXV_H |
| 20 | 20 | #define _SYS_AUXV_H 1 |
lib/libc/include/generic-glibc/sys/cachectl.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_CACHECTL_H |
| 19 | 19 | #define _SYS_CACHECTL_H 1 |
lib/libc/include/generic-glibc/sys/cdefs.h+2-10| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_CDEFS_H |
| 19 | 19 | #define	_SYS_CDEFS_H	1 |
| ... | ... | @@ -412,14 +412,6 @@ |
| 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 | ||
| 423 | 415 | #if (!defined _Noreturn \ |
| 424 | 416 | && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \ |
| 425 | 417 | && !__GNUC_PREREQ (4,7)) |
lib/libc/include/generic-glibc/sys/debugreg.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_DEBUGREG_H |
| 19 | 19 | #define _SYS_DEBUGREG_H	1 |
lib/libc/include/generic-glibc/sys/dir.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_DIR_H |
| 19 | 19 | #define	_SYS_DIR_H	1 |
lib/libc/include/generic-glibc/sys/elf.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_ELF_H |
| 19 | 19 | #define _SYS_ELF_H	1 |
lib/libc/include/generic-glibc/sys/epoll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EPOLL_H |
| 19 | 19 | #define	_SYS_EPOLL_H	1 |
lib/libc/include/generic-glibc/sys/eventfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EVENTFD_H |
| 19 | 19 | #define	_SYS_EVENTFD_H	1 |
lib/libc/include/generic-glibc/sys/fanotify.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2010-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2010-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_FANOTIFY_H |
| 19 | 19 | #define	_SYS_FANOTIFY_H	1 |
lib/libc/include/generic-glibc/sys/file.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_FILE_H |
| 19 | 19 | #define	_SYS_FILE_H	1 |
lib/libc/include/generic-glibc/sys/fpregdef.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_FPREGDEF_H |
| 19 | 19 | #define _SYS_FPREGDEF_H |
lib/libc/include/generic-glibc/sys/fsuid.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_FSUID_H |
| 19 | 19 | #define _SYS_FSUID_H	1 |
lib/libc/include/generic-glibc/sys/gmon_out.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by David Mosberger <davidm@cs.arizona.edu>. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This file specifies the format of gmon.out files. It should have |
| 20 | 20 | as few external dependencies as possible as it is going to be included |
lib/libc/include/generic-glibc/sys/ifunc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions used by AArch64 indirect function resolvers. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IFUNC_H |
| 20 | 20 | #define _SYS_IFUNC_H |
lib/libc/include/generic-glibc/sys/inotify.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_INOTIFY_H |
| 19 | 19 | #define	_SYS_INOTIFY_H	1 |
lib/libc/include/generic-glibc/sys/io.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_IO_H |
| 19 | 19 | #define	_SYS_IO_H	1 |
lib/libc/include/generic-glibc/sys/ioctl.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_IOCTL_H |
| 19 | 19 | #define	_SYS_IOCTL_H	1 |
lib/libc/include/generic-glibc/sys/ipc.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_IPC_H |
| 19 | 19 | #define _SYS_IPC_H	1 |
lib/libc/include/generic-glibc/sys/kd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_KD_H |
| 19 | 19 | #define _SYS_KD_H	1 |
lib/libc/include/generic-glibc/sys/klog.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_KLOG_H |
| 19 | 19 |
lib/libc/include/generic-glibc/sys/mman.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for BSD-style memory management. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_SYS_MMAN_H |
| 20 | 20 | #define	_SYS_MMAN_H	1 |
lib/libc/include/generic-glibc/sys/mount.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Header file for mounting/unmount Linux filesystems. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This is taken from /usr/include/linux/fs.h. */ |
| 20 | 20 |
lib/libc/include/generic-glibc/sys/msg.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_MSG_H |
| 19 | 19 | #define _SYS_MSG_H |
lib/libc/include/generic-glibc/sys/mtio.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structures and definitions for magnetic tape I/O control commands. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* Written by H. Bergman <hennus@cybercomm.nl>. */ |
| 20 | 20 |
lib/libc/include/generic-glibc/sys/param.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Compatibility header for old-style Unix parameters and limits. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PARAM_H |
| 20 | 20 | #define _SYS_PARAM_H 1 |
lib/libc/include/generic-glibc/sys/pci.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_PCI_H |
| 19 | 19 | #define _SYS_PCI_H	1 |
lib/libc/include/generic-glibc/sys/perm.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_PERM_H |
| 19 | 19 |
lib/libc/include/generic-glibc/sys/personality.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Taken verbatim from Linux 2.6 (include/linux/personality.h). */ |
| 19 | 19 |
lib/libc/include/generic-glibc/sys/platform/ppc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Facilities specific to the PowerPC architecture |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PLATFORM_PPC_H |
| 20 | 20 | #define _SYS_PLATFORM_PPC_H	1 |
lib/libc/include/generic-glibc/sys/poll.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Compatibility definitions for System V `poll' interface. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_SYS_POLL_H |
| 20 | 20 | #define	_SYS_POLL_H	1 |
lib/libc/include/generic-glibc/sys/prctl.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_PRCTL_H |
| 19 | 19 | #define _SYS_PRCTL_H	1 |
lib/libc/include/generic-glibc/sys/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for core files and libthread_db. Generic Linux version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | #define _SYS_PROCFS_H	1 |
lib/libc/include/generic-glibc/sys/profil.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _PROFIL_H |
| 19 | 19 | #define _PROFIL_H	1 |
lib/libc/include/generic-glibc/sys/ptrace.h+7-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PTRACE_H |
| 21 | 21 | #define _SYS_PTRACE_H	1 |
| ... | ... | @@ -166,8 +166,12 @@ enum __ptrace_request |
| 166 | 166 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 167 | 167 | |
| 168 | 168 | /* Get seccomp BPF filter metadata. */ |
| 169 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 169 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 170 | 170 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 171 | ||
| 172 | /* Get information about system call. */ | |
| 173 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 174 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 171 | 175 | }; |
| 172 | 176 | |
| 173 | 177 |
lib/libc/include/generic-glibc/sys/quota.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* This just represents the non-kernel parts of <linux/quota.h>. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | * Copyright (c) 1982, 1986 Regents of the University of California. |
lib/libc/include/generic-glibc/sys/random.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Interfaces for obtaining random bytes. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_RANDOM_H |
| 20 | 20 | #define _SYS_RANDOM_H 1 |
lib/libc/include/generic-glibc/sys/raw.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_RAW_H |
| 19 | 19 | #define _SYS_RAW_H	1 |
lib/libc/include/generic-glibc/sys/reboot.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* This file should define RB_* macros to be used as flag |
| 19 | 19 | bits in the argument to the `reboot' system call. */ |
lib/libc/include/generic-glibc/sys/reg.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_REG_H |
| 19 | 19 | #define _SYS_REG_H	1 |
lib/libc/include/generic-glibc/sys/regdef.h+2-3| ... | ... | @@ -1,6 +1,5 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | Contributed by Ralf Baechle <ralf@gnu.org>. | |
| 4 | 3 | |
| 5 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| 6 | 5 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -14,7 +13,7 @@ |
| 14 | 13 | |
| 15 | 14 | You should have received a copy of the GNU Lesser General Public |
| 16 | 15 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 17 | |
| 19 | 18 | #ifndef _SYS_REGDEF_H |
| 20 | 19 | #define _SYS_REGDEF_H |
lib/libc/include/generic-glibc/sys/resource.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_RESOURCE_H |
| 19 | 19 | #define	_SYS_RESOURCE_H	1 |
lib/libc/include/generic-glibc/sys/select.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `fd_set' type and related macros, and `select'/`pselect' declarations. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /*	POSIX 1003.1g: 6.2 Select from File Descriptor Sets <sys/select.h> */ |
| 20 | 20 |
lib/libc/include/generic-glibc/sys/sem.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_SEM_H |
| 19 | 19 | #define _SYS_SEM_H	1 |
lib/libc/include/generic-glibc/sys/sendfile.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* sendfile -- copy data directly from one file descriptor to another |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SENDFILE_H |
| 20 | 20 | #define _SYS_SENDFILE_H	1 |
lib/libc/include/generic-glibc/sys/shm.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_SHM_H |
| 19 | 19 | #define _SYS_SHM_H	1 |
lib/libc/include/generic-glibc/sys/signalfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_SIGNALFD_H |
| 19 | 19 | #define	_SYS_SIGNALFD_H	1 |
lib/libc/include/generic-glibc/sys/socket.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Declarations of socket constants, types, and functions. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_SYS_SOCKET_H |
| 20 | 20 | #define	_SYS_SOCKET_H	1 |
lib/libc/include/generic-glibc/sys/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 5.6 File Characteristics	<sys/stat.h> |
lib/libc/include/generic-glibc/sys/statfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for getting information about a filesystem. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_SYS_STATFS_H |
| 20 | 20 | #define	_SYS_STATFS_H	1 |
lib/libc/include/generic-glibc/sys/statvfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for getting information about a filesystem. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_SYS_STATVFS_H |
| 20 | 20 | #define	_SYS_STATVFS_H	1 |
lib/libc/include/generic-glibc/sys/swap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Calls to enable and disable swapping on specified locations. Linux version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SWAP_H |
| 20 | 20 |
lib/libc/include/generic-glibc/sys/syscall.h+6-9| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYSCALL_H |
| 19 | 19 | #define _SYSCALL_H	1 |
| ... | ... | @@ -23,12 +23,9 @@ |
| 23 | 23 | from the kernel sources. */ |
| 24 | 24 | #include <asm/unistd.h> |
| 25 | 25 | |
| 26 | #ifndef _LIBC | |
| 27 | /* The Linux kernel header file defines macros `__NR_<name>', but some | |
| 28 | programs expect the traditional form `SYS_<name>'. So in building libc | |
| 29 | we scan the kernel's list and produce <bits/syscall.h> with macros for | |
| 30 | all the `SYS_' names. */ | |
| 31 | # include <bits/syscall.h> | |
| 32 | #endif | |
| 26 | /* The Linux kernel header file defines macros __NR_*, but some | |
| 27 | programs expect the traditional form SYS_*. <bits/syscall.h> | |
| 28 | defines SYS_* macros for __NR_* macros of known names. */ | |
| 29 | #include <bits/syscall.h> | |
| 33 | 30 | |
| 34 | 31 | #endif |
| \ No newline at end of file |
lib/libc/include/generic-glibc/sys/sysctl.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_SYSCTL_H |
| 19 | 19 | #define	_SYS_SYSCTL_H	1 |
lib/libc/include/generic-glibc/sys/sysinfo.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_SYSINFO_H |
| 19 | 19 | #define _SYS_SYSINFO_H	1 |
lib/libc/include/generic-glibc/sys/sysmacros.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions of macros to access `dev_t' values. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SYSMACROS_H |
| 20 | 20 | #define _SYS_SYSMACROS_H 1 |
lib/libc/include/generic-glibc/sys/sysmips.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_SYSMIPS_H |
| 19 | 19 | #define _SYS_SYSMIPS_H 1 |
lib/libc/include/generic-glibc/sys/tas.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Maciej W. Rozycki <macro@ds2.pg.gda.pl>, 2000. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_TAS_H |
| 20 | 20 | #define _SYS_TAS_H 1 |
lib/libc/include/generic-glibc/sys/time.h+14-13| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_TIME_H |
| 19 | 19 | #define _SYS_TIME_H	1 |
| ... | ... | @@ -54,23 +54,24 @@ struct timezone |
| 54 | 54 | int tz_minuteswest;		/* Minutes west of GMT. */ |
| 55 | 55 | int tz_dsttime;		/* Nonzero if DST is ever in effect. */ |
| 56 | 56 | }; |
| 57 | ||
| 58 | typedef struct timezone *__restrict __timezone_ptr_t; | |
| 59 | #else | |
| 60 | typedef void *__restrict __timezone_ptr_t; | |
| 61 | 57 | #endif |
| 62 | 58 | |
| 63 | /* Get the current time of day and timezone information, | |
| 64 | putting it into *TV and *TZ. If TZ is NULL, *TZ is not filled. | |
| 65 | Returns 0 on success, -1 on errors. | |
| 66 | NOTE: This form of timezone information is obsolete. | |
| 67 | Use the functions and variables declared in <time.h> instead. */ | |
| 59 | /* Get the current time of day, putting it into *TV. | |
| 60 | If TZ is not null, *TZ must be a struct timezone, and both fields | |
| 61 | will be set to zero. | |
| 62 | Calling this function with a non-null TZ is obsolete; | |
| 63 | use localtime etc. instead. | |
| 64 | This function itself is semi-obsolete; | |
| 65 | most callers should use time or clock_gettime instead. */ | |
| 68 | 66 | extern int gettimeofday (struct timeval *__restrict __tv, |
| 69 | 			 __timezone_ptr_t __tz) __THROW __nonnull ((1)); | |
| 67 | 			 void *__restrict __tz) __THROW __nonnull ((1)); | |
| 70 | 68 | |
| 71 | 69 | #ifdef __USE_MISC |
| 72 | 70 | /* Set the current time of day and timezone information. |
| 73 | This call is restricted to the super-user. */ | |
| 71 | This call is restricted to the super-user. | |
| 72 | Setting the timezone in this way is obsolete, but we don't yet | |
| 73 | warn about it because it still has some uses for which there is | |
| 74 | no alternative. */ | |
| 74 | 75 | extern int settimeofday (const struct timeval *__tv, |
| 75 | 76 | 			 const struct timezone *__tz) |
| 76 | 77 | __THROW; |
lib/libc/include/generic-glibc/sys/timeb.h+4-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_TIMEB_H |
| 19 | 19 | #define _SYS_TIMEB_H	1 |
| ... | ... | @@ -36,7 +36,8 @@ struct timeb |
| 36 | 36 | |
| 37 | 37 | /* Fill in TIMEBUF with information about the current time. */ |
| 38 | 38 | |
| 39 | extern int ftime (struct timeb *__timebuf); | |
| 39 | extern int ftime (struct timeb *__timebuf) | |
| 40 | __nonnull ((1)) __attribute_deprecated__; | |
| 40 | 41 | |
| 41 | 42 | __END_DECLS |
| 42 | 43 |
lib/libc/include/generic-glibc/sys/timerfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_TIMERFD_H |
| 19 | 19 | #define	_SYS_TIMERFD_H	1 |
lib/libc/include/generic-glibc/sys/times.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 4.5.2 Process Times	<sys/times.h> |
lib/libc/include/generic-glibc/sys/timex.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_TIMEX_H |
| 19 | 19 | #define	_SYS_TIMEX_H	1 |
lib/libc/include/generic-glibc/sys/types.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 2.6 Primitive System Data Types	<sys/types.h> |
lib/libc/include/generic-glibc/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 2 | 2 | |
| 3 | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | 4 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | |
| 13 | 13 | You should have received a copy of the GNU Lesser General Public |
| 14 | 14 | License along with the GNU C Library. If not, see |
| 15 | <http://www.gnu.org/licenses/>. */ | |
| 15 | <https://www.gnu.org/licenses/>. */ | |
| 16 | 16 | |
| 17 | 17 | /* Don't rely on this, the interface is currently messed up and may need to |
| 18 | 18 | be broken to be fixed. */ |
lib/libc/include/generic-glibc/sys/uio.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_UIO_H |
| 19 | 19 | #define _SYS_UIO_H	1 |
lib/libc/include/generic-glibc/sys/un.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_UN_H |
| 19 | 19 | #define	_SYS_UN_H	1 |
lib/libc/include/generic-glibc/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 | #define _SYS_USER_H	1 |
lib/libc/include/generic-glibc/sys/utsname.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 4.4 System Identification	<sys/utsname.h> |
lib/libc/include/generic-glibc/sys/vlimit.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_VLIMIT_H |
| 19 | 19 | #define _SYS_VLIMIT_H	1 |
lib/libc/include/generic-glibc/sys/vm86.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_VM86_H |
| 19 | 19 |
lib/libc/include/generic-glibc/sys/vtimes.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_VTIMES_H |
| 19 | 19 | #define _SYS_VTIMES_H	1 |
lib/libc/include/generic-glibc/sys/wait.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 3.2.1 Wait for Process Termination	<sys/wait.h> |
lib/libc/include/generic-glibc/sys/xattr.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_XATTR_H |
| 19 | 19 | #define _SYS_XATTR_H	1 |
lib/libc/include/generic-glibc/tar.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Extended tar format from POSIX.1. |
| 2 | Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Written by David J. MacKenzie. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef	_TAR_H |
| 21 | 21 | #define	_TAR_H	1 |
lib/libc/include/generic-glibc/termios.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 7.1-2 General Terminal Interface	<termios.h> |
lib/libc/include/generic-glibc/tgmath.h+171-26| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard: 7.22 Type-generic math	<tgmath.h> |
| ... | ... | @@ -43,6 +43,25 @@ |
| 43 | 43 | |
| 44 | 44 | #if __GNUC_PREREQ (2, 7) |
| 45 | 45 | |
| 46 | /* Certain cases of narrowing macros only need to call a single | |
| 47 | function so cannot use __builtin_tgmath and do not need any | |
| 48 | complicated logic. */ | |
| 49 | # if __HAVE_FLOAT128X | |
| 50 | # error "Unsupported _Float128x type for <tgmath.h>." | |
| 51 | # endif | |
| 52 | # if ((__HAVE_FLOAT64X && !__HAVE_FLOAT128)		\ | |
| 53 | || (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)) | |
| 54 | # error "Unsupported combination of types for <tgmath.h>." | |
| 55 | # endif | |
| 56 | # define __TGMATH_2_NARROW_D(F, X, Y)		\ | |
| 57 | (F ## l (X, Y)) | |
| 58 | # define __TGMATH_2_NARROW_F64X(F, X, Y)	\ | |
| 59 | (F ## f128 (X, Y)) | |
| 60 | # if !__HAVE_FLOAT128 | |
| 61 | # define __TGMATH_2_NARROW_F32X(F, X, Y)	\ | |
| 62 | (F ## f64 (X, Y)) | |
| 63 | # endif | |
| 64 | ||
| 46 | 65 | # if __HAVE_BUILTIN_TGMATH |
| 47 | 66 | |
| 48 | 67 | # if __HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT) |
| ... | ... | @@ -94,6 +113,33 @@ |
| 94 | 113 | # define __TGMATH_2C(F, C, X, Y) __builtin_tgmath (__TGMATH_RCFUNCS (F, C) \ |
| 95 | 114 | 						 (X), (Y)) |
| 96 | 115 | |
| 116 | # define __TGMATH_NARROW_FUNCS_F(X) X, X ## l, | |
| 117 | # define __TGMATH_NARROW_FUNCS_F16(X)				\ | |
| 118 | __TG_F32_ARG (X) __TG_F64_ARG (X) __TG_F128_ARG (X)		\ | |
| 119 | __TG_F32X_ARG (X) __TG_F64X_ARG (X) __TG_F128X_ARG (X) | |
| 120 | # define __TGMATH_NARROW_FUNCS_F32(X)				\ | |
| 121 | __TG_F64_ARG (X) __TG_F128_ARG (X)				\ | |
| 122 | __TG_F32X_ARG (X) __TG_F64X_ARG (X) __TG_F128X_ARG (X) | |
| 123 | # define __TGMATH_NARROW_FUNCS_F64(X)		\ | |
| 124 | __TG_F128_ARG (X)				\ | |
| 125 | __TG_F64X_ARG (X) __TG_F128X_ARG (X) | |
| 126 | # define __TGMATH_NARROW_FUNCS_F32X(X)		\ | |
| 127 | __TG_F64X_ARG (X) __TG_F128X_ARG (X)	\ | |
| 128 | __TG_F64_ARG (X) __TG_F128_ARG (X) | |
| 129 | ||
| 130 | # define __TGMATH_2_NARROW_F(F, X, Y)				\ | |
| 131 | __builtin_tgmath (__TGMATH_NARROW_FUNCS_F (F) (X), (Y)) | |
| 132 | # define __TGMATH_2_NARROW_F16(F, X, Y)			\ | |
| 133 | __builtin_tgmath (__TGMATH_NARROW_FUNCS_F16 (F) (X), (Y)) | |
| 134 | # define __TGMATH_2_NARROW_F32(F, X, Y)			\ | |
| 135 | __builtin_tgmath (__TGMATH_NARROW_FUNCS_F32 (F) (X), (Y)) | |
| 136 | # define __TGMATH_2_NARROW_F64(F, X, Y)			\ | |
| 137 | __builtin_tgmath (__TGMATH_NARROW_FUNCS_F64 (F) (X), (Y)) | |
| 138 | # if __HAVE_FLOAT128 | |
| 139 | # define __TGMATH_2_NARROW_F32X(F, X, Y)			\ | |
| 140 | __builtin_tgmath (__TGMATH_NARROW_FUNCS_F32X (F) (X), (Y)) | |
| 141 | # endif | |
| 142 | ||
| 97 | 143 | # else /* !__HAVE_BUILTIN_TGMATH. */ |
| 98 | 144 | |
| 99 | 145 | # ifdef __NO_LONG_DOUBLE_MATH |
| ... | ... | @@ -230,8 +276,6 @@ |
| 230 | 276 | __TGMATH_2 (Fct, (Val1), (Val2)) |
| 231 | 277 | # define __TGMATH_BINARY_REAL_STD_ONLY(Val1, Val2, Fct)	\ |
| 232 | 278 | __TGMATH_2STD (Fct, (Val1), (Val2)) |
| 233 | # define __TGMATH_BINARY_REAL_RET_ONLY(Val1, Val2, Fct)	\ | |
| 234 | __TGMATH_2 (Fct, (Val1), (Val2)) | |
| 235 | 279 | # define __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY(Val1, Val2, Val3, Fct) \ |
| 236 | 280 | __TGMATH_3 (Fct, (Val1), (Val2), (Val3)) |
| 237 | 281 | # define __TGMATH_TERNARY_REAL_ONLY(Val1, Val2, Val3, Fct)	\ |
| ... | ... | @@ -326,18 +370,6 @@ |
| 326 | 370 | 				 + (__tgmath_real_type (Val2)) 0))	 \ |
| 327 | 371 | 		 Fct##f (Val1, Val2))) |
| 328 | 372 | |
| 329 | # define __TGMATH_BINARY_REAL_RET_ONLY(Val1, Val2, Fct) \ | |
| 330 | (__extension__ ((sizeof ((Val1) + (Val2)) > sizeof (double)	 \ | |
| 331 | 		 && __builtin_classify_type ((Val1) + (Val2)) == 8) \ | |
| 332 | 		 ? __TGMATH_F128 ((Val1) + (Val2), Fct, (Val1, Val2)) \ | |
| 333 | 		 __tgml(Fct) (Val1, Val2)				 \ | |
| 334 | 		 : (sizeof (+(Val1)) == sizeof (double)		 \ | |
| 335 | 			|| sizeof (+(Val2)) == sizeof (double)		 \ | |
| 336 | 			|| __builtin_classify_type (Val1) != 8		 \ | |
| 337 | 			|| __builtin_classify_type (Val2) != 8)		 \ | |
| 338 | 		 ? Fct (Val1, Val2)					 \ | |
| 339 | 		 : Fct##f (Val1, Val2))) | |
| 340 | ||
| 341 | 373 | # define __TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY(Val1, Val2, Val3, Fct) \ |
| 342 | 374 | (__extension__ ((sizeof ((Val1) + (Val2)) > sizeof (double)	 \ |
| 343 | 375 | 		 && __builtin_classify_type ((Val1) + (Val2)) == 8) \ |
| ... | ... | @@ -507,6 +539,65 @@ |
| 507 | 539 | 			: (__typeof ((__tgmath_complex_type (Val1)) 0	 \ |
| 508 | 540 | 				 + (__tgmath_complex_type (Val2)) 0))	 \ |
| 509 | 541 | 			 Cfct##f (Val1, Val2)))) |
| 542 | ||
| 543 | # define __TGMATH_2_NARROW_F(F, X, Y)					\ | |
| 544 | (__extension__ (sizeof ((__tgmath_real_type (X)) 0			\ | |
| 545 | 			 + (__tgmath_real_type (Y)) 0) > sizeof (double) \ | |
| 546 | 		 ? F ## l (X, Y)					\ | |
| 547 | 		 : F (X, Y))) | |
| 548 | /* In most cases, these narrowing macro definitions based on sizeof | |
| 549 | ensure that the function called has the right argument format, as | |
| 550 | for other <tgmath.h> macros for compilers before GCC 8, but may not | |
| 551 | have exactly the argument type (among the types with that format) | |
| 552 | specified in the standard logic. | |
| 553 | ||
| 554 | In the case of macros for _Float32x return type, when _Float64x | |
| 555 | exists, _Float64 arguments should result in the *f64 function being | |
| 556 | called while _Float32x arguments should result in the *f64x | |
| 557 | function being called. These cases cannot be distinguished using | |
| 558 | sizeof (or at all if the types are typedefs rather than different | |
| 559 | types). However, for these functions it is OK (does not affect the | |
| 560 | final result) to call a function with any argument format at least | |
| 561 | as wide as all the floating-point arguments, unless that affects | |
| 562 | rounding of integer arguments. Integer arguments are considered to | |
| 563 | have type _Float64, so the *f64 functions are preferred for f32x* | |
| 564 | macros when no argument has a wider floating-point type. */ | |
| 565 | # if __HAVE_FLOAT64X_LONG_DOUBLE && __HAVE_DISTINCT_FLOAT128 | |
| 566 | # define __TGMATH_2_NARROW_F32(F, X, Y)				\ | |
| 567 | (__extension__ (sizeof ((__tgmath_real_type (X)) 0			\ | |
| 568 | 			 + (__tgmath_real_type (Y)) 0) > sizeof (_Float64) \ | |
| 569 | 		 ? __TGMATH_F128 ((X) + (Y), F, (X, Y))		\ | |
| 570 | 		 F ## f64x (X, Y)					\ | |
| 571 | 		 : F ## f64 (X, Y))) | |
| 572 | # define __TGMATH_2_NARROW_F64(F, X, Y)				\ | |
| 573 | (__extension__ (sizeof ((__tgmath_real_type (X)) 0			\ | |
| 574 | 			 + (__tgmath_real_type (Y)) 0) > sizeof (_Float64) \ | |
| 575 | 		 ? __TGMATH_F128 ((X) + (Y), F, (X, Y))		\ | |
| 576 | 		 F ## f64x (X, Y)					\ | |
| 577 | 		 : F ## f128 (X, Y))) | |
| 578 | # define __TGMATH_2_NARROW_F32X(F, X, Y)				\ | |
| 579 | (__extension__ (sizeof ((__tgmath_real_type (X)) 0			\ | |
| 580 | 			 + (__tgmath_real_type (Y)) 0) > sizeof (_Float64) \ | |
| 581 | 		 ? __TGMATH_F128 ((X) + (Y), F, (X, Y))		\ | |
| 582 | 		 F ## f64x (X, Y)					\ | |
| 583 | 		 : F ## f64 (X, Y))) | |
| 584 | # elif __HAVE_FLOAT128 | |
| 585 | # define __TGMATH_2_NARROW_F32(F, X, Y)				\ | |
| 586 | (__extension__ (sizeof ((__tgmath_real_type (X)) 0			\ | |
| 587 | 			 + (__tgmath_real_type (Y)) 0) > sizeof (_Float64) \ | |
| 588 | 		 ? F ## f128 (X, Y)					\ | |
| 589 | 		 : F ## f64 (X, Y))) | |
| 590 | # define __TGMATH_2_NARROW_F64(F, X, Y)	\ | |
| 591 | (F ## f128 (X, Y)) | |
| 592 | # define __TGMATH_2_NARROW_F32X(F, X, Y)				\ | |
| 593 | (__extension__ (sizeof ((__tgmath_real_type (X)) 0			\ | |
| 594 | 			 + (__tgmath_real_type (Y)) 0) > sizeof (_Float32x) \ | |
| 595 | 		 ? F ## f64x (X, Y)					\ | |
| 596 | 		 : F ## f64 (X, Y))) | |
| 597 | # else | |
| 598 | # define __TGMATH_2_NARROW_F32(F, X, Y)	\ | |
| 599 | (F ## f64 (X, Y)) | |
| 600 | # endif | |
| 510 | 601 | # endif /* !__HAVE_BUILTIN_TGMATH. */ |
| 511 | 602 | #else |
| 512 | 603 | # error "Unsupported compiler; you cannot use <tgmath.h>" |
| ... | ... | @@ -661,7 +752,7 @@ |
| 661 | 752 | prevailing rounding mode. */ |
| 662 | 753 | #define rint(Val) __TGMATH_UNARY_REAL_ONLY (Val, rint) |
| 663 | 754 | |
| 664 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 755 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 665 | 756 | /* Return X - epsilon. */ |
| 666 | 757 | # define nextdown(Val) __TGMATH_UNARY_REAL_ONLY (Val, nextdown) |
| 667 | 758 | /* Return X + epsilon. */ |
| ... | ... | @@ -706,7 +797,7 @@ |
| 706 | 797 | #define fma(Val1, Val2, Val3) \ |
| 707 | 798 | __TGMATH_TERNARY_REAL_ONLY (Val1, Val2, Val3, fma) |
| 708 | 799 | |
| 709 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 800 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 710 | 801 | /* Round X to nearest integer value, rounding halfway cases to even. */ |
| 711 | 802 | # define roundeven(Val) __TGMATH_UNARY_REAL_ONLY (Val, roundeven) |
| 712 | 803 | |
| ... | ... | @@ -730,14 +821,6 @@ |
| 730 | 821 | |
| 731 | 822 | /* Return value with minimum magnitude. */ |
| 732 | 823 | # define fminmag(Val1, Val2) __TGMATH_BINARY_REAL_ONLY (Val1, Val2, fminmag) |
| 733 | ||
| 734 | /* Total order operation. */ | |
| 735 | # define totalorder(Val1, Val2)					\ | |
| 736 | __TGMATH_BINARY_REAL_RET_ONLY (Val1, Val2, totalorder) | |
| 737 | ||
| 738 | /* Total order operation on absolute values. */ | |
| 739 | # define totalordermag(Val1, Val2)				\ | |
| 740 | __TGMATH_BINARY_REAL_RET_ONLY (Val1, Val2, totalordermag) | |
| 741 | 824 | #endif |
| 742 | 825 | |
| 743 | 826 | |
| ... | ... | @@ -761,4 +844,66 @@ |
| 761 | 844 | /* Real part of Z. */ |
| 762 | 845 | #define creal(Val) __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME (Val, creal) |
| 763 | 846 | |
| 847 | ||
| 848 | /* Narrowing functions. */ | |
| 849 | ||
| 850 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 851 | ||
| 852 | /* Add. */ | |
| 853 | # define fadd(Val1, Val2) __TGMATH_2_NARROW_F (fadd, Val1, Val2) | |
| 854 | # define dadd(Val1, Val2) __TGMATH_2_NARROW_D (dadd, Val1, Val2) | |
| 855 | ||
| 856 | /* Divide. */ | |
| 857 | # define fdiv(Val1, Val2) __TGMATH_2_NARROW_F (fdiv, Val1, Val2) | |
| 858 | # define ddiv(Val1, Val2) __TGMATH_2_NARROW_D (ddiv, Val1, Val2) | |
| 859 | ||
| 860 | /* Multiply. */ | |
| 861 | # define fmul(Val1, Val2) __TGMATH_2_NARROW_F (fmul, Val1, Val2) | |
| 862 | # define dmul(Val1, Val2) __TGMATH_2_NARROW_D (dmul, Val1, Val2) | |
| 863 | ||
| 864 | /* Subtract. */ | |
| 865 | # define fsub(Val1, Val2) __TGMATH_2_NARROW_F (fsub, Val1, Val2) | |
| 866 | # define dsub(Val1, Val2) __TGMATH_2_NARROW_D (dsub, Val1, Val2) | |
| 867 | ||
| 868 | #endif | |
| 869 | ||
| 870 | #if __GLIBC_USE (IEC_60559_TYPES_EXT) | |
| 871 | ||
| 872 | # if __HAVE_FLOAT16 | |
| 873 | # define f16add(Val1, Val2) __TGMATH_2_NARROW_F16 (f16add, Val1, Val2) | |
| 874 | # define f16div(Val1, Val2) __TGMATH_2_NARROW_F16 (f16div, Val1, Val2) | |
| 875 | # define f16mul(Val1, Val2) __TGMATH_2_NARROW_F16 (f16mul, Val1, Val2) | |
| 876 | # define f16sub(Val1, Val2) __TGMATH_2_NARROW_F16 (f16sub, Val1, Val2) | |
| 877 | # endif | |
| 878 | ||
| 879 | # if __HAVE_FLOAT32 | |
| 880 | # define f32add(Val1, Val2) __TGMATH_2_NARROW_F32 (f32add, Val1, Val2) | |
| 881 | # define f32div(Val1, Val2) __TGMATH_2_NARROW_F32 (f32div, Val1, Val2) | |
| 882 | # define f32mul(Val1, Val2) __TGMATH_2_NARROW_F32 (f32mul, Val1, Val2) | |
| 883 | # define f32sub(Val1, Val2) __TGMATH_2_NARROW_F32 (f32sub, Val1, Val2) | |
| 884 | # endif | |
| 885 | ||
| 886 | # if __HAVE_FLOAT64 && (__HAVE_FLOAT64X || __HAVE_FLOAT128) | |
| 887 | # define f64add(Val1, Val2) __TGMATH_2_NARROW_F64 (f64add, Val1, Val2) | |
| 888 | # define f64div(Val1, Val2) __TGMATH_2_NARROW_F64 (f64div, Val1, Val2) | |
| 889 | # define f64mul(Val1, Val2) __TGMATH_2_NARROW_F64 (f64mul, Val1, Val2) | |
| 890 | # define f64sub(Val1, Val2) __TGMATH_2_NARROW_F64 (f64sub, Val1, Val2) | |
| 891 | # endif | |
| 892 | ||
| 893 | # if __HAVE_FLOAT32X | |
| 894 | # define f32xadd(Val1, Val2) __TGMATH_2_NARROW_F32X (f32xadd, Val1, Val2) | |
| 895 | # define f32xdiv(Val1, Val2) __TGMATH_2_NARROW_F32X (f32xdiv, Val1, Val2) | |
| 896 | # define f32xmul(Val1, Val2) __TGMATH_2_NARROW_F32X (f32xmul, Val1, Val2) | |
| 897 | # define f32xsub(Val1, Val2) __TGMATH_2_NARROW_F32X (f32xsub, Val1, Val2) | |
| 898 | # endif | |
| 899 | ||
| 900 | # if __HAVE_FLOAT64X && (__HAVE_FLOAT128X || __HAVE_FLOAT128) | |
| 901 | # define f64xadd(Val1, Val2) __TGMATH_2_NARROW_F64X (f64xadd, Val1, Val2) | |
| 902 | # define f64xdiv(Val1, Val2) __TGMATH_2_NARROW_F64X (f64xdiv, Val1, Val2) | |
| 903 | # define f64xmul(Val1, Val2) __TGMATH_2_NARROW_F64X (f64xmul, Val1, Val2) | |
| 904 | # define f64xsub(Val1, Val2) __TGMATH_2_NARROW_F64X (f64xsub, Val1, Val2) | |
| 905 | # endif | |
| 906 | ||
| 907 | #endif | |
| 908 | ||
| 764 | 909 | #endif /* tgmath.h */ |
| \ No newline at end of file |
lib/libc/include/generic-glibc/thread_db.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* thread_db.h -- interface to libthread_db.so library for debugging -lpthread |
| 2 | Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _THREAD_DB_H |
| 20 | 20 | #define _THREAD_DB_H	1 |
lib/libc/include/generic-glibc/threads.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* ISO C11 Standard: 7.26 - Thread support library <threads.h>. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _THREADS_H |
| 20 | 20 | #define _THREADS_H	1 |
lib/libc/include/generic-glibc/time.h+6-12| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard: 7.23 Date and time	<time.h> |
| ... | ... | @@ -122,7 +122,7 @@ extern struct tm *gmtime (const time_t *__timer) __THROW; |
| 122 | 122 | of *TIMER in the local timezone. */ |
| 123 | 123 | extern struct tm *localtime (const time_t *__timer) __THROW; |
| 124 | 124 | |
| 125 | #ifdef __USE_POSIX | |
| 125 | #if defined __USE_POSIX || __GLIBC_USE (ISOC2X) | |
| 126 | 126 | /* Return the `struct tm' representation of *TIMER in UTC, |
| 127 | 127 | using *TP to store the result. */ |
| 128 | 128 | extern struct tm *gmtime_r (const time_t *__restrict __timer, |
| ... | ... | @@ -132,7 +132,7 @@ extern struct tm *gmtime_r (const time_t *__restrict __timer, |
| 132 | 132 | using *TP to store the result. */ |
| 133 | 133 | extern struct tm *localtime_r (const time_t *__restrict __timer, |
| 134 | 134 | 			 struct tm *__restrict __tp) __THROW; |
| 135 | #endif	/* POSIX */ | |
| 135 | #endif	/* POSIX || C2X */ | |
| 136 | 136 | |
| 137 | 137 | /* Return a string of the form "Day Mon dd hh:mm:ss yyyy\n" |
| 138 | 138 | that is the representation of TP in this format. */ |
| ... | ... | @@ -141,7 +141,7 @@ extern char *asctime (const struct tm *__tp) __THROW; |
| 141 | 141 | /* Equivalent to `asctime (localtime (timer))'. */ |
| 142 | 142 | extern char *ctime (const time_t *__timer) __THROW; |
| 143 | 143 | |
| 144 | #ifdef __USE_POSIX | |
| 144 | #if defined __USE_POSIX || __GLIBC_USE (ISOC2X) | |
| 145 | 145 | /* Reentrant versions of the above functions. */ |
| 146 | 146 | |
| 147 | 147 | /* Return in BUF a string of the form "Day Mon dd hh:mm:ss yyyy\n" |
| ... | ... | @@ -152,7 +152,7 @@ extern char *asctime_r (const struct tm *__restrict __tp, |
| 152 | 152 | /* Equivalent to `asctime_r (localtime_r (timer, *TMP*), buf)'. */ |
| 153 | 153 | extern char *ctime_r (const time_t *__restrict __timer, |
| 154 | 154 | 		 char *__restrict __buf) __THROW; |
| 155 | #endif	/* POSIX */ | |
| 155 | #endif	/* POSIX || C2X */ | |
| 156 | 156 | |
| 157 | 157 | |
| 158 | 158 | /* Defined in localtime.c. */ |
| ... | ... | @@ -175,12 +175,6 @@ extern int daylight; |
| 175 | 175 | extern long int timezone; |
| 176 | 176 | #endif |
| 177 | 177 | |
| 178 | #ifdef __USE_MISC | |
| 179 | /* Set the system time to *WHEN. | |
| 180 | This call is restricted to the superuser. */ | |
| 181 | extern int stime (const time_t *__when) __THROW; | |
| 182 | #endif | |
| 183 | ||
| 184 | 178 | |
| 185 | 179 | /* Nonzero if YEAR is a leap year (every 4 years, |
| 186 | 180 | except every 100th isn't, and every 400th is). */ |
lib/libc/include/generic-glibc/uchar.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | * ISO C11 Standard: 7.28 |
lib/libc/include/generic-glibc/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* System V ABI compliant user-level context switching support. */ |
| 19 | 19 |
lib/libc/include/generic-glibc/ulimit.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _ULIMIT_H |
| 19 | 19 | #define _ULIMIT_H	1 |
lib/libc/include/generic-glibc/unistd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 2.10 Symbolic Constants		<unistd.h> |
lib/libc/include/generic-glibc/utime.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	POSIX Standard: 5.6.6 Set File Access and Modification Times <utime.h> |
lib/libc/include/generic-glibc/utmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_UTMP_H |
| 19 | 19 | #define	_UTMP_H	1 |
lib/libc/include/generic-glibc/utmpx.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_UTMPX_H |
| 19 | 19 | #define	_UTMPX_H	1 |
lib/libc/include/generic-glibc/values.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Old compatibility names for <limits.h> and <float.h> constants. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This interface is obsolete. New programs should use |
| 20 | 20 | <limits.h> and/or <float.h> instead of <values.h>. */ |
lib/libc/include/generic-glibc/wchar.h+4-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | * ISO C99 Standard: 7.24 |
| ... | ... | @@ -685,7 +685,8 @@ extern int vswscanf (const wchar_t *__restrict __s, |
| 685 | 685 | 		 __gnuc_va_list __arg) |
| 686 | 686 | __THROW /* __attribute__ ((__format__ (__wscanf__, 2, 0))) */; |
| 687 | 687 | |
| 688 | # if !defined __USE_GNU \ | |
| 688 | /* Same redirection as above for the v*wscanf family. */ | |
| 689 | # if !__GLIBC_USE (DEPRECATED_SCANF) \ | |
| 689 | 690 | && (!defined __LDBL_COMPAT || !defined __REDIRECT) \ |
| 690 | 691 | && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K) |
| 691 | 692 | # ifdef __REDIRECT |
lib/libc/include/generic-glibc/wctype.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* |
| 19 | 19 | *	ISO C99 Standard: 7.25 |
lib/libc/include/generic-glibc/wordexp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_WORDEXP_H |
| 19 | 19 | #define	_WORDEXP_H	1 |
lib/libc/include/i386-linux-gnu/bits/endian.h deleted-7| ... | ... | @@ -1,7 +0,0 @@ |
| 1 | /* i386/x86_64 are little-endian. */ | |
| 2 | ||
| 3 | #ifndef _ENDIAN_H | |
| 4 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 5 | #endif | |
| 6 | ||
| 7 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| \ No newline at end of file |
lib/libc/include/i386-linux-gnu/bits/endianness.h created+11| ... | ... | @@ -0,0 +1,11 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* i386/x86_64 are little-endian. */ | |
| 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| 10 | ||
| 11 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/i386-linux-gnu/bits/environments.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _UNISTD_H |
| 19 | 19 | # error "Never include this file directly. Use <unistd.h> instead" |
lib/libc/include/i386-linux-gnu/bits/epoll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EPOLL_H |
| 19 | 19 | # error "Never use <bits/epoll.h> directly; include <sys/epoll.h> instead." |
lib/libc/include/i386-linux-gnu/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux/x86. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/i386-linux-gnu/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -101,7 +101,7 @@ fenv_t; |
| 101 | 101 | # define FE_NOMASK_ENV	((const fenv_t *) -2) |
| 102 | 102 | #endif |
| 103 | 103 | |
| 104 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 104 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 105 | 105 | /* Type representing floating-point control modes. */ |
| 106 | 106 | typedef struct |
| 107 | 107 | { |
lib/libc/include/i386-linux-gnu/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on x86. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/i386-linux-gnu/bits/flt-eval-method.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define __GLIBC_FLT_EVAL_METHOD. x86 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/flt-eval-method.h> directly; include <math.h> instead." |
lib/libc/include/i386-linux-gnu/bits/fp-logb.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN. x86 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/fp-logb.h> directly; include <math.h> instead." |
lib/libc/include/i386-linux-gnu/bits/indirect-return.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definition of __INDIRECT_RETURN. x86 version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _UCONTEXT_H |
| 20 | 20 | # error "Never include <bits/indirect-return.h> directly; use <ucontext.h> instead." |
lib/libc/include/i386-linux-gnu/bits/ipctypes.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IPC_H |
| 20 | 20 | # error "Never use <bits/ipctypes.h> directly; include <sys/ipc.h> instead." |
lib/libc/include/i386-linux-gnu/bits/iscanonical.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define iscanonical macro. ldbl-96 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/iscanonical.h> directly; include <math.h> instead." |
lib/libc/include/i386-linux-gnu/bits/link.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_LINK_H |
| 19 | 19 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/i386-linux-gnu/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. ldbl-96 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,8 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* long double is distinct from double, so there is nothing to |
| 20 | define here. */ | |
| \ No newline at end of file | ||
| 20 | define here. */ | |
| 21 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/i386-linux-gnu/bits/math-vector.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Platform-specific SIMD declarations of math functions. |
| 2 | Copyright (C) 2014-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never include <bits/math-vector.h> directly;\ |
lib/libc/include/i386-linux-gnu/bits/mman.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/x86_64 version. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
lib/libc/include/i386-linux-gnu/bits/procfs-id.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. x86 version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-id.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/i386-linux-gnu/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. x86 version. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/i386-linux-gnu/bits/pthreadtypes-arch.h+2-53| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_PTHREADTYPES_ARCH_H |
| 19 | 19 | #define _BITS_PTHREADTYPES_ARCH_H	1 |
| ... | ... | @@ -24,20 +24,17 @@ |
| 24 | 24 | # if __WORDSIZE == 64 |
| 25 | 25 | # define __SIZEOF_PTHREAD_MUTEX_T 40 |
| 26 | 26 | # define __SIZEOF_PTHREAD_ATTR_T 56 |
| 27 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 28 | 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 |
| 29 | 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 |
| 30 | 29 | # else |
| 31 | 30 | # define __SIZEOF_PTHREAD_MUTEX_T 32 |
| 32 | 31 | # define __SIZEOF_PTHREAD_ATTR_T 32 |
| 33 | # define __SIZEOF_PTHREAD_MUTEX_T 32 | |
| 34 | 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 44 |
| 35 | 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 |
| 36 | 34 | # endif |
| 37 | 35 | #else |
| 38 | 36 | # define __SIZEOF_PTHREAD_MUTEX_T 24 |
| 39 | 37 | # define __SIZEOF_PTHREAD_ATTR_T 36 |
| 40 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 41 | 38 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 |
| 42 | 39 | # define __SIZEOF_PTHREAD_BARRIER_T 20 |
| 43 | 40 | #endif |
| ... | ... | @@ -47,57 +44,9 @@ |
| 47 | 44 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 |
| 48 | 45 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 |
| 49 | 46 | |
| 50 | /* Definitions for internal mutex struct. */ | |
| 51 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 52 | #define __PTHREAD_COMPAT_PADDING_END | |
| 53 | #define __PTHREAD_MUTEX_LOCK_ELISION 1 | |
| 54 | #ifdef __x86_64__ | |
| 55 | # define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 0 | |
| 56 | # define __PTHREAD_MUTEX_USE_UNION 0 | |
| 57 | #else | |
| 58 | # define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 1 | |
| 59 | # define __PTHREAD_MUTEX_USE_UNION 1 | |
| 60 | #endif | |
| 61 | ||
| 62 | 47 | #define __LOCK_ALIGNMENT |
| 63 | 48 | #define __ONCE_ALIGNMENT |
| 64 | 49 | |
| 65 | struct __pthread_rwlock_arch_t | |
| 66 | { | |
| 67 | unsigned int __readers; | |
| 68 | unsigned int __writers; | |
| 69 | unsigned int __wrphase_futex; | |
| 70 | unsigned int __writers_futex; | |
| 71 | unsigned int __pad3; | |
| 72 | unsigned int __pad4; | |
| 73 | #ifdef __x86_64__ | |
| 74 | int __cur_writer; | |
| 75 | int __shared; | |
| 76 | signed char __rwelision; | |
| 77 | # ifdef __ILP32__ | |
| 78 | unsigned char __pad1[3]; | |
| 79 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, { 0, 0, 0 } | |
| 80 | # else | |
| 81 | unsigned char __pad1[7]; | |
| 82 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, { 0, 0, 0, 0, 0, 0, 0 } | |
| 83 | # endif | |
| 84 | unsigned long int __pad2; | |
| 85 | /* FLAGS must stay at this position in the structure to maintain | |
| 86 | binary compatibility. */ | |
| 87 | unsigned int __flags; | |
| 88 | # define __PTHREAD_RWLOCK_INT_FLAGS_SHARED	1 | |
| 89 | #else | |
| 90 | /* FLAGS must stay at this position in the structure to maintain | |
| 91 | binary compatibility. */ | |
| 92 | unsigned char __flags; | |
| 93 | unsigned char __shared; | |
| 94 | signed char __rwelision; | |
| 95 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 96 | unsigned char __pad2; | |
| 97 | int __cur_writer; | |
| 98 | #endif | |
| 99 | }; | |
| 100 | ||
| 101 | 50 | #ifndef __x86_64__ |
| 102 | 51 | /* Extra attributes for the cleanup functions. */ |
| 103 | 52 | # define __cleanup_fct_attribute __attribute__ ((__regparm__ (1))) |
lib/libc/include/i386-linux-gnu/bits/select.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_SELECT_H |
| 19 | 19 | # error "Never use <bits/select.h> directly; include <sys/select.h> instead." |
lib/libc/include/i386-linux-gnu/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. x86 version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/i386-linux-gnu/bits/semaphore.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SEMAPHORE_H |
| 20 | 20 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/i386-linux-gnu/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Define the machine-dependent type `jmp_buf'. x86-64 version. */ |
| 19 | 19 | #ifndef _BITS_SETJMP_H |
lib/libc/include/i386-linux-gnu/bits/sigcontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_SIGCONTEXT_H |
| 19 | 19 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/i386-linux-gnu/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/i386-linux-gnu/bits/struct_mutex.h created+63| ... | ... | @@ -0,0 +1,63 @@ |
| 1 | /* x86 internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #ifdef __x86_64__ | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #ifdef __x86_64__ | |
| 34 | short __spins; | |
| 35 | short __elision; | |
| 36 | __pthread_list_t __list; | |
| 37 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 38 | #else | |
| 39 | unsigned int __nusers; | |
| 40 | __extension__ union | |
| 41 | { | |
| 42 | struct | |
| 43 | { | |
| 44 | short __espins; | |
| 45 | short __eelision; | |
| 46 | # define __spins __elision_data.__espins | |
| 47 | # define __elision __elision_data.__eelision | |
| 48 | } __elision_data; | |
| 49 | __pthread_slist_t __list; | |
| 50 | }; | |
| 51 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 52 | #endif | |
| 53 | }; | |
| 54 | ||
| 55 | #ifdef __x86_64__ | |
| 56 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 57 | 0, 0, 0, 0, __kind, 0, 0, { 0, 0 } | |
| 58 | #else | |
| 59 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 60 | 0, 0, 0, __kind, 0, { { 0, 0 } } | |
| 61 | #endif | |
| 62 | ||
| 63 | #endif | |
| \ No newline at end of file |
lib/libc/include/i386-linux-gnu/bits/struct_rwlock.h created+65| ... | ... | @@ -0,0 +1,65 @@ |
| 1 | /* x86 internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 4 | This file is part of the GNU C Library. | |
| 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with the GNU C Library; if not, see | |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | |
| 21 | #define _RWLOCK_INTERNAL_H | |
| 22 | ||
| 23 | struct __pthread_rwlock_arch_t | |
| 24 | { | |
| 25 | unsigned int __readers; | |
| 26 | unsigned int __writers; | |
| 27 | unsigned int __wrphase_futex; | |
| 28 | unsigned int __writers_futex; | |
| 29 | unsigned int __pad3; | |
| 30 | unsigned int __pad4; | |
| 31 | #ifdef __x86_64__ | |
| 32 | int __cur_writer; | |
| 33 | int __shared; | |
| 34 | signed char __rwelision; | |
| 35 | # ifdef __ILP32__ | |
| 36 | unsigned char __pad1[3]; | |
| 37 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, { 0, 0, 0 } | |
| 38 | # else | |
| 39 | unsigned char __pad1[7]; | |
| 40 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, { 0, 0, 0, 0, 0, 0, 0 } | |
| 41 | # endif | |
| 42 | unsigned long int __pad2; | |
| 43 | /* FLAGS must stay at this position in the structure to maintain | |
| 44 | binary compatibility. */ | |
| 45 | unsigned int __flags; | |
| 46 | #else /* __x86_64__ */ | |
| 47 | /* FLAGS must stay at this position in the structure to maintain | |
| 48 | binary compatibility. */ | |
| 49 | unsigned char __flags; | |
| 50 | unsigned char __shared; | |
| 51 | signed char __rwelision; | |
| 52 | unsigned char __pad2; | |
| 53 | int __cur_writer; | |
| 54 | #endif | |
| 55 | }; | |
| 56 | ||
| 57 | #ifdef __x86_64__ | |
| 58 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 59 | 0, 0, 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, __flags | |
| 60 | #else | |
| 61 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 62 | 0, 0, 0, 0, 0, 0, __flags, 0, 0, 0, 0 | |
| 63 | #endif | |
| 64 | ||
| 65 | #endif | |
| \ No newline at end of file |
lib/libc/include/i386-linux-gnu/bits/sysctl.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if defined __x86_64__ && defined __ILP32__ |
| 19 | 19 | # error "sysctl system call is unsupported in x32 kernel" |
lib/libc/include/i386-linux-gnu/bits/timesize.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit size of the time_t type at glibc build time, x86-64 and x32 case. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if defined __x86_64__ && defined __ILP32__ |
| 20 | 20 | /* For x32, time is 64-bit even though word size is 32-bit. */ |
lib/libc/include/i386-linux-gnu/bits/typesizes.h+7-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_TYPES_H |
| 20 | 20 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." |
| ... | ... | @@ -84,8 +84,13 @@ |
| 84 | 84 | |
| 85 | 85 | /* And for __rlim_t and __rlim64_t. */ |
| 86 | 86 | # define __RLIM_T_MATCHES_RLIM64_T	1 |
| 87 | ||
| 88 | /* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */ | |
| 89 | # define __STATFS_MATCHES_STATFS64 1 | |
| 87 | 90 | #else |
| 88 | 91 | # define __RLIM_T_MATCHES_RLIM64_T	0 |
| 92 | ||
| 93 | # define __STATFS_MATCHES_STATFS64 0 | |
| 89 | 94 | #endif |
| 90 | 95 | |
| 91 | 96 | /* Number of descriptors that can fit in an `fd_set'. */ |
lib/libc/include/i386-linux-gnu/finclude/math-vector-fortran.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- |
| 2 | ! Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | ! Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | ! This file is part of the GNU C Library. |
| 4 | 4 | ! |
| 5 | 5 | ! The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | ! |
| 15 | 15 | ! You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | ! License along with the GNU C Library; if not, see |
| 17 | ! <http://www.gnu.org/licenses/>. | |
| 17 | ! <https://www.gnu.org/licenses/>. | |
| 18 | 18 | |
| 19 | 19 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x86_64') |
| 20 | 20 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x86_64') |
lib/libc/include/i386-linux-gnu/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word bits. x86 version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Olaf Flebbe. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _FPU_CONTROL_H |
| 21 | 21 | #define _FPU_CONTROL_H	1 |
lib/libc/include/i386-linux-gnu/sys/elf.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_ELF_H |
| 19 | 19 | #define _SYS_ELF_H	1 |
lib/libc/include/i386-linux-gnu/sys/ptrace.h+7-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/x86 version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PTRACE_H |
| 21 | 21 | #define _SYS_PTRACE_H	1 |
| ... | ... | @@ -186,8 +186,12 @@ enum __ptrace_request |
| 186 | 186 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 187 | 187 | |
| 188 | 188 | /* Get seccomp BPF filter metadata. */ |
| 189 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 189 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 190 | 190 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 191 | ||
| 192 | /* Get information about system call. */ | |
| 193 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 194 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 191 | 195 | }; |
| 192 | 196 | |
| 193 | 197 |
lib/libc/include/i386-linux-gnu/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_UCONTEXT_H |
| 19 | 19 | #define _SYS_UCONTEXT_H	1 |
lib/libc/include/i386-linux-gnu/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 | #define _SYS_USER_H	1 |
lib/libc/include/mips-linux-gnu/bits/dlfcn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _DLFCN_H |
| 20 | 20 | # error "Never use <bits/dlfcn.h> directly; include <dlfcn.h> instead." |
lib/libc/include/mips-linux-gnu/bits/errno.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Error constants. MIPS/Linux specific version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_ERRNO_H |
| 20 | 20 |
lib/libc/include/mips-linux-gnu/bits/eventfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EVENTFD_H |
| 19 | 19 | # error "Never use <bits/eventfd.h> directly; include <sys/eventfd.h> instead." |
lib/libc/include/mips-linux-gnu/bits/inotify.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_INOTIFY_H |
| 19 | 19 | # error "Never use <bits/inotify.h> directly; include <sys/inotify.h> instead." |
lib/libc/include/mips-linux-gnu/bits/ioctl-types.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IOCTL_H |
| 20 | 20 | # error "Never use <bits/ioctl-types.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/mips-linux-gnu/bits/ipc.h deleted-54| ... | ... | @@ -1,54 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | ||
| 24 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 25 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 26 | #define IPC_EXCL	02000		/* Fail if key exists.	*/ | |
| 27 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 28 | ||
| 29 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 30 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 31 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 32 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 33 | #ifdef __USE_GNU | |
| 34 | # define IPC_INFO	3		/* See ipcs. */ | |
| 35 | #endif | |
| 36 | ||
| 37 | /* Special key values.	*/ | |
| 38 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key.	 */ | |
| 39 | ||
| 40 | ||
| 41 | /* Data structure used to pass permission information to IPC operations. */ | |
| 42 | struct ipc_perm | |
| 43 | { | |
| 44 | __key_t __key;			/* Key. */ | |
| 45 | unsigned int uid;			/* Owner's user ID. */ | |
| 46 | unsigned int gid;			/* Owner's group ID. */ | |
| 47 | unsigned int cuid;			/* Creator's user ID. */ | |
| 48 | unsigned int cgid;			/* Creator's group ID.	*/ | |
| 49 | unsigned int mode;			/* Read/write permission. */ | |
| 50 | unsigned short int __seq;		/* Sequence number. */ | |
| 51 | unsigned short int __pad1; | |
| 52 | unsigned long int __glibc_reserved1; | |
| 53 | unsigned long int __glibc_reserved2; | |
| 54 | }; | |
| \ No newline at end of file |
lib/libc/include/mips-linux-gnu/bits/ipctypes.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | * Never include <bits/ipctypes.h> directly. |
lib/libc/include/mips-linux-gnu/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 20 | 20 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/mips-linux-gnu/bits/mman.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
lib/libc/include/mips-linux-gnu/bits/msq-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct msqid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MSG_H |
| 20 | 20 | # error "Never use <bits/msq-pad.h> directly; include <sys/msg.h> instead." |
lib/libc/include/mips-linux-gnu/bits/poll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_POLL_H |
| 19 | 19 | # error "Never use <bits/poll.h> directly; include <sys/poll.h> instead." |
lib/libc/include/mips-linux-gnu/bits/pthreadtypes-arch.h created+44| ... | ... | @@ -0,0 +1,44 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | |
| 2 | Copyright (C) 2005-2020 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 | <https://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _BITS_PTHREADTYPES_ARCH_H | |
| 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 21 | ||
| 22 | #include <bits/endian.h> | |
| 23 | ||
| 24 | #if _MIPS_SIM == _ABI64 | |
| 25 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 26 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 29 | #else | |
| 30 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 31 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 34 | #endif | |
| 35 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 36 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 37 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 38 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 39 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 40 | ||
| 41 | #define __LOCK_ALIGNMENT | |
| 42 | #define __ONCE_ALIGNMENT | |
| 43 | ||
| 44 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/mips-linux-gnu/bits/resource.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit values & structures for resource limits. Linux/MIPS version. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_RESOURCE_H |
| 20 | 20 | # error "Never use <bits/resource.h> directly; include <sys/resource.h> instead." |
lib/libc/include/mips-linux-gnu/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/mips-linux-gnu/bits/shm-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct shmid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shm-pad.h> directly; include <sys/shm.h> instead." |
lib/libc/include/mips-linux-gnu/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/mips-linux-gnu/bits/sigaction.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* The proper definitions for Linux/MIPS's sigaction. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGACTION_H |
| 20 | 20 | #define _BITS_SIGACTION_H 1 |
lib/libc/include/mips-linux-gnu/bits/sigcontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 2 | 2 | |
| 3 | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | 4 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | |
| 13 | 13 | You should have received a copy of the GNU Lesser General Public |
| 14 | 14 | License along with the GNU C Library. If not, see |
| 15 | <http://www.gnu.org/licenses/>. */ | |
| 15 | <https://www.gnu.org/licenses/>. */ | |
| 16 | 16 | |
| 17 | 17 | #ifndef _BITS_SIGCONTEXT_H |
| 18 | 18 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/mips-linux-gnu/bits/signalfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_SIGNALFD_H |
| 19 | 19 | # error "Never use <bits/signalfd.h> directly; include <sys/signalfd.h> instead." |
lib/libc/include/mips-linux-gnu/bits/signum.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Signal number definitions. Linux/MIPS version. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGNUM_H |
| 20 | 20 | #define _BITS_SIGNUM_H 1 |
lib/libc/include/mips-linux-gnu/bits/socket-constants.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." |
lib/libc/include/mips-linux-gnu/bits/socket_type.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define enum __socket_type for Linux/MIPS. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket_type.h> directly; use <sys/socket.h> instead." |
lib/libc/include/mips-linux-gnu/bits/statfs.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_STATFS_H |
| 19 | 19 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." |
lib/libc/include/mips-linux-gnu/bits/struct_mutex.h created+56| ... | ... | @@ -0,0 +1,56 @@ |
| 1 | /* MIPS internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #if _MIPS_SIM == _ABI64 | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #if _MIPS_SIM == _ABI64 | |
| 34 | int __spins; | |
| 35 | __pthread_list_t __list; | |
| 36 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 37 | #else | |
| 38 | unsigned int __nusers; | |
| 39 | __extension__ union | |
| 40 | { | |
| 41 | int __spins; | |
| 42 | __pthread_slist_t __list; | |
| 43 | }; | |
| 44 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 45 | #endif | |
| 46 | }; | |
| 47 | ||
| 48 | #if _MIPS_SIM == _ABI64 | |
| 49 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 50 | 0, 0, 0, 0, __kind, 0, { 0, 0 } | |
| 51 | #else | |
| 52 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 53 | 0, 0, 0, __kind, 0, { 0 } | |
| 54 | #endif | |
| 55 | ||
| 56 | #endif | |
| \ No newline at end of file |
lib/libc/include/mips-linux-gnu/bits/termios-c_cc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cc.h> directly; use <termios.h> instead." |
lib/libc/include/mips-linux-gnu/bits/termios-c_lflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_lflag.h> directly; use <termios.h> instead." |
lib/libc/include/mips-linux-gnu/bits/termios-struct.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* struct termios definition. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-struct.h> directly; use <termios.h> instead." |
lib/libc/include/mips-linux-gnu/bits/termios-tcflow.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-tcflow.h> directly; use <termios.h> instead." |
lib/libc/include/mips-linux-gnu/bits/timerfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_TIMERFD_H |
| 19 | 19 | # error "Never use <bits/timerfd.h> directly; include <sys/timerfd.h> instead." |
lib/libc/include/mips-linux-gnu/bits/types/stack_t.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define stack_t. MIPS Linux version. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __stack_t_defined |
| 20 | 20 | #define __stack_t_defined 1 |
lib/libc/include/mips-linux-gnu/ieee754.h+12-9| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,16 +13,19 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | #include <float.h> | |
| 25 | #ifndef __LDBL_MANT_DIG__ | |
| 26 | # include <float.h> | |
| 27 | # define __LDBL_MANT_DIG__ LDBL_MANT_DIG | |
| 28 | #endif | |
| 26 | 29 | |
| 27 | 30 | __BEGIN_DECLS |
| 28 | 31 | |
| ... | ... | @@ -127,7 +130,7 @@ union ieee754_double |
| 127 | 130 | |
| 128 | 131 | #define IEEE754_DOUBLE_BIAS	0x3ff /* Added to exponent. */ |
| 129 | 132 | |
| 130 | #if LDBL_MANT_DIG == 113 | |
| 133 | #if __LDBL_MANT_DIG__ == 113 | |
| 131 | 134 | |
| 132 | 135 | union ieee854_long_double |
| 133 | 136 | { |
| ... | ... | @@ -184,7 +187,7 @@ union ieee854_long_double |
| 184 | 187 | |
| 185 | 188 | #define IEEE854_LONG_DOUBLE_BIAS 0x3fff /* Added to exponent. */ |
| 186 | 189 | |
| 187 | #elif LDBL_MANT_DIG == 64 | |
| 190 | #elif __LDBL_MANT_DIG__ == 64 | |
| 188 | 191 | |
| 189 | 192 | union ieee854_long_double |
| 190 | 193 | { |
| ... | ... | @@ -253,7 +256,7 @@ union ieee854_long_double |
| 253 | 256 | |
| 254 | 257 | #define IEEE854_LONG_DOUBLE_BIAS 0x3fff |
| 255 | 258 | |
| 256 | #elif LDBL_MANT_DIG == 53 | |
| 259 | #elif __LDBL_MANT_DIG__ == 53 | |
| 257 | 260 | |
| 258 | 261 | union ieee854_long_double |
| 259 | 262 | { |
| ... | ... | @@ -316,7 +319,7 @@ union ieee854_long_double |
| 316 | 319 | |
| 317 | 320 | #define IEEE854_LONG_DOUBLE_BIAS	0x3ff /* Added to exponent. */ |
| 318 | 321 | |
| 319 | #endif /* LDBL_MANT_DIG == 53 */ | |
| 322 | #endif /* __LDBL_MANT_DIG__ == 53 */ | |
| 320 | 323 | |
| 321 | 324 | __END_DECLS |
| 322 | 325 |
lib/libc/include/mips64-linux-gnuabi64/bits/dlfcn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _DLFCN_H |
| 20 | 20 | # error "Never use <bits/dlfcn.h> directly; include <dlfcn.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/errno.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Error constants. MIPS/Linux specific version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_ERRNO_H |
| 20 | 20 |
lib/libc/include/mips64-linux-gnuabi64/bits/eventfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EVENTFD_H |
| 19 | 19 | # error "Never use <bits/eventfd.h> directly; include <sys/eventfd.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/inotify.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_INOTIFY_H |
| 19 | 19 | # error "Never use <bits/inotify.h> directly; include <sys/inotify.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/ioctl-types.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IOCTL_H |
| 20 | 20 | # error "Never use <bits/ioctl-types.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/ipc.h deleted-54| ... | ... | @@ -1,54 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | ||
| 24 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 25 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 26 | #define IPC_EXCL	02000		/* Fail if key exists.	*/ | |
| 27 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 28 | ||
| 29 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 30 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 31 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 32 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 33 | #ifdef __USE_GNU | |
| 34 | # define IPC_INFO	3		/* See ipcs. */ | |
| 35 | #endif | |
| 36 | ||
| 37 | /* Special key values.	*/ | |
| 38 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key.	 */ | |
| 39 | ||
| 40 | ||
| 41 | /* Data structure used to pass permission information to IPC operations. */ | |
| 42 | struct ipc_perm | |
| 43 | { | |
| 44 | __key_t __key;			/* Key. */ | |
| 45 | unsigned int uid;			/* Owner's user ID. */ | |
| 46 | unsigned int gid;			/* Owner's group ID. */ | |
| 47 | unsigned int cuid;			/* Creator's user ID. */ | |
| 48 | unsigned int cgid;			/* Creator's group ID.	*/ | |
| 49 | unsigned int mode;			/* Read/write permission. */ | |
| 50 | unsigned short int __seq;		/* Sequence number. */ | |
| 51 | unsigned short int __pad1; | |
| 52 | unsigned long int __glibc_reserved1; | |
| 53 | unsigned long int __glibc_reserved2; | |
| 54 | }; | |
| \ No newline at end of file |
lib/libc/include/mips64-linux-gnuabi64/bits/ipctypes.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | * Never include <bits/ipctypes.h> directly. |
lib/libc/include/mips64-linux-gnuabi64/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 20 | 20 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/mips64-linux-gnuabi64/bits/mman.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/msq-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct msqid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MSG_H |
| 20 | 20 | # error "Never use <bits/msq-pad.h> directly; include <sys/msg.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/poll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_POLL_H |
| 19 | 19 | # error "Never use <bits/poll.h> directly; include <sys/poll.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/pthreadtypes-arch.h created+44| ... | ... | @@ -0,0 +1,44 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | |
| 2 | Copyright (C) 2005-2020 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 | <https://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _BITS_PTHREADTYPES_ARCH_H | |
| 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 21 | ||
| 22 | #include <bits/endian.h> | |
| 23 | ||
| 24 | #if _MIPS_SIM == _ABI64 | |
| 25 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 26 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 29 | #else | |
| 30 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 31 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 34 | #endif | |
| 35 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 36 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 37 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 38 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 39 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 40 | ||
| 41 | #define __LOCK_ALIGNMENT | |
| 42 | #define __ONCE_ALIGNMENT | |
| 43 | ||
| 44 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/mips64-linux-gnuabi64/bits/resource.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit values & structures for resource limits. Linux/MIPS version. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_RESOURCE_H |
| 20 | 20 | # error "Never use <bits/resource.h> directly; include <sys/resource.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/shm-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct shmid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shm-pad.h> directly; include <sys/shm.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/sigaction.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* The proper definitions for Linux/MIPS's sigaction. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGACTION_H |
| 20 | 20 | #define _BITS_SIGACTION_H 1 |
lib/libc/include/mips64-linux-gnuabi64/bits/sigcontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 2 | 2 | |
| 3 | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | 4 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | |
| 13 | 13 | You should have received a copy of the GNU Lesser General Public |
| 14 | 14 | License along with the GNU C Library. If not, see |
| 15 | <http://www.gnu.org/licenses/>. */ | |
| 15 | <https://www.gnu.org/licenses/>. */ | |
| 16 | 16 | |
| 17 | 17 | #ifndef _BITS_SIGCONTEXT_H |
| 18 | 18 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/mips64-linux-gnuabi64/bits/signalfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_SIGNALFD_H |
| 19 | 19 | # error "Never use <bits/signalfd.h> directly; include <sys/signalfd.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/signum.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Signal number definitions. Linux/MIPS version. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGNUM_H |
| 20 | 20 | #define _BITS_SIGNUM_H 1 |
lib/libc/include/mips64-linux-gnuabi64/bits/socket-constants.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/socket_type.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define enum __socket_type for Linux/MIPS. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket_type.h> directly; use <sys/socket.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/statfs.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_STATFS_H |
| 19 | 19 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/struct_mutex.h created+56| ... | ... | @@ -0,0 +1,56 @@ |
| 1 | /* MIPS internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #if _MIPS_SIM == _ABI64 | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #if _MIPS_SIM == _ABI64 | |
| 34 | int __spins; | |
| 35 | __pthread_list_t __list; | |
| 36 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 37 | #else | |
| 38 | unsigned int __nusers; | |
| 39 | __extension__ union | |
| 40 | { | |
| 41 | int __spins; | |
| 42 | __pthread_slist_t __list; | |
| 43 | }; | |
| 44 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 45 | #endif | |
| 46 | }; | |
| 47 | ||
| 48 | #if _MIPS_SIM == _ABI64 | |
| 49 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 50 | 0, 0, 0, 0, __kind, 0, { 0, 0 } | |
| 51 | #else | |
| 52 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 53 | 0, 0, 0, __kind, 0, { 0 } | |
| 54 | #endif | |
| 55 | ||
| 56 | #endif | |
| \ No newline at end of file |
lib/libc/include/mips64-linux-gnuabi64/bits/termios-c_cc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cc.h> directly; use <termios.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/termios-c_lflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_lflag.h> directly; use <termios.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/termios-struct.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* struct termios definition. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-struct.h> directly; use <termios.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/termios-tcflow.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-tcflow.h> directly; use <termios.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/timerfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_TIMERFD_H |
| 19 | 19 | # error "Never use <bits/timerfd.h> directly; include <sys/timerfd.h> instead." |
lib/libc/include/mips64-linux-gnuabi64/bits/types/stack_t.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define stack_t. MIPS Linux version. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __stack_t_defined |
| 20 | 20 | #define __stack_t_defined 1 |
lib/libc/include/mips64-linux-gnuabi64/ieee754.h+12-9| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,16 +13,19 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | #include <float.h> | |
| 25 | #ifndef __LDBL_MANT_DIG__ | |
| 26 | # include <float.h> | |
| 27 | # define __LDBL_MANT_DIG__ LDBL_MANT_DIG | |
| 28 | #endif | |
| 26 | 29 | |
| 27 | 30 | __BEGIN_DECLS |
| 28 | 31 | |
| ... | ... | @@ -127,7 +130,7 @@ union ieee754_double |
| 127 | 130 | |
| 128 | 131 | #define IEEE754_DOUBLE_BIAS	0x3ff /* Added to exponent. */ |
| 129 | 132 | |
| 130 | #if LDBL_MANT_DIG == 113 | |
| 133 | #if __LDBL_MANT_DIG__ == 113 | |
| 131 | 134 | |
| 132 | 135 | union ieee854_long_double |
| 133 | 136 | { |
| ... | ... | @@ -184,7 +187,7 @@ union ieee854_long_double |
| 184 | 187 | |
| 185 | 188 | #define IEEE854_LONG_DOUBLE_BIAS 0x3fff /* Added to exponent. */ |
| 186 | 189 | |
| 187 | #elif LDBL_MANT_DIG == 64 | |
| 190 | #elif __LDBL_MANT_DIG__ == 64 | |
| 188 | 191 | |
| 189 | 192 | union ieee854_long_double |
| 190 | 193 | { |
| ... | ... | @@ -253,7 +256,7 @@ union ieee854_long_double |
| 253 | 256 | |
| 254 | 257 | #define IEEE854_LONG_DOUBLE_BIAS 0x3fff |
| 255 | 258 | |
| 256 | #elif LDBL_MANT_DIG == 53 | |
| 259 | #elif __LDBL_MANT_DIG__ == 53 | |
| 257 | 260 | |
| 258 | 261 | union ieee854_long_double |
| 259 | 262 | { |
| ... | ... | @@ -316,7 +319,7 @@ union ieee854_long_double |
| 316 | 319 | |
| 317 | 320 | #define IEEE854_LONG_DOUBLE_BIAS	0x3ff /* Added to exponent. */ |
| 318 | 321 | |
| 319 | #endif /* LDBL_MANT_DIG == 53 */ | |
| 322 | #endif /* __LDBL_MANT_DIG__ == 53 */ | |
| 320 | 323 | |
| 321 | 324 | __END_DECLS |
| 322 | 325 |
lib/libc/include/mips64-linux-gnuabin32/bits/dlfcn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _DLFCN_H |
| 20 | 20 | # error "Never use <bits/dlfcn.h> directly; include <dlfcn.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/errno.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Error constants. MIPS/Linux specific version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_ERRNO_H |
| 20 | 20 |
lib/libc/include/mips64-linux-gnuabin32/bits/eventfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EVENTFD_H |
| 19 | 19 | # error "Never use <bits/eventfd.h> directly; include <sys/eventfd.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/inotify.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_INOTIFY_H |
| 19 | 19 | # error "Never use <bits/inotify.h> directly; include <sys/inotify.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/ioctl-types.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IOCTL_H |
| 20 | 20 | # error "Never use <bits/ioctl-types.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/ipc.h deleted-54| ... | ... | @@ -1,54 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | ||
| 24 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 25 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 26 | #define IPC_EXCL	02000		/* Fail if key exists.	*/ | |
| 27 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 28 | ||
| 29 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 30 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 31 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 32 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 33 | #ifdef __USE_GNU | |
| 34 | # define IPC_INFO	3		/* See ipcs. */ | |
| 35 | #endif | |
| 36 | ||
| 37 | /* Special key values.	*/ | |
| 38 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key.	 */ | |
| 39 | ||
| 40 | ||
| 41 | /* Data structure used to pass permission information to IPC operations. */ | |
| 42 | struct ipc_perm | |
| 43 | { | |
| 44 | __key_t __key;			/* Key. */ | |
| 45 | unsigned int uid;			/* Owner's user ID. */ | |
| 46 | unsigned int gid;			/* Owner's group ID. */ | |
| 47 | unsigned int cuid;			/* Creator's user ID. */ | |
| 48 | unsigned int cgid;			/* Creator's group ID.	*/ | |
| 49 | unsigned int mode;			/* Read/write permission. */ | |
| 50 | unsigned short int __seq;		/* Sequence number. */ | |
| 51 | unsigned short int __pad1; | |
| 52 | unsigned long int __glibc_reserved1; | |
| 53 | unsigned long int __glibc_reserved2; | |
| 54 | }; | |
| \ No newline at end of file |
lib/libc/include/mips64-linux-gnuabin32/bits/ipctypes.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | * Never include <bits/ipctypes.h> directly. |
lib/libc/include/mips64-linux-gnuabin32/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 20 | 20 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/mips64-linux-gnuabin32/bits/mman.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/msq-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct msqid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MSG_H |
| 20 | 20 | # error "Never use <bits/msq-pad.h> directly; include <sys/msg.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/poll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_POLL_H |
| 19 | 19 | # error "Never use <bits/poll.h> directly; include <sys/poll.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/pthreadtypes-arch.h created+44| ... | ... | @@ -0,0 +1,44 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | |
| 2 | Copyright (C) 2005-2020 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 | <https://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _BITS_PTHREADTYPES_ARCH_H | |
| 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 21 | ||
| 22 | #include <bits/endian.h> | |
| 23 | ||
| 24 | #if _MIPS_SIM == _ABI64 | |
| 25 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 26 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 29 | #else | |
| 30 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 31 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 34 | #endif | |
| 35 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 36 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 37 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 38 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 39 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 40 | ||
| 41 | #define __LOCK_ALIGNMENT | |
| 42 | #define __ONCE_ALIGNMENT | |
| 43 | ||
| 44 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/mips64-linux-gnuabin32/bits/resource.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit values & structures for resource limits. Linux/MIPS version. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_RESOURCE_H |
| 20 | 20 | # error "Never use <bits/resource.h> directly; include <sys/resource.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/shm-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct shmid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shm-pad.h> directly; include <sys/shm.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/sigaction.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* The proper definitions for Linux/MIPS's sigaction. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGACTION_H |
| 20 | 20 | #define _BITS_SIGACTION_H 1 |
lib/libc/include/mips64-linux-gnuabin32/bits/sigcontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 2 | 2 | |
| 3 | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | 4 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | |
| 13 | 13 | You should have received a copy of the GNU Lesser General Public |
| 14 | 14 | License along with the GNU C Library. If not, see |
| 15 | <http://www.gnu.org/licenses/>. */ | |
| 15 | <https://www.gnu.org/licenses/>. */ | |
| 16 | 16 | |
| 17 | 17 | #ifndef _BITS_SIGCONTEXT_H |
| 18 | 18 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/mips64-linux-gnuabin32/bits/signalfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_SIGNALFD_H |
| 19 | 19 | # error "Never use <bits/signalfd.h> directly; include <sys/signalfd.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/signum.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Signal number definitions. Linux/MIPS version. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGNUM_H |
| 20 | 20 | #define _BITS_SIGNUM_H 1 |
lib/libc/include/mips64-linux-gnuabin32/bits/socket-constants.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/socket_type.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define enum __socket_type for Linux/MIPS. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket_type.h> directly; use <sys/socket.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/statfs.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_STATFS_H |
| 19 | 19 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/struct_mutex.h created+56| ... | ... | @@ -0,0 +1,56 @@ |
| 1 | /* MIPS internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #if _MIPS_SIM == _ABI64 | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #if _MIPS_SIM == _ABI64 | |
| 34 | int __spins; | |
| 35 | __pthread_list_t __list; | |
| 36 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 37 | #else | |
| 38 | unsigned int __nusers; | |
| 39 | __extension__ union | |
| 40 | { | |
| 41 | int __spins; | |
| 42 | __pthread_slist_t __list; | |
| 43 | }; | |
| 44 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 45 | #endif | |
| 46 | }; | |
| 47 | ||
| 48 | #if _MIPS_SIM == _ABI64 | |
| 49 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 50 | 0, 0, 0, 0, __kind, 0, { 0, 0 } | |
| 51 | #else | |
| 52 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 53 | 0, 0, 0, __kind, 0, { 0 } | |
| 54 | #endif | |
| 55 | ||
| 56 | #endif | |
| \ No newline at end of file |
lib/libc/include/mips64-linux-gnuabin32/bits/termios-c_cc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cc.h> directly; use <termios.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/termios-c_lflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_lflag.h> directly; use <termios.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/termios-struct.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* struct termios definition. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-struct.h> directly; use <termios.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/termios-tcflow.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-tcflow.h> directly; use <termios.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/timerfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_TIMERFD_H |
| 19 | 19 | # error "Never use <bits/timerfd.h> directly; include <sys/timerfd.h> instead." |
lib/libc/include/mips64-linux-gnuabin32/bits/types/stack_t.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define stack_t. MIPS Linux version. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __stack_t_defined |
| 20 | 20 | #define __stack_t_defined 1 |
lib/libc/include/mips64-linux-gnuabin32/ieee754.h+12-9| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,16 +13,19 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | #include <float.h> | |
| 25 | #ifndef __LDBL_MANT_DIG__ | |
| 26 | # include <float.h> | |
| 27 | # define __LDBL_MANT_DIG__ LDBL_MANT_DIG | |
| 28 | #endif | |
| 26 | 29 | |
| 27 | 30 | __BEGIN_DECLS |
| 28 | 31 | |
| ... | ... | @@ -127,7 +130,7 @@ union ieee754_double |
| 127 | 130 | |
| 128 | 131 | #define IEEE754_DOUBLE_BIAS	0x3ff /* Added to exponent. */ |
| 129 | 132 | |
| 130 | #if LDBL_MANT_DIG == 113 | |
| 133 | #if __LDBL_MANT_DIG__ == 113 | |
| 131 | 134 | |
| 132 | 135 | union ieee854_long_double |
| 133 | 136 | { |
| ... | ... | @@ -184,7 +187,7 @@ union ieee854_long_double |
| 184 | 187 | |
| 185 | 188 | #define IEEE854_LONG_DOUBLE_BIAS 0x3fff /* Added to exponent. */ |
| 186 | 189 | |
| 187 | #elif LDBL_MANT_DIG == 64 | |
| 190 | #elif __LDBL_MANT_DIG__ == 64 | |
| 188 | 191 | |
| 189 | 192 | union ieee854_long_double |
| 190 | 193 | { |
| ... | ... | @@ -253,7 +256,7 @@ union ieee854_long_double |
| 253 | 256 | |
| 254 | 257 | #define IEEE854_LONG_DOUBLE_BIAS 0x3fff |
| 255 | 258 | |
| 256 | #elif LDBL_MANT_DIG == 53 | |
| 259 | #elif __LDBL_MANT_DIG__ == 53 | |
| 257 | 260 | |
| 258 | 261 | union ieee854_long_double |
| 259 | 262 | { |
| ... | ... | @@ -316,7 +319,7 @@ union ieee854_long_double |
| 316 | 319 | |
| 317 | 320 | #define IEEE854_LONG_DOUBLE_BIAS	0x3ff /* Added to exponent. */ |
| 318 | 321 | |
| 319 | #endif /* LDBL_MANT_DIG == 53 */ | |
| 322 | #endif /* __LDBL_MANT_DIG__ == 53 */ | |
| 320 | 323 | |
| 321 | 324 | __END_DECLS |
| 322 | 325 |
lib/libc/include/mips64el-linux-gnuabi64/bits/dlfcn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _DLFCN_H |
| 20 | 20 | # error "Never use <bits/dlfcn.h> directly; include <dlfcn.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/errno.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Error constants. MIPS/Linux specific version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_ERRNO_H |
| 20 | 20 |
lib/libc/include/mips64el-linux-gnuabi64/bits/eventfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EVENTFD_H |
| 19 | 19 | # error "Never use <bits/eventfd.h> directly; include <sys/eventfd.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/inotify.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_INOTIFY_H |
| 19 | 19 | # error "Never use <bits/inotify.h> directly; include <sys/inotify.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/ioctl-types.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IOCTL_H |
| 20 | 20 | # error "Never use <bits/ioctl-types.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/ipc.h deleted-54| ... | ... | @@ -1,54 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | ||
| 24 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 25 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 26 | #define IPC_EXCL	02000		/* Fail if key exists.	*/ | |
| 27 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 28 | ||
| 29 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 30 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 31 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 32 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 33 | #ifdef __USE_GNU | |
| 34 | # define IPC_INFO	3		/* See ipcs. */ | |
| 35 | #endif | |
| 36 | ||
| 37 | /* Special key values.	*/ | |
| 38 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key.	 */ | |
| 39 | ||
| 40 | ||
| 41 | /* Data structure used to pass permission information to IPC operations. */ | |
| 42 | struct ipc_perm | |
| 43 | { | |
| 44 | __key_t __key;			/* Key. */ | |
| 45 | unsigned int uid;			/* Owner's user ID. */ | |
| 46 | unsigned int gid;			/* Owner's group ID. */ | |
| 47 | unsigned int cuid;			/* Creator's user ID. */ | |
| 48 | unsigned int cgid;			/* Creator's group ID.	*/ | |
| 49 | unsigned int mode;			/* Read/write permission. */ | |
| 50 | unsigned short int __seq;		/* Sequence number. */ | |
| 51 | unsigned short int __pad1; | |
| 52 | unsigned long int __glibc_reserved1; | |
| 53 | unsigned long int __glibc_reserved2; | |
| 54 | }; | |
| \ No newline at end of file |
lib/libc/include/mips64el-linux-gnuabi64/bits/ipctypes.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | * Never include <bits/ipctypes.h> directly. |
lib/libc/include/mips64el-linux-gnuabi64/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 20 | 20 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/mips64el-linux-gnuabi64/bits/mman.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/msq-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct msqid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MSG_H |
| 20 | 20 | # error "Never use <bits/msq-pad.h> directly; include <sys/msg.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/poll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_POLL_H |
| 19 | 19 | # error "Never use <bits/poll.h> directly; include <sys/poll.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/pthreadtypes-arch.h created+44| ... | ... | @@ -0,0 +1,44 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | |
| 2 | Copyright (C) 2005-2020 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 | <https://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _BITS_PTHREADTYPES_ARCH_H | |
| 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 21 | ||
| 22 | #include <bits/endian.h> | |
| 23 | ||
| 24 | #if _MIPS_SIM == _ABI64 | |
| 25 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 26 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 29 | #else | |
| 30 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 31 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 34 | #endif | |
| 35 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 36 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 37 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 38 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 39 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 40 | ||
| 41 | #define __LOCK_ALIGNMENT | |
| 42 | #define __ONCE_ALIGNMENT | |
| 43 | ||
| 44 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/mips64el-linux-gnuabi64/bits/resource.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit values & structures for resource limits. Linux/MIPS version. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_RESOURCE_H |
| 20 | 20 | # error "Never use <bits/resource.h> directly; include <sys/resource.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/shm-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct shmid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shm-pad.h> directly; include <sys/shm.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/sigaction.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* The proper definitions for Linux/MIPS's sigaction. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGACTION_H |
| 20 | 20 | #define _BITS_SIGACTION_H 1 |
lib/libc/include/mips64el-linux-gnuabi64/bits/sigcontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 2 | 2 | |
| 3 | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | 4 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | |
| 13 | 13 | You should have received a copy of the GNU Lesser General Public |
| 14 | 14 | License along with the GNU C Library. If not, see |
| 15 | <http://www.gnu.org/licenses/>. */ | |
| 15 | <https://www.gnu.org/licenses/>. */ | |
| 16 | 16 | |
| 17 | 17 | #ifndef _BITS_SIGCONTEXT_H |
| 18 | 18 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/mips64el-linux-gnuabi64/bits/signalfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_SIGNALFD_H |
| 19 | 19 | # error "Never use <bits/signalfd.h> directly; include <sys/signalfd.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/signum.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Signal number definitions. Linux/MIPS version. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGNUM_H |
| 20 | 20 | #define _BITS_SIGNUM_H 1 |
lib/libc/include/mips64el-linux-gnuabi64/bits/socket-constants.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/socket_type.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define enum __socket_type for Linux/MIPS. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket_type.h> directly; use <sys/socket.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/statfs.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_STATFS_H |
| 19 | 19 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/struct_mutex.h created+56| ... | ... | @@ -0,0 +1,56 @@ |
| 1 | /* MIPS internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #if _MIPS_SIM == _ABI64 | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #if _MIPS_SIM == _ABI64 | |
| 34 | int __spins; | |
| 35 | __pthread_list_t __list; | |
| 36 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 37 | #else | |
| 38 | unsigned int __nusers; | |
| 39 | __extension__ union | |
| 40 | { | |
| 41 | int __spins; | |
| 42 | __pthread_slist_t __list; | |
| 43 | }; | |
| 44 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 45 | #endif | |
| 46 | }; | |
| 47 | ||
| 48 | #if _MIPS_SIM == _ABI64 | |
| 49 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 50 | 0, 0, 0, 0, __kind, 0, { 0, 0 } | |
| 51 | #else | |
| 52 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 53 | 0, 0, 0, __kind, 0, { 0 } | |
| 54 | #endif | |
| 55 | ||
| 56 | #endif | |
| \ No newline at end of file |
lib/libc/include/mips64el-linux-gnuabi64/bits/termios-c_cc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cc.h> directly; use <termios.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/termios-c_lflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_lflag.h> directly; use <termios.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/termios-struct.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* struct termios definition. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-struct.h> directly; use <termios.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/termios-tcflow.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-tcflow.h> directly; use <termios.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/timerfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_TIMERFD_H |
| 19 | 19 | # error "Never use <bits/timerfd.h> directly; include <sys/timerfd.h> instead." |
lib/libc/include/mips64el-linux-gnuabi64/bits/types/stack_t.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define stack_t. MIPS Linux version. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __stack_t_defined |
| 20 | 20 | #define __stack_t_defined 1 |
lib/libc/include/mips64el-linux-gnuabi64/ieee754.h+12-9| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,16 +13,19 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | #include <float.h> | |
| 25 | #ifndef __LDBL_MANT_DIG__ | |
| 26 | # include <float.h> | |
| 27 | # define __LDBL_MANT_DIG__ LDBL_MANT_DIG | |
| 28 | #endif | |
| 26 | 29 | |
| 27 | 30 | __BEGIN_DECLS |
| 28 | 31 | |
| ... | ... | @@ -127,7 +130,7 @@ union ieee754_double |
| 127 | 130 | |
| 128 | 131 | #define IEEE754_DOUBLE_BIAS	0x3ff /* Added to exponent. */ |
| 129 | 132 | |
| 130 | #if LDBL_MANT_DIG == 113 | |
| 133 | #if __LDBL_MANT_DIG__ == 113 | |
| 131 | 134 | |
| 132 | 135 | union ieee854_long_double |
| 133 | 136 | { |
| ... | ... | @@ -184,7 +187,7 @@ union ieee854_long_double |
| 184 | 187 | |
| 185 | 188 | #define IEEE854_LONG_DOUBLE_BIAS 0x3fff /* Added to exponent. */ |
| 186 | 189 | |
| 187 | #elif LDBL_MANT_DIG == 64 | |
| 190 | #elif __LDBL_MANT_DIG__ == 64 | |
| 188 | 191 | |
| 189 | 192 | union ieee854_long_double |
| 190 | 193 | { |
| ... | ... | @@ -253,7 +256,7 @@ union ieee854_long_double |
| 253 | 256 | |
| 254 | 257 | #define IEEE854_LONG_DOUBLE_BIAS 0x3fff |
| 255 | 258 | |
| 256 | #elif LDBL_MANT_DIG == 53 | |
| 259 | #elif __LDBL_MANT_DIG__ == 53 | |
| 257 | 260 | |
| 258 | 261 | union ieee854_long_double |
| 259 | 262 | { |
| ... | ... | @@ -316,7 +319,7 @@ union ieee854_long_double |
| 316 | 319 | |
| 317 | 320 | #define IEEE854_LONG_DOUBLE_BIAS	0x3ff /* Added to exponent. */ |
| 318 | 321 | |
| 319 | #endif /* LDBL_MANT_DIG == 53 */ | |
| 322 | #endif /* __LDBL_MANT_DIG__ == 53 */ | |
| 320 | 323 | |
| 321 | 324 | __END_DECLS |
| 322 | 325 |
lib/libc/include/mips64el-linux-gnuabin32/bits/dlfcn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _DLFCN_H |
| 20 | 20 | # error "Never use <bits/dlfcn.h> directly; include <dlfcn.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/errno.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Error constants. MIPS/Linux specific version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_ERRNO_H |
| 20 | 20 |
lib/libc/include/mips64el-linux-gnuabin32/bits/eventfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EVENTFD_H |
| 19 | 19 | # error "Never use <bits/eventfd.h> directly; include <sys/eventfd.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/inotify.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_INOTIFY_H |
| 19 | 19 | # error "Never use <bits/inotify.h> directly; include <sys/inotify.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/ioctl-types.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IOCTL_H |
| 20 | 20 | # error "Never use <bits/ioctl-types.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/ipc.h deleted-54| ... | ... | @@ -1,54 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | ||
| 24 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 25 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 26 | #define IPC_EXCL	02000		/* Fail if key exists.	*/ | |
| 27 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 28 | ||
| 29 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 30 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 31 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 32 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 33 | #ifdef __USE_GNU | |
| 34 | # define IPC_INFO	3		/* See ipcs. */ | |
| 35 | #endif | |
| 36 | ||
| 37 | /* Special key values.	*/ | |
| 38 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key.	 */ | |
| 39 | ||
| 40 | ||
| 41 | /* Data structure used to pass permission information to IPC operations. */ | |
| 42 | struct ipc_perm | |
| 43 | { | |
| 44 | __key_t __key;			/* Key. */ | |
| 45 | unsigned int uid;			/* Owner's user ID. */ | |
| 46 | unsigned int gid;			/* Owner's group ID. */ | |
| 47 | unsigned int cuid;			/* Creator's user ID. */ | |
| 48 | unsigned int cgid;			/* Creator's group ID.	*/ | |
| 49 | unsigned int mode;			/* Read/write permission. */ | |
| 50 | unsigned short int __seq;		/* Sequence number. */ | |
| 51 | unsigned short int __pad1; | |
| 52 | unsigned long int __glibc_reserved1; | |
| 53 | unsigned long int __glibc_reserved2; | |
| 54 | }; | |
| \ No newline at end of file |
lib/libc/include/mips64el-linux-gnuabin32/bits/ipctypes.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | * Never include <bits/ipctypes.h> directly. |
lib/libc/include/mips64el-linux-gnuabin32/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 20 | 20 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/mips64el-linux-gnuabin32/bits/mman.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/msq-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct msqid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MSG_H |
| 20 | 20 | # error "Never use <bits/msq-pad.h> directly; include <sys/msg.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/poll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_POLL_H |
| 19 | 19 | # error "Never use <bits/poll.h> directly; include <sys/poll.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/pthreadtypes-arch.h created+44| ... | ... | @@ -0,0 +1,44 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | |
| 2 | Copyright (C) 2005-2020 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 | <https://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _BITS_PTHREADTYPES_ARCH_H | |
| 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 21 | ||
| 22 | #include <bits/endian.h> | |
| 23 | ||
| 24 | #if _MIPS_SIM == _ABI64 | |
| 25 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 26 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 29 | #else | |
| 30 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 31 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 34 | #endif | |
| 35 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 36 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 37 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 38 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 39 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 40 | ||
| 41 | #define __LOCK_ALIGNMENT | |
| 42 | #define __ONCE_ALIGNMENT | |
| 43 | ||
| 44 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/mips64el-linux-gnuabin32/bits/resource.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit values & structures for resource limits. Linux/MIPS version. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_RESOURCE_H |
| 20 | 20 | # error "Never use <bits/resource.h> directly; include <sys/resource.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/shm-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct shmid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shm-pad.h> directly; include <sys/shm.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/sigaction.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* The proper definitions for Linux/MIPS's sigaction. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGACTION_H |
| 20 | 20 | #define _BITS_SIGACTION_H 1 |
lib/libc/include/mips64el-linux-gnuabin32/bits/sigcontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 2 | 2 | |
| 3 | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | 4 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | |
| 13 | 13 | You should have received a copy of the GNU Lesser General Public |
| 14 | 14 | License along with the GNU C Library. If not, see |
| 15 | <http://www.gnu.org/licenses/>. */ | |
| 15 | <https://www.gnu.org/licenses/>. */ | |
| 16 | 16 | |
| 17 | 17 | #ifndef _BITS_SIGCONTEXT_H |
| 18 | 18 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/mips64el-linux-gnuabin32/bits/signalfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_SIGNALFD_H |
| 19 | 19 | # error "Never use <bits/signalfd.h> directly; include <sys/signalfd.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/signum.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Signal number definitions. Linux/MIPS version. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGNUM_H |
| 20 | 20 | #define _BITS_SIGNUM_H 1 |
lib/libc/include/mips64el-linux-gnuabin32/bits/socket-constants.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/socket_type.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define enum __socket_type for Linux/MIPS. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket_type.h> directly; use <sys/socket.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/statfs.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_STATFS_H |
| 19 | 19 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/struct_mutex.h created+56| ... | ... | @@ -0,0 +1,56 @@ |
| 1 | /* MIPS internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #if _MIPS_SIM == _ABI64 | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #if _MIPS_SIM == _ABI64 | |
| 34 | int __spins; | |
| 35 | __pthread_list_t __list; | |
| 36 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 37 | #else | |
| 38 | unsigned int __nusers; | |
| 39 | __extension__ union | |
| 40 | { | |
| 41 | int __spins; | |
| 42 | __pthread_slist_t __list; | |
| 43 | }; | |
| 44 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 45 | #endif | |
| 46 | }; | |
| 47 | ||
| 48 | #if _MIPS_SIM == _ABI64 | |
| 49 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 50 | 0, 0, 0, 0, __kind, 0, { 0, 0 } | |
| 51 | #else | |
| 52 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 53 | 0, 0, 0, __kind, 0, { 0 } | |
| 54 | #endif | |
| 55 | ||
| 56 | #endif | |
| \ No newline at end of file |
lib/libc/include/mips64el-linux-gnuabin32/bits/termios-c_cc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cc.h> directly; use <termios.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/termios-c_lflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_lflag.h> directly; use <termios.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/termios-struct.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* struct termios definition. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-struct.h> directly; use <termios.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/termios-tcflow.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-tcflow.h> directly; use <termios.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/timerfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_TIMERFD_H |
| 19 | 19 | # error "Never use <bits/timerfd.h> directly; include <sys/timerfd.h> instead." |
lib/libc/include/mips64el-linux-gnuabin32/bits/types/stack_t.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define stack_t. MIPS Linux version. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __stack_t_defined |
| 20 | 20 | #define __stack_t_defined 1 |
lib/libc/include/mips64el-linux-gnuabin32/ieee754.h+12-9| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,16 +13,19 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | #include <float.h> | |
| 25 | #ifndef __LDBL_MANT_DIG__ | |
| 26 | # include <float.h> | |
| 27 | # define __LDBL_MANT_DIG__ LDBL_MANT_DIG | |
| 28 | #endif | |
| 26 | 29 | |
| 27 | 30 | __BEGIN_DECLS |
| 28 | 31 | |
| ... | ... | @@ -127,7 +130,7 @@ union ieee754_double |
| 127 | 130 | |
| 128 | 131 | #define IEEE754_DOUBLE_BIAS	0x3ff /* Added to exponent. */ |
| 129 | 132 | |
| 130 | #if LDBL_MANT_DIG == 113 | |
| 133 | #if __LDBL_MANT_DIG__ == 113 | |
| 131 | 134 | |
| 132 | 135 | union ieee854_long_double |
| 133 | 136 | { |
| ... | ... | @@ -184,7 +187,7 @@ union ieee854_long_double |
| 184 | 187 | |
| 185 | 188 | #define IEEE854_LONG_DOUBLE_BIAS 0x3fff /* Added to exponent. */ |
| 186 | 189 | |
| 187 | #elif LDBL_MANT_DIG == 64 | |
| 190 | #elif __LDBL_MANT_DIG__ == 64 | |
| 188 | 191 | |
| 189 | 192 | union ieee854_long_double |
| 190 | 193 | { |
| ... | ... | @@ -253,7 +256,7 @@ union ieee854_long_double |
| 253 | 256 | |
| 254 | 257 | #define IEEE854_LONG_DOUBLE_BIAS 0x3fff |
| 255 | 258 | |
| 256 | #elif LDBL_MANT_DIG == 53 | |
| 259 | #elif __LDBL_MANT_DIG__ == 53 | |
| 257 | 260 | |
| 258 | 261 | union ieee854_long_double |
| 259 | 262 | { |
| ... | ... | @@ -316,7 +319,7 @@ union ieee854_long_double |
| 316 | 319 | |
| 317 | 320 | #define IEEE854_LONG_DOUBLE_BIAS	0x3ff /* Added to exponent. */ |
| 318 | 321 | |
| 319 | #endif /* LDBL_MANT_DIG == 53 */ | |
| 322 | #endif /* __LDBL_MANT_DIG__ == 53 */ | |
| 320 | 323 | |
| 321 | 324 | __END_DECLS |
| 322 | 325 |
lib/libc/include/mipsel-linux-gnu/bits/dlfcn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* System dependent definitions for run-time dynamic loading. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _DLFCN_H |
| 20 | 20 | # error "Never use <bits/dlfcn.h> directly; include <dlfcn.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/errno.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Error constants. MIPS/Linux specific version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_ERRNO_H |
| 20 | 20 |
lib/libc/include/mipsel-linux-gnu/bits/eventfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EVENTFD_H |
| 19 | 19 | # error "Never use <bits/eventfd.h> directly; include <sys/eventfd.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/inotify.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_INOTIFY_H |
| 19 | 19 | # error "Never use <bits/inotify.h> directly; include <sys/inotify.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/ioctl-types.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structure types for pre-termios terminal ioctls. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IOCTL_H |
| 20 | 20 | # error "Never use <bits/ioctl-types.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/ipc.h deleted-54| ... | ... | @@ -1,54 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | ||
| 24 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 25 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 26 | #define IPC_EXCL	02000		/* Fail if key exists.	*/ | |
| 27 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 28 | ||
| 29 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 30 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 31 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 32 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 33 | #ifdef __USE_GNU | |
| 34 | # define IPC_INFO	3		/* See ipcs. */ | |
| 35 | #endif | |
| 36 | ||
| 37 | /* Special key values.	*/ | |
| 38 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key.	 */ | |
| 39 | ||
| 40 | ||
| 41 | /* Data structure used to pass permission information to IPC operations. */ | |
| 42 | struct ipc_perm | |
| 43 | { | |
| 44 | __key_t __key;			/* Key. */ | |
| 45 | unsigned int uid;			/* Owner's user ID. */ | |
| 46 | unsigned int gid;			/* Owner's group ID. */ | |
| 47 | unsigned int cuid;			/* Creator's user ID. */ | |
| 48 | unsigned int cgid;			/* Creator's group ID.	*/ | |
| 49 | unsigned int mode;			/* Read/write permission. */ | |
| 50 | unsigned short int __seq;		/* Sequence number. */ | |
| 51 | unsigned short int __pad1; | |
| 52 | unsigned long int __glibc_reserved1; | |
| 53 | unsigned long int __glibc_reserved2; | |
| 54 | }; | |
| \ No newline at end of file |
lib/libc/include/mipsel-linux-gnu/bits/ipctypes.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. MIPS version |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* |
| 20 | 20 | * Never include <bits/ipctypes.h> directly. |
lib/libc/include/mipsel-linux-gnu/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. MIPS Linux version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 20 | 20 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/mipsel-linux-gnu/bits/mman.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/MIPS version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/msq-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct msqid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MSG_H |
| 20 | 20 | # error "Never use <bits/msq-pad.h> directly; include <sys/msg.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/poll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_POLL_H |
| 19 | 19 | # error "Never use <bits/poll.h> directly; include <sys/poll.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/pthreadtypes-arch.h created+44| ... | ... | @@ -0,0 +1,44 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | |
| 2 | Copyright (C) 2005-2020 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 | <https://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _BITS_PTHREADTYPES_ARCH_H | |
| 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 21 | ||
| 22 | #include <bits/endian.h> | |
| 23 | ||
| 24 | #if _MIPS_SIM == _ABI64 | |
| 25 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 26 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 29 | #else | |
| 30 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 31 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 34 | #endif | |
| 35 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 36 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 37 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 38 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 39 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 40 | ||
| 41 | #define __LOCK_ALIGNMENT | |
| 42 | #define __ONCE_ALIGNMENT | |
| 43 | ||
| 44 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/mipsel-linux-gnu/bits/resource.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit values & structures for resource limits. Linux/MIPS version. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_RESOURCE_H |
| 20 | 20 | # error "Never use <bits/resource.h> directly; include <sys/resource.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/shm-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct shmid_ds. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shm-pad.h> directly; include <sys/shm.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. MIPS version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/sigaction.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* The proper definitions for Linux/MIPS's sigaction. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGACTION_H |
| 20 | 20 | #define _BITS_SIGACTION_H 1 |
lib/libc/include/mipsel-linux-gnu/bits/sigcontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 2 | 2 | |
| 3 | 3 | The GNU C Library is free software; you can redistribute it and/or |
| 4 | 4 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | |
| 13 | 13 | You should have received a copy of the GNU Lesser General Public |
| 14 | 14 | License along with the GNU C Library. If not, see |
| 15 | <http://www.gnu.org/licenses/>. */ | |
| 15 | <https://www.gnu.org/licenses/>. */ | |
| 16 | 16 | |
| 17 | 17 | #ifndef _BITS_SIGCONTEXT_H |
| 18 | 18 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/mipsel-linux-gnu/bits/signalfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_SIGNALFD_H |
| 19 | 19 | # error "Never use <bits/signalfd.h> directly; include <sys/signalfd.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/signum.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Signal number definitions. Linux/MIPS version. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGNUM_H |
| 20 | 20 | #define _BITS_SIGNUM_H 1 |
lib/libc/include/mipsel-linux-gnu/bits/socket-constants.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Socket constants which vary among Linux architectures. Version for MIPS. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/socket_type.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define enum __socket_type for Linux/MIPS. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket_type.h> directly; use <sys/socket.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/statfs.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_STATFS_H |
| 19 | 19 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/struct_mutex.h created+56| ... | ... | @@ -0,0 +1,56 @@ |
| 1 | /* MIPS internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #if _MIPS_SIM == _ABI64 | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #if _MIPS_SIM == _ABI64 | |
| 34 | int __spins; | |
| 35 | __pthread_list_t __list; | |
| 36 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 37 | #else | |
| 38 | unsigned int __nusers; | |
| 39 | __extension__ union | |
| 40 | { | |
| 41 | int __spins; | |
| 42 | __pthread_slist_t __list; | |
| 43 | }; | |
| 44 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 45 | #endif | |
| 46 | }; | |
| 47 | ||
| 48 | #if _MIPS_SIM == _ABI64 | |
| 49 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 50 | 0, 0, 0, 0, __kind, 0, { 0, 0 } | |
| 51 | #else | |
| 52 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 53 | 0, 0, 0, __kind, 0, { 0 } | |
| 54 | #endif | |
| 55 | ||
| 56 | #endif | |
| \ No newline at end of file |
lib/libc/include/mipsel-linux-gnu/bits/termios-c_cc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios c_cc symbolic constant definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cc.h> directly; use <termios.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/termios-c_lflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_lflag.h> directly; use <termios.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/termios-struct.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* struct termios definition. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-struct.h> directly; use <termios.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/termios-tcflow.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/mips version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-tcflow.h> directly; use <termios.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/timerfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_TIMERFD_H |
| 19 | 19 | # error "Never use <bits/timerfd.h> directly; include <sys/timerfd.h> instead." |
lib/libc/include/mipsel-linux-gnu/bits/types/stack_t.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define stack_t. MIPS Linux version. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __stack_t_defined |
| 20 | 20 | #define __stack_t_defined 1 |
lib/libc/include/mipsel-linux-gnu/ieee754.h+12-9| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,16 +13,19 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | #include <float.h> | |
| 25 | #ifndef __LDBL_MANT_DIG__ | |
| 26 | # include <float.h> | |
| 27 | # define __LDBL_MANT_DIG__ LDBL_MANT_DIG | |
| 28 | #endif | |
| 26 | 29 | |
| 27 | 30 | __BEGIN_DECLS |
| 28 | 31 | |
| ... | ... | @@ -127,7 +130,7 @@ union ieee754_double |
| 127 | 130 | |
| 128 | 131 | #define IEEE754_DOUBLE_BIAS	0x3ff /* Added to exponent. */ |
| 129 | 132 | |
| 130 | #if LDBL_MANT_DIG == 113 | |
| 133 | #if __LDBL_MANT_DIG__ == 113 | |
| 131 | 134 | |
| 132 | 135 | union ieee854_long_double |
| 133 | 136 | { |
| ... | ... | @@ -184,7 +187,7 @@ union ieee854_long_double |
| 184 | 187 | |
| 185 | 188 | #define IEEE854_LONG_DOUBLE_BIAS 0x3fff /* Added to exponent. */ |
| 186 | 189 | |
| 187 | #elif LDBL_MANT_DIG == 64 | |
| 190 | #elif __LDBL_MANT_DIG__ == 64 | |
| 188 | 191 | |
| 189 | 192 | union ieee854_long_double |
| 190 | 193 | { |
| ... | ... | @@ -253,7 +256,7 @@ union ieee854_long_double |
| 253 | 256 | |
| 254 | 257 | #define IEEE854_LONG_DOUBLE_BIAS 0x3fff |
| 255 | 258 | |
| 256 | #elif LDBL_MANT_DIG == 53 | |
| 259 | #elif __LDBL_MANT_DIG__ == 53 | |
| 257 | 260 | |
| 258 | 261 | union ieee854_long_double |
| 259 | 262 | { |
| ... | ... | @@ -316,7 +319,7 @@ union ieee854_long_double |
| 316 | 319 | |
| 317 | 320 | #define IEEE854_LONG_DOUBLE_BIAS	0x3ff /* Added to exponent. */ |
| 318 | 321 | |
| 319 | #endif /* LDBL_MANT_DIG == 53 */ | |
| 322 | #endif /* __LDBL_MANT_DIG__ == 53 */ | |
| 320 | 323 | |
| 321 | 324 | __END_DECLS |
| 322 | 325 |
lib/libc/include/powerpc-linux-gnu/bits/endian.h deleted-36| ... | ... | @@ -1,36 +0,0 @@ |
| 1 | /* Copyright (C) 1997-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 | /* PowerPC can be little or big endian. Hopefully gcc will know... */ | |
| 19 | ||
| 20 | #ifndef _ENDIAN_H | |
| 21 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 22 | #endif | |
| 23 | ||
| 24 | #if defined __BIG_ENDIAN__ || defined _BIG_ENDIAN | |
| 25 | # if defined __LITTLE_ENDIAN__ || defined _LITTLE_ENDIAN | |
| 26 | # error Both BIG_ENDIAN and LITTLE_ENDIAN defined! | |
| 27 | # endif | |
| 28 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 29 | #else | |
| 30 | # if defined __LITTLE_ENDIAN__ || defined _LITTLE_ENDIAN | |
| 31 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 32 | # else | |
| 33 | # warning Cannot determine current byte order, assuming big-endian. | |
| 34 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 35 | # endif | |
| 36 | #endif | |
| \ No newline at end of file |
lib/libc/include/powerpc-linux-gnu/bits/endianness.h created+16| ... | ... | @@ -0,0 +1,16 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* PowerPC has selectable endianness. */ | |
| 9 | #if defined __BIG_ENDIAN__ || defined _BIG_ENDIAN | |
| 10 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 11 | #endif | |
| 12 | #if defined __LITTLE_ENDIAN__ || defined _LITTLE_ENDIAN | |
| 13 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 14 | #endif | |
| 15 | ||
| 16 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/powerpc-linux-gnu/bits/environments.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _UNISTD_H |
| 19 | 19 | # error "Never include this file directly. Use <unistd.h> instead" |
lib/libc/include/powerpc-linux-gnu/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux/PowerPC. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -170,7 +170,7 @@ extern const fenv_t __fe_nonieee_env; |
| 170 | 170 | |
| 171 | 171 | #endif |
| 172 | 172 | |
| 173 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 173 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 174 | 174 | /* Type representing floating-point control modes. */ |
| 175 | 175 | typedef double femode_t; |
| 176 | 176 |
lib/libc/include/powerpc-linux-gnu/bits/fenvinline.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Inline floating-point environment handling functions for powerpc. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if defined __GNUC__ && !defined _SOFT_FLOAT && !defined __NO_FPRS__ |
| 20 | 20 |
lib/libc/include/powerpc-linux-gnu/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on powerpc. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/powerpc-linux-gnu/bits/fp-fast.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define FP_FAST_* macros. PowerPC version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/fp-fast.h> directly; include <math.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP and AT_HWCAP2. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined(_SYS_AUXV_H) && !defined(_SYSDEPS_SYSDEP_H) |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/ioctl-types.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structure types for pre-termios terminal ioctls. Linux/powerpc version. |
| 2 | Copyright (C) 2014-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IOCTL_H |
| 20 | 20 | # error "Never use <bits/ioctl-types.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/ipc-perm.h created+36| ... | ... | @@ -0,0 +1,36 @@ |
| 1 | /* struct ipc_perm definition. Linux/powerpc version. | |
| 2 | Copyright (C) 1995-2020 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 | <https://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_IPC_H | |
| 20 | # error "Never use <bits/ipc-perm.h> directly; include <sys/ipc.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | /* Data structure used to pass permission information to IPC operations. */ | |
| 24 | struct ipc_perm | |
| 25 | { | |
| 26 | __key_t __key;		/* Key. */ | |
| 27 | __uid_t uid;		/* Owner's user ID. */ | |
| 28 | __gid_t gid;		/* Owner's group ID. */ | |
| 29 | __uid_t cuid;		/* Creator's user ID. */ | |
| 30 | __gid_t cgid;		/* Creator's group ID. */ | |
| 31 | __mode_t mode;		/* Read/write permission. */ | |
| 32 | __uint32_t __seq;		/* Sequence number. */ | |
| 33 | __uint32_t __pad1; | |
| 34 | __uint64_t __glibc_reserved1; | |
| 35 | __uint64_t __glibc_reserved2; | |
| 36 | }; | |
| \ No newline at end of file |
lib/libc/include/powerpc-linux-gnu/bits/ipc.h deleted-54| ... | ... | @@ -1,54 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | ||
| 24 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 25 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 26 | #define IPC_EXCL	02000		/* Fail if key exists. */ | |
| 27 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 28 | ||
| 29 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 30 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 31 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 32 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 33 | #ifdef __USE_GNU | |
| 34 | # define IPC_INFO	3		/* See ipcs. */ | |
| 35 | #endif | |
| 36 | ||
| 37 | /* Special key values. */ | |
| 38 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key. */ | |
| 39 | ||
| 40 | ||
| 41 | /* Data structure used to pass permission information to IPC operations. */ | |
| 42 | struct ipc_perm | |
| 43 | { | |
| 44 | __key_t __key;		/* Key. */ | |
| 45 | __uid_t uid;		/* Owner's user ID. */ | |
| 46 | __gid_t gid;		/* Owner's group ID. */ | |
| 47 | __uid_t cuid;		/* Creator's user ID. */ | |
| 48 | __gid_t cgid;		/* Creator's group ID. */ | |
| 49 | __mode_t mode;		/* Read/write permission. */ | |
| 50 | __uint32_t __seq;		/* Sequence number. */ | |
| 51 | __uint32_t __pad1; | |
| 52 | __uint64_t __glibc_reserved1; | |
| 53 | __uint64_t __glibc_reserved2; | |
| 54 | }; | |
| \ No newline at end of file |
lib/libc/include/powerpc-linux-gnu/bits/iscanonical.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define iscanonical macro. ldbl-128ibm version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/iscanonical.h> directly; include <math.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/link.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific declarations for dynamic linker interface. PowerPC version |
| 2 | Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_LINK_H |
| 20 | 20 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. Linux/PPC version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; see the file COPYING.LIB. If |
| 17 | not, see <http://www.gnu.org/licenses/>. */ | |
| 17 | not, see <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 20 | 20 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/powerpc-linux-gnu/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. ldbl-opt version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,11 +14,12 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __NO_LONG_DOUBLE_MATH |
| 20 | 20 | # define __LONG_DOUBLE_MATH_OPTIONAL	1 |
| 21 | 21 | # ifndef __LONG_DOUBLE_128__ |
| 22 | 22 | # define __NO_LONG_DOUBLE_MATH		1 |
| 23 | 23 | # endif |
| 24 | #endif | |
| \ No newline at end of file | ||
| 24 | #endif | |
| 25 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/powerpc-linux-gnu/bits/mman.h+4-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/PowerPC version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
| ... | ... | @@ -36,6 +36,8 @@ |
| 36 | 36 | # define MAP_NONBLOCK	0x10000		/* Do not block on IO. */ |
| 37 | 37 | # define MAP_STACK	0x20000		/* Allocation is for a stack. */ |
| 38 | 38 | # define MAP_HUGETLB	0x40000		/* Create huge page mapping. */ |
| 39 | # define MAP_SYNC	0x80000		/* Perform synchronous page | |
| 40 | 					 faults for the mapping. */ | |
| 39 | 41 | # define MAP_FIXED_NOREPLACE 0x100000	/* MAP_FIXED but do not unmap |
| 40 | 42 | 					 underlying mapping. */ |
| 41 | 43 | #endif |
lib/libc/include/powerpc-linux-gnu/bits/msq-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct msqid_ds. PowerPC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MSG_H |
| 20 | 20 | # error "Never use <bits/msq-pad.h> directly; include <sys/msg.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. PowerPC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/pthreadtypes-arch.h deleted-81| ... | ... | @@ -1,81 +0,0 @@ |
| 1 | /* Machine-specific pthread type layouts. PowerPC version. | |
| 2 | Copyright (C) 2003-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 _BITS_PTHREADTYPES_ARCH_H | |
| 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 21 | ||
| 22 | #include <bits/wordsize.h> | |
| 23 | ||
| 24 | #if __WORDSIZE == 64 | |
| 25 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 26 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 29 | #else | |
| 30 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 31 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 34 | #endif | |
| 35 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 36 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 37 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 38 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 39 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 40 | ||
| 41 | /* Definitions for internal mutex struct. */ | |
| 42 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 43 | #define __PTHREAD_COMPAT_PADDING_END | |
| 44 | #define __PTHREAD_MUTEX_LOCK_ELISION 1 | |
| 45 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND (__WORDSIZE != 64) | |
| 46 | #define __PTHREAD_MUTEX_USE_UNION (__WORDSIZE != 64) | |
| 47 | ||
| 48 | #define __LOCK_ALIGNMENT | |
| 49 | #define __ONCE_ALIGNMENT | |
| 50 | ||
| 51 | struct __pthread_rwlock_arch_t | |
| 52 | { | |
| 53 | unsigned int __readers; | |
| 54 | unsigned int __writers; | |
| 55 | unsigned int __wrphase_futex; | |
| 56 | unsigned int __writers_futex; | |
| 57 | unsigned int __pad3; | |
| 58 | unsigned int __pad4; | |
| 59 | #if __WORDSIZE == 64 | |
| 60 | int __cur_writer; | |
| 61 | int __shared; | |
| 62 | unsigned char __rwelision; | |
| 63 | unsigned char __pad1[7]; | |
| 64 | unsigned long int __pad2; | |
| 65 | /* FLAGS must stay at this position in the structure to maintain | |
| 66 | binary compatibility. */ | |
| 67 | unsigned int __flags; | |
| 68 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, {0, 0, 0, 0, 0, 0, 0 } | |
| 69 | #else | |
| 70 | unsigned char __rwelision; | |
| 71 | unsigned char __pad2; | |
| 72 | unsigned char __shared; | |
| 73 | /* FLAGS must stay at this position in the structure to maintain | |
| 74 | binary compatibility. */ | |
| 75 | unsigned char __flags; | |
| 76 | int __cur_writer; | |
| 77 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 78 | #endif | |
| 79 | }; | |
| 80 | ||
| 81 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/powerpc-linux-gnu/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. PowerPC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/semaphore.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific POSIX semaphore type layouts. PowerPC version. |
| 2 | Copyright (C) 2003-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2003-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Paul Mackerras <paulus@au.ibm.com>, 2003. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SEMAPHORE_H |
| 21 | 21 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Define the machine-dependent type `jmp_buf'. PowerPC version. */ |
| 19 | 19 | #ifndef _BITS_SETJMP_H |
lib/libc/include/powerpc-linux-gnu/bits/shm-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct shmid_ds. PowerPC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shm-pad.h> directly; include <sys/shm.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/sigstack.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGSTACK_H |
| 20 | 20 | #define _BITS_SIGSTACK_H 1 |
lib/libc/include/powerpc-linux-gnu/bits/socket-constants.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Socket constants which vary among Linux architectures. Version for POWER. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/struct_mutex.h created+63| ... | ... | @@ -0,0 +1,63 @@ |
| 1 | /* PowerPC internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #if __WORDSIZE == 64 | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #if __WORDSIZE == 64 | |
| 34 | short __spins; | |
| 35 | short __elision; | |
| 36 | __pthread_list_t __list; | |
| 37 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 38 | #else | |
| 39 | unsigned int __nusers; | |
| 40 | __extension__ union | |
| 41 | { | |
| 42 | struct | |
| 43 | { | |
| 44 | short __espins; | |
| 45 | short __elision; | |
| 46 | # define __spins __elision_data.__espins | |
| 47 | # define __elision __elision_data.__elision | |
| 48 | } __elision_data; | |
| 49 | __pthread_slist_t __list; | |
| 50 | }; | |
| 51 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 52 | #endif | |
| 53 | }; | |
| 54 | ||
| 55 | #if __WORDSIZE == 64 | |
| 56 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 57 | 0, 0, 0, 0, __kind, 0, 0, { 0, 0 } | |
| 58 | #else | |
| 59 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 60 | 0, 0, 0, __kind, 0, { { 0, 0 } } | |
| 61 | #endif | |
| 62 | ||
| 63 | #endif | |
| \ No newline at end of file |
lib/libc/include/powerpc-linux-gnu/bits/struct_rwlock.h created+61| ... | ... | @@ -0,0 +1,61 @@ |
| 1 | /* PowerPC internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 4 | This file is part of the GNU C Library. | |
| 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with the GNU C Library; if not, see | |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | |
| 21 | #define _RWLOCK_INTERNAL_H | |
| 22 | ||
| 23 | struct __pthread_rwlock_arch_t | |
| 24 | { | |
| 25 | unsigned int __readers; | |
| 26 | unsigned int __writers; | |
| 27 | unsigned int __wrphase_futex; | |
| 28 | unsigned int __writers_futex; | |
| 29 | unsigned int __pad3; | |
| 30 | unsigned int __pad4; | |
| 31 | #if __WORDSIZE == 64 | |
| 32 | int __cur_writer; | |
| 33 | int __shared; | |
| 34 | unsigned char __rwelision; | |
| 35 | unsigned char __pad1[7]; | |
| 36 | unsigned long int __pad2; | |
| 37 | /* FLAGS must stay at this position in the structure to maintain | |
| 38 | binary compatibility. */ | |
| 39 | unsigned int __flags; | |
| 40 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, {0, 0, 0, 0, 0, 0, 0 } | |
| 41 | #else | |
| 42 | unsigned char __rwelision; | |
| 43 | unsigned char __pad2; | |
| 44 | unsigned char __shared; | |
| 45 | /* FLAGS must stay at this position in the structure to maintain | |
| 46 | binary compatibility. */ | |
| 47 | unsigned char __flags; | |
| 48 | int __cur_writer; | |
| 49 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 50 | #endif | |
| 51 | }; | |
| 52 | ||
| 53 | #if __WORDSIZE == 64 | |
| 54 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 55 | 0, 0, 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, __flags | |
| 56 | #else | |
| 57 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 58 | 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, 0, __flags, 0 | |
| 59 | #endif | |
| 60 | ||
| 61 | #endif | |
| \ No newline at end of file |
lib/libc/include/powerpc-linux-gnu/bits/termios-baud.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios baud rate selection definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-baud.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/termios-c_cc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios c_cc symbolic constant definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cc.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/termios-c_cflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios control mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cflag.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/termios-c_iflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios input mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_iflags.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/termios-c_lflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019i Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_lflag.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/termios-c_oflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios output mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_oflag.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc-linux-gnu/bits/termios-misc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios baud platform specific definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-misc.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc-linux-gnu/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word definitions. PowerPC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FPU_CONTROL_H |
| 20 | 20 | #define _FPU_CONTROL_H |
lib/libc/include/powerpc-linux-gnu/ieee754.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,14 +13,14 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | 25 | __BEGIN_DECLS |
| 26 | 26 |
lib/libc/include/powerpc-linux-gnu/sys/ptrace.h+12-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/PowerPC version. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PTRACE_H |
| 20 | 20 | #define _SYS_PTRACE_H	1 |
| ... | ... | @@ -38,6 +38,7 @@ __BEGIN_DECLS |
| 38 | 38 | # undef PTRACE_GETREGSET |
| 39 | 39 | # undef PTRACE_GETSIGINFO |
| 40 | 40 | # undef PTRACE_GETSIGMASK |
| 41 | # undef PTRACE_GET_SYSCALL_INFO | |
| 41 | 42 | # undef PTRACE_GETVRREGS |
| 42 | 43 | # undef PTRACE_GETVSRREGS |
| 43 | 44 | # undef PTRACE_INTERRUPT |
| ... | ... | @@ -65,6 +66,10 @@ __BEGIN_DECLS |
| 65 | 66 | # undef PTRACE_SINGLEBLOCK |
| 66 | 67 | # undef PTRACE_SINGLESTEP |
| 67 | 68 | # undef PTRACE_SYSCALL |
| 69 | # undef PTRACE_SYSCALL_INFO_NONE | |
| 70 | # undef PTRACE_SYSCALL_INFO_ENTRY | |
| 71 | # undef PTRACE_SYSCALL_INFO_EXIT | |
| 72 | # undef PTRACE_SYSCALL_INFO_SECCOMP | |
| 68 | 73 | # undef PTRACE_TRACEME |
| 69 | 74 | #endif |
| 70 | 75 | |
| ... | ... | @@ -241,8 +246,12 @@ enum __ptrace_request |
| 241 | 246 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 242 | 247 | |
| 243 | 248 | /* Get seccomp BPF filter metadata. */ |
| 244 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 249 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 245 | 250 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 251 | ||
| 252 | /* Get information about system call. */ | |
| 253 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 254 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 246 | 255 | }; |
| 247 | 256 | |
| 248 | 257 |
lib/libc/include/powerpc-linux-gnu/sys/ucontext.h+6-6| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_UCONTEXT_H |
| 19 | 19 | #define _SYS_UCONTEXT_H	1 |
| ... | ... | @@ -75,12 +75,12 @@ typedef struct |
| 75 | 75 | * a sigcontext. For older kernel (without Altivec) the sigcontext matches |
| 76 | 76 | * the mcontext upto but not including the v_regs field. For kernels that |
| 77 | 77 | * don't set AT_HWCAP or return AT_HWCAP without PPC_FEATURE_HAS_ALTIVEC the |
| 78 | * v_regs field may not exist and should not be referenced. The v_regd field | |
| 79 | * can be refernced safely only after verifying that PPC_FEATURE_HAS_ALTIVEC | |
| 78 | * v_regs field may not exist and should not be referenced. The v_regs field | |
| 79 | * can be referenced safely only after verifying that PPC_FEATURE_HAS_ALTIVEC | |
| 80 | 80 | * is set in AT_HWCAP. */ |
| 81 | 81 | |
| 82 | 82 | /* Number of general registers. */ |
| 83 | # define __NGREG	48	/* includes r0-r31, nip, msr, lr, etc. */ | |
| 83 | # define __NGREG	48	/* includes r0-r31, nip, msr, lr, etc. */ | |
| 84 | 84 | # define __NFPREG	33	/* includes fp0-fp31 &fpscr. */ |
| 85 | 85 | # define __NVRREG	34	/* includes v0-v31, vscr, & vrsave in |
| 86 | 86 | 				 split vectors */ |
| ... | ... | @@ -136,7 +136,7 @@ typedef struct { |
| 136 | 136 | * either NULL (if this processor does not support the VMX feature) or the |
| 137 | 137 | * address of the first quadword within the allocated (vmx_reserve) area. |
| 138 | 138 | * |
| 139 | * The pointer (v_regs) of vector type (elf_vrreg_t) is essentually | |
| 139 | * The pointer (v_regs) of vector type (elf_vrreg_t) is essentially | |
| 140 | 140 | * an array of 34 quadword entries. The entries with |
| 141 | 141 | * indexes 0-31 contain the corresponding vector registers. The entry with |
| 142 | 142 | * index 32 contains the vscr as the last word (offset 12) within the |
lib/libc/include/powerpc-linux-gnu/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 |
lib/libc/include/powerpc64-linux-gnu/bits/endian.h deleted-36| ... | ... | @@ -1,36 +0,0 @@ |
| 1 | /* Copyright (C) 1997-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 | /* PowerPC can be little or big endian. Hopefully gcc will know... */ | |
| 19 | ||
| 20 | #ifndef _ENDIAN_H | |
| 21 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 22 | #endif | |
| 23 | ||
| 24 | #if defined __BIG_ENDIAN__ || defined _BIG_ENDIAN | |
| 25 | # if defined __LITTLE_ENDIAN__ || defined _LITTLE_ENDIAN | |
| 26 | # error Both BIG_ENDIAN and LITTLE_ENDIAN defined! | |
| 27 | # endif | |
| 28 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 29 | #else | |
| 30 | # if defined __LITTLE_ENDIAN__ || defined _LITTLE_ENDIAN | |
| 31 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 32 | # else | |
| 33 | # warning Cannot determine current byte order, assuming big-endian. | |
| 34 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 35 | # endif | |
| 36 | #endif | |
| \ No newline at end of file |
lib/libc/include/powerpc64-linux-gnu/bits/endianness.h created+16| ... | ... | @@ -0,0 +1,16 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* PowerPC has selectable endianness. */ | |
| 9 | #if defined __BIG_ENDIAN__ || defined _BIG_ENDIAN | |
| 10 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 11 | #endif | |
| 12 | #if defined __LITTLE_ENDIAN__ || defined _LITTLE_ENDIAN | |
| 13 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 14 | #endif | |
| 15 | ||
| 16 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/powerpc64-linux-gnu/bits/environments.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _UNISTD_H |
| 19 | 19 | # error "Never include this file directly. Use <unistd.h> instead" |
lib/libc/include/powerpc64-linux-gnu/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux/PowerPC. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -170,7 +170,7 @@ extern const fenv_t __fe_nonieee_env; |
| 170 | 170 | |
| 171 | 171 | #endif |
| 172 | 172 | |
| 173 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 173 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 174 | 174 | /* Type representing floating-point control modes. */ |
| 175 | 175 | typedef double femode_t; |
| 176 | 176 |
lib/libc/include/powerpc64-linux-gnu/bits/fenvinline.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Inline floating-point environment handling functions for powerpc. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if defined __GNUC__ && !defined _SOFT_FLOAT && !defined __NO_FPRS__ |
| 20 | 20 |
lib/libc/include/powerpc64-linux-gnu/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on powerpc. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/powerpc64-linux-gnu/bits/fp-fast.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define FP_FAST_* macros. PowerPC version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/fp-fast.h> directly; include <math.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP and AT_HWCAP2. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined(_SYS_AUXV_H) && !defined(_SYSDEPS_SYSDEP_H) |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/ioctl-types.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structure types for pre-termios terminal ioctls. Linux/powerpc version. |
| 2 | Copyright (C) 2014-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IOCTL_H |
| 20 | 20 | # error "Never use <bits/ioctl-types.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/ipc-perm.h created+36| ... | ... | @@ -0,0 +1,36 @@ |
| 1 | /* struct ipc_perm definition. Linux/powerpc version. | |
| 2 | Copyright (C) 1995-2020 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 | <https://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_IPC_H | |
| 20 | # error "Never use <bits/ipc-perm.h> directly; include <sys/ipc.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | /* Data structure used to pass permission information to IPC operations. */ | |
| 24 | struct ipc_perm | |
| 25 | { | |
| 26 | __key_t __key;		/* Key. */ | |
| 27 | __uid_t uid;		/* Owner's user ID. */ | |
| 28 | __gid_t gid;		/* Owner's group ID. */ | |
| 29 | __uid_t cuid;		/* Creator's user ID. */ | |
| 30 | __gid_t cgid;		/* Creator's group ID. */ | |
| 31 | __mode_t mode;		/* Read/write permission. */ | |
| 32 | __uint32_t __seq;		/* Sequence number. */ | |
| 33 | __uint32_t __pad1; | |
| 34 | __uint64_t __glibc_reserved1; | |
| 35 | __uint64_t __glibc_reserved2; | |
| 36 | }; | |
| \ No newline at end of file |
lib/libc/include/powerpc64-linux-gnu/bits/ipc.h deleted-54| ... | ... | @@ -1,54 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | ||
| 24 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 25 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 26 | #define IPC_EXCL	02000		/* Fail if key exists. */ | |
| 27 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 28 | ||
| 29 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 30 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 31 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 32 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 33 | #ifdef __USE_GNU | |
| 34 | # define IPC_INFO	3		/* See ipcs. */ | |
| 35 | #endif | |
| 36 | ||
| 37 | /* Special key values. */ | |
| 38 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key. */ | |
| 39 | ||
| 40 | ||
| 41 | /* Data structure used to pass permission information to IPC operations. */ | |
| 42 | struct ipc_perm | |
| 43 | { | |
| 44 | __key_t __key;		/* Key. */ | |
| 45 | __uid_t uid;		/* Owner's user ID. */ | |
| 46 | __gid_t gid;		/* Owner's group ID. */ | |
| 47 | __uid_t cuid;		/* Creator's user ID. */ | |
| 48 | __gid_t cgid;		/* Creator's group ID. */ | |
| 49 | __mode_t mode;		/* Read/write permission. */ | |
| 50 | __uint32_t __seq;		/* Sequence number. */ | |
| 51 | __uint32_t __pad1; | |
| 52 | __uint64_t __glibc_reserved1; | |
| 53 | __uint64_t __glibc_reserved2; | |
| 54 | }; | |
| \ No newline at end of file |
lib/libc/include/powerpc64-linux-gnu/bits/iscanonical.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define iscanonical macro. ldbl-128ibm version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/iscanonical.h> directly; include <math.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/link.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific declarations for dynamic linker interface. PowerPC version |
| 2 | Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_LINK_H |
| 20 | 20 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. Linux/PPC version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; see the file COPYING.LIB. If |
| 17 | not, see <http://www.gnu.org/licenses/>. */ | |
| 17 | not, see <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 20 | 20 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/powerpc64-linux-gnu/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. ldbl-opt version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,11 +14,12 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __NO_LONG_DOUBLE_MATH |
| 20 | 20 | # define __LONG_DOUBLE_MATH_OPTIONAL	1 |
| 21 | 21 | # ifndef __LONG_DOUBLE_128__ |
| 22 | 22 | # define __NO_LONG_DOUBLE_MATH		1 |
| 23 | 23 | # endif |
| 24 | #endif | |
| \ No newline at end of file | ||
| 24 | #endif | |
| 25 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/powerpc64-linux-gnu/bits/mman.h+4-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/PowerPC version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
| ... | ... | @@ -36,6 +36,8 @@ |
| 36 | 36 | # define MAP_NONBLOCK	0x10000		/* Do not block on IO. */ |
| 37 | 37 | # define MAP_STACK	0x20000		/* Allocation is for a stack. */ |
| 38 | 38 | # define MAP_HUGETLB	0x40000		/* Create huge page mapping. */ |
| 39 | # define MAP_SYNC	0x80000		/* Perform synchronous page | |
| 40 | 					 faults for the mapping. */ | |
| 39 | 41 | # define MAP_FIXED_NOREPLACE 0x100000	/* MAP_FIXED but do not unmap |
| 40 | 42 | 					 underlying mapping. */ |
| 41 | 43 | #endif |
lib/libc/include/powerpc64-linux-gnu/bits/msq-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct msqid_ds. PowerPC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MSG_H |
| 20 | 20 | # error "Never use <bits/msq-pad.h> directly; include <sys/msg.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. PowerPC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/pthreadtypes-arch.h deleted-81| ... | ... | @@ -1,81 +0,0 @@ |
| 1 | /* Machine-specific pthread type layouts. PowerPC version. | |
| 2 | Copyright (C) 2003-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 _BITS_PTHREADTYPES_ARCH_H | |
| 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 21 | ||
| 22 | #include <bits/wordsize.h> | |
| 23 | ||
| 24 | #if __WORDSIZE == 64 | |
| 25 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 26 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 29 | #else | |
| 30 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 31 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 34 | #endif | |
| 35 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 36 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 37 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 38 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 39 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 40 | ||
| 41 | /* Definitions for internal mutex struct. */ | |
| 42 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 43 | #define __PTHREAD_COMPAT_PADDING_END | |
| 44 | #define __PTHREAD_MUTEX_LOCK_ELISION 1 | |
| 45 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND (__WORDSIZE != 64) | |
| 46 | #define __PTHREAD_MUTEX_USE_UNION (__WORDSIZE != 64) | |
| 47 | ||
| 48 | #define __LOCK_ALIGNMENT | |
| 49 | #define __ONCE_ALIGNMENT | |
| 50 | ||
| 51 | struct __pthread_rwlock_arch_t | |
| 52 | { | |
| 53 | unsigned int __readers; | |
| 54 | unsigned int __writers; | |
| 55 | unsigned int __wrphase_futex; | |
| 56 | unsigned int __writers_futex; | |
| 57 | unsigned int __pad3; | |
| 58 | unsigned int __pad4; | |
| 59 | #if __WORDSIZE == 64 | |
| 60 | int __cur_writer; | |
| 61 | int __shared; | |
| 62 | unsigned char __rwelision; | |
| 63 | unsigned char __pad1[7]; | |
| 64 | unsigned long int __pad2; | |
| 65 | /* FLAGS must stay at this position in the structure to maintain | |
| 66 | binary compatibility. */ | |
| 67 | unsigned int __flags; | |
| 68 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, {0, 0, 0, 0, 0, 0, 0 } | |
| 69 | #else | |
| 70 | unsigned char __rwelision; | |
| 71 | unsigned char __pad2; | |
| 72 | unsigned char __shared; | |
| 73 | /* FLAGS must stay at this position in the structure to maintain | |
| 74 | binary compatibility. */ | |
| 75 | unsigned char __flags; | |
| 76 | int __cur_writer; | |
| 77 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 78 | #endif | |
| 79 | }; | |
| 80 | ||
| 81 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/powerpc64-linux-gnu/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. PowerPC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/semaphore.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific POSIX semaphore type layouts. PowerPC version. |
| 2 | Copyright (C) 2003-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2003-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Paul Mackerras <paulus@au.ibm.com>, 2003. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SEMAPHORE_H |
| 21 | 21 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Define the machine-dependent type `jmp_buf'. PowerPC version. */ |
| 19 | 19 | #ifndef _BITS_SETJMP_H |
lib/libc/include/powerpc64-linux-gnu/bits/shm-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct shmid_ds. PowerPC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shm-pad.h> directly; include <sys/shm.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/sigstack.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGSTACK_H |
| 20 | 20 | #define _BITS_SIGSTACK_H 1 |
lib/libc/include/powerpc64-linux-gnu/bits/socket-constants.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Socket constants which vary among Linux architectures. Version for POWER. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/struct_mutex.h created+63| ... | ... | @@ -0,0 +1,63 @@ |
| 1 | /* PowerPC internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #if __WORDSIZE == 64 | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #if __WORDSIZE == 64 | |
| 34 | short __spins; | |
| 35 | short __elision; | |
| 36 | __pthread_list_t __list; | |
| 37 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 38 | #else | |
| 39 | unsigned int __nusers; | |
| 40 | __extension__ union | |
| 41 | { | |
| 42 | struct | |
| 43 | { | |
| 44 | short __espins; | |
| 45 | short __elision; | |
| 46 | # define __spins __elision_data.__espins | |
| 47 | # define __elision __elision_data.__elision | |
| 48 | } __elision_data; | |
| 49 | __pthread_slist_t __list; | |
| 50 | }; | |
| 51 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 52 | #endif | |
| 53 | }; | |
| 54 | ||
| 55 | #if __WORDSIZE == 64 | |
| 56 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 57 | 0, 0, 0, 0, __kind, 0, 0, { 0, 0 } | |
| 58 | #else | |
| 59 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 60 | 0, 0, 0, __kind, 0, { { 0, 0 } } | |
| 61 | #endif | |
| 62 | ||
| 63 | #endif | |
| \ No newline at end of file |
lib/libc/include/powerpc64-linux-gnu/bits/struct_rwlock.h created+61| ... | ... | @@ -0,0 +1,61 @@ |
| 1 | /* PowerPC internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 4 | This file is part of the GNU C Library. | |
| 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with the GNU C Library; if not, see | |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | |
| 21 | #define _RWLOCK_INTERNAL_H | |
| 22 | ||
| 23 | struct __pthread_rwlock_arch_t | |
| 24 | { | |
| 25 | unsigned int __readers; | |
| 26 | unsigned int __writers; | |
| 27 | unsigned int __wrphase_futex; | |
| 28 | unsigned int __writers_futex; | |
| 29 | unsigned int __pad3; | |
| 30 | unsigned int __pad4; | |
| 31 | #if __WORDSIZE == 64 | |
| 32 | int __cur_writer; | |
| 33 | int __shared; | |
| 34 | unsigned char __rwelision; | |
| 35 | unsigned char __pad1[7]; | |
| 36 | unsigned long int __pad2; | |
| 37 | /* FLAGS must stay at this position in the structure to maintain | |
| 38 | binary compatibility. */ | |
| 39 | unsigned int __flags; | |
| 40 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, {0, 0, 0, 0, 0, 0, 0 } | |
| 41 | #else | |
| 42 | unsigned char __rwelision; | |
| 43 | unsigned char __pad2; | |
| 44 | unsigned char __shared; | |
| 45 | /* FLAGS must stay at this position in the structure to maintain | |
| 46 | binary compatibility. */ | |
| 47 | unsigned char __flags; | |
| 48 | int __cur_writer; | |
| 49 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 50 | #endif | |
| 51 | }; | |
| 52 | ||
| 53 | #if __WORDSIZE == 64 | |
| 54 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 55 | 0, 0, 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, __flags | |
| 56 | #else | |
| 57 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 58 | 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, 0, __flags, 0 | |
| 59 | #endif | |
| 60 | ||
| 61 | #endif | |
| \ No newline at end of file |
lib/libc/include/powerpc64-linux-gnu/bits/termios-baud.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios baud rate selection definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-baud.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/termios-c_cc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios c_cc symbolic constant definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cc.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/termios-c_cflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios control mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cflag.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/termios-c_iflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios input mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_iflags.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/termios-c_lflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019i Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_lflag.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/termios-c_oflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios output mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_oflag.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64-linux-gnu/bits/termios-misc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios baud platform specific definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-misc.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64-linux-gnu/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word definitions. PowerPC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FPU_CONTROL_H |
| 20 | 20 | #define _FPU_CONTROL_H |
lib/libc/include/powerpc64-linux-gnu/ieee754.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,14 +13,14 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | 25 | __BEGIN_DECLS |
| 26 | 26 |
lib/libc/include/powerpc64-linux-gnu/sys/ptrace.h+12-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/PowerPC version. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PTRACE_H |
| 20 | 20 | #define _SYS_PTRACE_H	1 |
| ... | ... | @@ -38,6 +38,7 @@ __BEGIN_DECLS |
| 38 | 38 | # undef PTRACE_GETREGSET |
| 39 | 39 | # undef PTRACE_GETSIGINFO |
| 40 | 40 | # undef PTRACE_GETSIGMASK |
| 41 | # undef PTRACE_GET_SYSCALL_INFO | |
| 41 | 42 | # undef PTRACE_GETVRREGS |
| 42 | 43 | # undef PTRACE_GETVSRREGS |
| 43 | 44 | # undef PTRACE_INTERRUPT |
| ... | ... | @@ -65,6 +66,10 @@ __BEGIN_DECLS |
| 65 | 66 | # undef PTRACE_SINGLEBLOCK |
| 66 | 67 | # undef PTRACE_SINGLESTEP |
| 67 | 68 | # undef PTRACE_SYSCALL |
| 69 | # undef PTRACE_SYSCALL_INFO_NONE | |
| 70 | # undef PTRACE_SYSCALL_INFO_ENTRY | |
| 71 | # undef PTRACE_SYSCALL_INFO_EXIT | |
| 72 | # undef PTRACE_SYSCALL_INFO_SECCOMP | |
| 68 | 73 | # undef PTRACE_TRACEME |
| 69 | 74 | #endif |
| 70 | 75 | |
| ... | ... | @@ -241,8 +246,12 @@ enum __ptrace_request |
| 241 | 246 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 242 | 247 | |
| 243 | 248 | /* Get seccomp BPF filter metadata. */ |
| 244 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 249 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 245 | 250 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 251 | ||
| 252 | /* Get information about system call. */ | |
| 253 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 254 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 246 | 255 | }; |
| 247 | 256 | |
| 248 | 257 |
lib/libc/include/powerpc64-linux-gnu/sys/ucontext.h+6-6| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_UCONTEXT_H |
| 19 | 19 | #define _SYS_UCONTEXT_H	1 |
| ... | ... | @@ -75,12 +75,12 @@ typedef struct |
| 75 | 75 | * a sigcontext. For older kernel (without Altivec) the sigcontext matches |
| 76 | 76 | * the mcontext upto but not including the v_regs field. For kernels that |
| 77 | 77 | * don't set AT_HWCAP or return AT_HWCAP without PPC_FEATURE_HAS_ALTIVEC the |
| 78 | * v_regs field may not exist and should not be referenced. The v_regd field | |
| 79 | * can be refernced safely only after verifying that PPC_FEATURE_HAS_ALTIVEC | |
| 78 | * v_regs field may not exist and should not be referenced. The v_regs field | |
| 79 | * can be referenced safely only after verifying that PPC_FEATURE_HAS_ALTIVEC | |
| 80 | 80 | * is set in AT_HWCAP. */ |
| 81 | 81 | |
| 82 | 82 | /* Number of general registers. */ |
| 83 | # define __NGREG	48	/* includes r0-r31, nip, msr, lr, etc. */ | |
| 83 | # define __NGREG	48	/* includes r0-r31, nip, msr, lr, etc. */ | |
| 84 | 84 | # define __NFPREG	33	/* includes fp0-fp31 &fpscr. */ |
| 85 | 85 | # define __NVRREG	34	/* includes v0-v31, vscr, & vrsave in |
| 86 | 86 | 				 split vectors */ |
| ... | ... | @@ -136,7 +136,7 @@ typedef struct { |
| 136 | 136 | * either NULL (if this processor does not support the VMX feature) or the |
| 137 | 137 | * address of the first quadword within the allocated (vmx_reserve) area. |
| 138 | 138 | * |
| 139 | * The pointer (v_regs) of vector type (elf_vrreg_t) is essentually | |
| 139 | * The pointer (v_regs) of vector type (elf_vrreg_t) is essentially | |
| 140 | 140 | * an array of 34 quadword entries. The entries with |
| 141 | 141 | * indexes 0-31 contain the corresponding vector registers. The entry with |
| 142 | 142 | * index 32 contains the vscr as the last word (offset 12) within the |
lib/libc/include/powerpc64-linux-gnu/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 |
lib/libc/include/powerpc64le-linux-gnu/bits/endian.h deleted-36| ... | ... | @@ -1,36 +0,0 @@ |
| 1 | /* Copyright (C) 1997-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 | /* PowerPC can be little or big endian. Hopefully gcc will know... */ | |
| 19 | ||
| 20 | #ifndef _ENDIAN_H | |
| 21 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 22 | #endif | |
| 23 | ||
| 24 | #if defined __BIG_ENDIAN__ || defined _BIG_ENDIAN | |
| 25 | # if defined __LITTLE_ENDIAN__ || defined _LITTLE_ENDIAN | |
| 26 | # error Both BIG_ENDIAN and LITTLE_ENDIAN defined! | |
| 27 | # endif | |
| 28 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 29 | #else | |
| 30 | # if defined __LITTLE_ENDIAN__ || defined _LITTLE_ENDIAN | |
| 31 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 32 | # else | |
| 33 | # warning Cannot determine current byte order, assuming big-endian. | |
| 34 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 35 | # endif | |
| 36 | #endif | |
| \ No newline at end of file |
lib/libc/include/powerpc64le-linux-gnu/bits/endianness.h created+16| ... | ... | @@ -0,0 +1,16 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* PowerPC has selectable endianness. */ | |
| 9 | #if defined __BIG_ENDIAN__ || defined _BIG_ENDIAN | |
| 10 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 11 | #endif | |
| 12 | #if defined __LITTLE_ENDIAN__ || defined _LITTLE_ENDIAN | |
| 13 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 14 | #endif | |
| 15 | ||
| 16 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/powerpc64le-linux-gnu/bits/environments.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _UNISTD_H |
| 19 | 19 | # error "Never include this file directly. Use <unistd.h> instead" |
lib/libc/include/powerpc64le-linux-gnu/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux/PowerPC. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -170,7 +170,7 @@ extern const fenv_t __fe_nonieee_env; |
| 170 | 170 | |
| 171 | 171 | #endif |
| 172 | 172 | |
| 173 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 173 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 174 | 174 | /* Type representing floating-point control modes. */ |
| 175 | 175 | typedef double femode_t; |
| 176 | 176 |
lib/libc/include/powerpc64le-linux-gnu/bits/fenvinline.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Inline floating-point environment handling functions for powerpc. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if defined __GNUC__ && !defined _SOFT_FLOAT && !defined __NO_FPRS__ |
| 20 | 20 |
lib/libc/include/powerpc64le-linux-gnu/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on powerpc. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/powerpc64le-linux-gnu/bits/fp-fast.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define FP_FAST_* macros. PowerPC version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/fp-fast.h> directly; include <math.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP and AT_HWCAP2. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined(_SYS_AUXV_H) && !defined(_SYSDEPS_SYSDEP_H) |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/ioctl-types.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structure types for pre-termios terminal ioctls. Linux/powerpc version. |
| 2 | Copyright (C) 2014-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IOCTL_H |
| 20 | 20 | # error "Never use <bits/ioctl-types.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/ipc-perm.h created+36| ... | ... | @@ -0,0 +1,36 @@ |
| 1 | /* struct ipc_perm definition. Linux/powerpc version. | |
| 2 | Copyright (C) 1995-2020 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 | <https://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_IPC_H | |
| 20 | # error "Never use <bits/ipc-perm.h> directly; include <sys/ipc.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | /* Data structure used to pass permission information to IPC operations. */ | |
| 24 | struct ipc_perm | |
| 25 | { | |
| 26 | __key_t __key;		/* Key. */ | |
| 27 | __uid_t uid;		/* Owner's user ID. */ | |
| 28 | __gid_t gid;		/* Owner's group ID. */ | |
| 29 | __uid_t cuid;		/* Creator's user ID. */ | |
| 30 | __gid_t cgid;		/* Creator's group ID. */ | |
| 31 | __mode_t mode;		/* Read/write permission. */ | |
| 32 | __uint32_t __seq;		/* Sequence number. */ | |
| 33 | __uint32_t __pad1; | |
| 34 | __uint64_t __glibc_reserved1; | |
| 35 | __uint64_t __glibc_reserved2; | |
| 36 | }; | |
| \ No newline at end of file |
lib/libc/include/powerpc64le-linux-gnu/bits/ipc.h deleted-54| ... | ... | @@ -1,54 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | ||
| 24 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 25 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 26 | #define IPC_EXCL	02000		/* Fail if key exists. */ | |
| 27 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 28 | ||
| 29 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 30 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 31 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 32 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 33 | #ifdef __USE_GNU | |
| 34 | # define IPC_INFO	3		/* See ipcs. */ | |
| 35 | #endif | |
| 36 | ||
| 37 | /* Special key values. */ | |
| 38 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key. */ | |
| 39 | ||
| 40 | ||
| 41 | /* Data structure used to pass permission information to IPC operations. */ | |
| 42 | struct ipc_perm | |
| 43 | { | |
| 44 | __key_t __key;		/* Key. */ | |
| 45 | __uid_t uid;		/* Owner's user ID. */ | |
| 46 | __gid_t gid;		/* Owner's group ID. */ | |
| 47 | __uid_t cuid;		/* Creator's user ID. */ | |
| 48 | __gid_t cgid;		/* Creator's group ID. */ | |
| 49 | __mode_t mode;		/* Read/write permission. */ | |
| 50 | __uint32_t __seq;		/* Sequence number. */ | |
| 51 | __uint32_t __pad1; | |
| 52 | __uint64_t __glibc_reserved1; | |
| 53 | __uint64_t __glibc_reserved2; | |
| 54 | }; | |
| \ No newline at end of file |
lib/libc/include/powerpc64le-linux-gnu/bits/iscanonical.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define iscanonical macro. ldbl-128ibm version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/iscanonical.h> directly; include <math.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/link.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific declarations for dynamic linker interface. PowerPC version |
| 2 | Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_LINK_H |
| 20 | 20 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. Linux/PPC version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; see the file COPYING.LIB. If |
| 17 | not, see <http://www.gnu.org/licenses/>. */ | |
| 17 | not, see <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 20 | 20 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/powerpc64le-linux-gnu/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. ldbl-opt version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,11 +14,12 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __NO_LONG_DOUBLE_MATH |
| 20 | 20 | # define __LONG_DOUBLE_MATH_OPTIONAL	1 |
| 21 | 21 | # ifndef __LONG_DOUBLE_128__ |
| 22 | 22 | # define __NO_LONG_DOUBLE_MATH		1 |
| 23 | 23 | # endif |
| 24 | #endif | |
| \ No newline at end of file | ||
| 24 | #endif | |
| 25 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/powerpc64le-linux-gnu/bits/mman.h+4-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/PowerPC version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
| ... | ... | @@ -36,6 +36,8 @@ |
| 36 | 36 | # define MAP_NONBLOCK	0x10000		/* Do not block on IO. */ |
| 37 | 37 | # define MAP_STACK	0x20000		/* Allocation is for a stack. */ |
| 38 | 38 | # define MAP_HUGETLB	0x40000		/* Create huge page mapping. */ |
| 39 | # define MAP_SYNC	0x80000		/* Perform synchronous page | |
| 40 | 					 faults for the mapping. */ | |
| 39 | 41 | # define MAP_FIXED_NOREPLACE 0x100000	/* MAP_FIXED but do not unmap |
| 40 | 42 | 					 underlying mapping. */ |
| 41 | 43 | #endif |
lib/libc/include/powerpc64le-linux-gnu/bits/msq-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct msqid_ds. PowerPC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MSG_H |
| 20 | 20 | # error "Never use <bits/msq-pad.h> directly; include <sys/msg.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. PowerPC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/pthreadtypes-arch.h deleted-81| ... | ... | @@ -1,81 +0,0 @@ |
| 1 | /* Machine-specific pthread type layouts. PowerPC version. | |
| 2 | Copyright (C) 2003-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 _BITS_PTHREADTYPES_ARCH_H | |
| 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 21 | ||
| 22 | #include <bits/wordsize.h> | |
| 23 | ||
| 24 | #if __WORDSIZE == 64 | |
| 25 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 26 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 29 | #else | |
| 30 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 31 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 34 | #endif | |
| 35 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 36 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 37 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 38 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 39 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 40 | ||
| 41 | /* Definitions for internal mutex struct. */ | |
| 42 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 43 | #define __PTHREAD_COMPAT_PADDING_END | |
| 44 | #define __PTHREAD_MUTEX_LOCK_ELISION 1 | |
| 45 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND (__WORDSIZE != 64) | |
| 46 | #define __PTHREAD_MUTEX_USE_UNION (__WORDSIZE != 64) | |
| 47 | ||
| 48 | #define __LOCK_ALIGNMENT | |
| 49 | #define __ONCE_ALIGNMENT | |
| 50 | ||
| 51 | struct __pthread_rwlock_arch_t | |
| 52 | { | |
| 53 | unsigned int __readers; | |
| 54 | unsigned int __writers; | |
| 55 | unsigned int __wrphase_futex; | |
| 56 | unsigned int __writers_futex; | |
| 57 | unsigned int __pad3; | |
| 58 | unsigned int __pad4; | |
| 59 | #if __WORDSIZE == 64 | |
| 60 | int __cur_writer; | |
| 61 | int __shared; | |
| 62 | unsigned char __rwelision; | |
| 63 | unsigned char __pad1[7]; | |
| 64 | unsigned long int __pad2; | |
| 65 | /* FLAGS must stay at this position in the structure to maintain | |
| 66 | binary compatibility. */ | |
| 67 | unsigned int __flags; | |
| 68 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, {0, 0, 0, 0, 0, 0, 0 } | |
| 69 | #else | |
| 70 | unsigned char __rwelision; | |
| 71 | unsigned char __pad2; | |
| 72 | unsigned char __shared; | |
| 73 | /* FLAGS must stay at this position in the structure to maintain | |
| 74 | binary compatibility. */ | |
| 75 | unsigned char __flags; | |
| 76 | int __cur_writer; | |
| 77 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 78 | #endif | |
| 79 | }; | |
| 80 | ||
| 81 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/powerpc64le-linux-gnu/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. PowerPC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/semaphore.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific POSIX semaphore type layouts. PowerPC version. |
| 2 | Copyright (C) 2003-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2003-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Paul Mackerras <paulus@au.ibm.com>, 2003. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SEMAPHORE_H |
| 21 | 21 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Define the machine-dependent type `jmp_buf'. PowerPC version. */ |
| 19 | 19 | #ifndef _BITS_SETJMP_H |
lib/libc/include/powerpc64le-linux-gnu/bits/shm-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct shmid_ds. PowerPC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shm-pad.h> directly; include <sys/shm.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/sigstack.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGSTACK_H |
| 20 | 20 | #define _BITS_SIGSTACK_H 1 |
lib/libc/include/powerpc64le-linux-gnu/bits/socket-constants.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Socket constants which vary among Linux architectures. Version for POWER. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/struct_mutex.h created+63| ... | ... | @@ -0,0 +1,63 @@ |
| 1 | /* PowerPC internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #if __WORDSIZE == 64 | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #if __WORDSIZE == 64 | |
| 34 | short __spins; | |
| 35 | short __elision; | |
| 36 | __pthread_list_t __list; | |
| 37 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 38 | #else | |
| 39 | unsigned int __nusers; | |
| 40 | __extension__ union | |
| 41 | { | |
| 42 | struct | |
| 43 | { | |
| 44 | short __espins; | |
| 45 | short __elision; | |
| 46 | # define __spins __elision_data.__espins | |
| 47 | # define __elision __elision_data.__elision | |
| 48 | } __elision_data; | |
| 49 | __pthread_slist_t __list; | |
| 50 | }; | |
| 51 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 52 | #endif | |
| 53 | }; | |
| 54 | ||
| 55 | #if __WORDSIZE == 64 | |
| 56 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 57 | 0, 0, 0, 0, __kind, 0, 0, { 0, 0 } | |
| 58 | #else | |
| 59 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 60 | 0, 0, 0, __kind, 0, { { 0, 0 } } | |
| 61 | #endif | |
| 62 | ||
| 63 | #endif | |
| \ No newline at end of file |
lib/libc/include/powerpc64le-linux-gnu/bits/struct_rwlock.h created+61| ... | ... | @@ -0,0 +1,61 @@ |
| 1 | /* PowerPC internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 4 | This file is part of the GNU C Library. | |
| 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with the GNU C Library; if not, see | |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | |
| 21 | #define _RWLOCK_INTERNAL_H | |
| 22 | ||
| 23 | struct __pthread_rwlock_arch_t | |
| 24 | { | |
| 25 | unsigned int __readers; | |
| 26 | unsigned int __writers; | |
| 27 | unsigned int __wrphase_futex; | |
| 28 | unsigned int __writers_futex; | |
| 29 | unsigned int __pad3; | |
| 30 | unsigned int __pad4; | |
| 31 | #if __WORDSIZE == 64 | |
| 32 | int __cur_writer; | |
| 33 | int __shared; | |
| 34 | unsigned char __rwelision; | |
| 35 | unsigned char __pad1[7]; | |
| 36 | unsigned long int __pad2; | |
| 37 | /* FLAGS must stay at this position in the structure to maintain | |
| 38 | binary compatibility. */ | |
| 39 | unsigned int __flags; | |
| 40 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, {0, 0, 0, 0, 0, 0, 0 } | |
| 41 | #else | |
| 42 | unsigned char __rwelision; | |
| 43 | unsigned char __pad2; | |
| 44 | unsigned char __shared; | |
| 45 | /* FLAGS must stay at this position in the structure to maintain | |
| 46 | binary compatibility. */ | |
| 47 | unsigned char __flags; | |
| 48 | int __cur_writer; | |
| 49 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 50 | #endif | |
| 51 | }; | |
| 52 | ||
| 53 | #if __WORDSIZE == 64 | |
| 54 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 55 | 0, 0, 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, __flags | |
| 56 | #else | |
| 57 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 58 | 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, 0, __flags, 0 | |
| 59 | #endif | |
| 60 | ||
| 61 | #endif | |
| \ No newline at end of file |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-baud.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios baud rate selection definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-baud.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-c_cc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios c_cc symbolic constant definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cc.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-c_cflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios control mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cflag.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-c_iflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios input mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_iflags.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-c_lflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios local mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019i Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_lflag.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-c_oflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios output mode definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_oflag.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/bits/termios-misc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios baud platform specific definitions. Linux/powerpc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-misc.h> directly; use <termios.h> instead." |
lib/libc/include/powerpc64le-linux-gnu/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word definitions. PowerPC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FPU_CONTROL_H |
| 20 | 20 | #define _FPU_CONTROL_H |
lib/libc/include/powerpc64le-linux-gnu/ieee754.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,14 +13,14 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | 25 | __BEGIN_DECLS |
| 26 | 26 |
lib/libc/include/powerpc64le-linux-gnu/sys/ptrace.h+12-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/PowerPC version. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PTRACE_H |
| 20 | 20 | #define _SYS_PTRACE_H	1 |
| ... | ... | @@ -38,6 +38,7 @@ __BEGIN_DECLS |
| 38 | 38 | # undef PTRACE_GETREGSET |
| 39 | 39 | # undef PTRACE_GETSIGINFO |
| 40 | 40 | # undef PTRACE_GETSIGMASK |
| 41 | # undef PTRACE_GET_SYSCALL_INFO | |
| 41 | 42 | # undef PTRACE_GETVRREGS |
| 42 | 43 | # undef PTRACE_GETVSRREGS |
| 43 | 44 | # undef PTRACE_INTERRUPT |
| ... | ... | @@ -65,6 +66,10 @@ __BEGIN_DECLS |
| 65 | 66 | # undef PTRACE_SINGLEBLOCK |
| 66 | 67 | # undef PTRACE_SINGLESTEP |
| 67 | 68 | # undef PTRACE_SYSCALL |
| 69 | # undef PTRACE_SYSCALL_INFO_NONE | |
| 70 | # undef PTRACE_SYSCALL_INFO_ENTRY | |
| 71 | # undef PTRACE_SYSCALL_INFO_EXIT | |
| 72 | # undef PTRACE_SYSCALL_INFO_SECCOMP | |
| 68 | 73 | # undef PTRACE_TRACEME |
| 69 | 74 | #endif |
| 70 | 75 | |
| ... | ... | @@ -241,8 +246,12 @@ enum __ptrace_request |
| 241 | 246 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 242 | 247 | |
| 243 | 248 | /* Get seccomp BPF filter metadata. */ |
| 244 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 249 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 245 | 250 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 251 | ||
| 252 | /* Get information about system call. */ | |
| 253 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 254 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 246 | 255 | }; |
| 247 | 256 | |
| 248 | 257 |
lib/libc/include/powerpc64le-linux-gnu/sys/ucontext.h+6-6| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_UCONTEXT_H |
| 19 | 19 | #define _SYS_UCONTEXT_H	1 |
| ... | ... | @@ -75,12 +75,12 @@ typedef struct |
| 75 | 75 | * a sigcontext. For older kernel (without Altivec) the sigcontext matches |
| 76 | 76 | * the mcontext upto but not including the v_regs field. For kernels that |
| 77 | 77 | * don't set AT_HWCAP or return AT_HWCAP without PPC_FEATURE_HAS_ALTIVEC the |
| 78 | * v_regs field may not exist and should not be referenced. The v_regd field | |
| 79 | * can be refernced safely only after verifying that PPC_FEATURE_HAS_ALTIVEC | |
| 78 | * v_regs field may not exist and should not be referenced. The v_regs field | |
| 79 | * can be referenced safely only after verifying that PPC_FEATURE_HAS_ALTIVEC | |
| 80 | 80 | * is set in AT_HWCAP. */ |
| 81 | 81 | |
| 82 | 82 | /* Number of general registers. */ |
| 83 | # define __NGREG	48	/* includes r0-r31, nip, msr, lr, etc. */ | |
| 83 | # define __NGREG	48	/* includes r0-r31, nip, msr, lr, etc. */ | |
| 84 | 84 | # define __NFPREG	33	/* includes fp0-fp31 &fpscr. */ |
| 85 | 85 | # define __NVRREG	34	/* includes v0-v31, vscr, & vrsave in |
| 86 | 86 | 				 split vectors */ |
| ... | ... | @@ -136,7 +136,7 @@ typedef struct { |
| 136 | 136 | * either NULL (if this processor does not support the VMX feature) or the |
| 137 | 137 | * address of the first quadword within the allocated (vmx_reserve) area. |
| 138 | 138 | * |
| 139 | * The pointer (v_regs) of vector type (elf_vrreg_t) is essentually | |
| 139 | * The pointer (v_regs) of vector type (elf_vrreg_t) is essentially | |
| 140 | 140 | * an array of 34 quadword entries. The entries with |
| 141 | 141 | * indexes 0-31 contain the corresponding vector registers. The entry with |
| 142 | 142 | * index 32 contains the vscr as the last word (offset 12) within the |
lib/libc/include/powerpc64le-linux-gnu/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 |
lib/libc/include/riscv64-linux-gnu/bits/endian.h deleted-5| ... | ... | @@ -1,5 +0,0 @@ |
| 1 | #ifndef _ENDIAN_H | |
| 2 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 3 | #endif | |
| 4 | ||
| 5 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| \ No newline at end of file |
lib/libc/include/riscv64-linux-gnu/bits/endianness.h created+11| ... | ... | @@ -0,0 +1,11 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* RISC-V is little-endian. */ | |
| 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| 10 | ||
| 11 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/riscv64-linux-gnu/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux / RISC-V. |
| 2 | Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef	_FCNTL_H |
| 21 | 21 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/riscv64-linux-gnu/bits/fenv.h+3-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Floating point environment, RISC-V version. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FENV_H |
| 20 | 20 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -65,7 +65,7 @@ typedef unsigned int fenv_t; |
| 65 | 65 | /* If the default argument is used we use this value. */ |
| 66 | 66 | #define FE_DFL_ENV	((__const fenv_t *) -1) |
| 67 | 67 | |
| 68 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 68 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 69 | 69 | /* Type representing floating-point control modes. */ |
| 70 | 70 | typedef unsigned int femode_t; |
| 71 | 71 |
lib/libc/include/riscv64-linux-gnu/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on ldbl-128 platforms. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/riscv64-linux-gnu/bits/link.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific declarations for dynamic linker interface. RISC-V version. |
| 2 | Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_LINK_H |
| 20 | 20 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/riscv64-linux-gnu/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. ldbl-128 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,8 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* long double is distinct from double, so there is nothing to |
| 20 | define here. */ | |
| \ No newline at end of file | ||
| 20 | define here. */ | |
| 21 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/riscv64-linux-gnu/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. RISC-V version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/riscv64-linux-gnu/bits/pthreadtypes-arch.h+3-30| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific pthread type layouts. RISC-V version. |
| 2 | Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,12 +14,12 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_PTHREADTYPES_ARCH_H |
| 20 | 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 |
| 21 | 21 | |
| 22 | #include <endian.h> | |
| 22 | #include <bits/endian.h> | |
| 23 | 23 | |
| 24 | 24 | #if __riscv_xlen == 64 |
| 25 | 25 | # define __SIZEOF_PTHREAD_ATTR_T 		56 |
| ... | ... | @@ -35,34 +35,7 @@ |
| 35 | 35 | # error "rv32i-based systems are not supported" |
| 36 | 36 | #endif |
| 37 | 37 | |
| 38 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 39 | #define __PTHREAD_COMPAT_PADDING_END | |
| 40 | #define __PTHREAD_MUTEX_LOCK_ELISION		0 | |
| 41 | #define __PTHREAD_MUTEX_USE_UNION	 	0 | |
| 42 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND	0 | |
| 43 | ||
| 44 | 38 | #define __LOCK_ALIGNMENT |
| 45 | 39 | #define __ONCE_ALIGNMENT |
| 46 | 40 | |
| 47 | /* There is a lot of padding in this structure. While it's not strictly | |
| 48 | necessary on RISC-V, we're going to leave it in to be on the safe side in | |
| 49 | case it's needed in the future. Most other architectures have the padding, | |
| 50 | so this gives us the same extensibility as everyone else has. */ | |
| 51 | struct __pthread_rwlock_arch_t | |
| 52 | { | |
| 53 | unsigned int __readers; | |
| 54 | unsigned int __writers; | |
| 55 | unsigned int __wrphase_futex; | |
| 56 | unsigned int __writers_futex; | |
| 57 | unsigned int __pad3; | |
| 58 | unsigned int __pad4; | |
| 59 | int __cur_writer; | |
| 60 | int __shared; | |
| 61 | unsigned long int __pad1; | |
| 62 | unsigned long int __pad2; | |
| 63 | unsigned int __flags; | |
| 64 | }; | |
| 65 | ||
| 66 | #define __PTHREAD_RWLOCK_ELISION_EXTRA 		0 | |
| 67 | ||
| 68 | 41 | #endif	/* bits/pthreadtypes.h */ |
| \ No newline at end of file |
lib/libc/include/riscv64-linux-gnu/bits/semaphore.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific POSIX semaphore type layouts. RISC-V version. |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SEMAPHORE_H |
| 20 | 20 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/riscv64-linux-gnu/bits/setjmp.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define the machine-dependent type `jmp_buf'. RISC-V version. |
| 2 | Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _RISCV_BITS_SETJMP_H |
| 20 | 20 | #define _RISCV_BITS_SETJMP_H |
lib/libc/include/riscv64-linux-gnu/bits/sigcontext.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-dependent signal context structure for Linux. RISC-V version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. This file is part of the GNU C Library. | |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| 5 | 5 | modify it under the terms of the GNU Lesser General Public |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library. If not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_SIGCONTEXT_H |
| 19 | 19 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/riscv64-linux-gnu/bits/stat.h+7-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 20 | 20 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
| ... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 | #ifndef _BITS_STAT_H |
| 24 | 24 | #define _BITS_STAT_H	1 |
| 25 | 25 | |
| 26 | #include <endian.h> | |
| 26 | #include <bits/endian.h> | |
| 27 | 27 | #include <bits/wordsize.h> |
| 28 | 28 | |
| 29 | 29 | /* 64-bit libc uses the kernel's 'struct stat', accessed via the |
| ... | ... | @@ -42,7 +42,10 @@ |
| 42 | 42 | |
| 43 | 43 | #if defined __USE_FILE_OFFSET64 |
| 44 | 44 | # define __field64(type, type64, name) type64 name |
| 45 | #elif __WORDSIZE == 64 | |
| 45 | #elif __WORDSIZE == 64 || defined __INO_T_MATCHES_INO64_T | |
| 46 | # if defined __INO_T_MATCHES_INO64_T && !defined __OFF_T_MATCHES_OFF64_T | |
| 47 | # error "ino_t and off_t must both be the same type" | |
| 48 | # endif | |
| 46 | 49 | # define __field64(type, type64, name) type name |
| 47 | 50 | #elif __BYTE_ORDER == __LITTLE_ENDIAN |
| 48 | 51 | # define __field64(type, type64, name) \ |
lib/libc/include/riscv64-linux-gnu/bits/statfs.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 4 | 4 | |
| ... | ... | @@ -14,13 +14,13 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_STATFS_H |
| 20 | 20 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." |
| 21 | 21 | #endif |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | #include <bits/types.h> |
| 25 | 25 | #include <bits/wordsize.h> |
| 26 | 26 | |
| ... | ... | @@ -34,7 +34,7 @@ |
| 34 | 34 | |
| 35 | 35 | #if defined __USE_FILE_OFFSET64 |
| 36 | 36 | # define __field64(type, type64, name) type64 name |
| 37 | #elif __WORDSIZE == 64 | |
| 37 | #elif __WORDSIZE == 64 || __STATFS_MATCHES_STATFS64 | |
| 38 | 38 | # define __field64(type, type64, name) type name |
| 39 | 39 | #elif __BYTE_ORDER == __LITTLE_ENDIAN |
| 40 | 40 | # define __field64(type, type64, name) \ |
lib/libc/include/riscv64-linux-gnu/bits/struct_rwlock.h created+45| ... | ... | @@ -0,0 +1,45 @@ |
| 1 | /* RISC-V internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 4 | This file is part of the GNU C Library. | |
| 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with the GNU C Library; if not, see | |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | |
| 21 | #define _RWLOCK_INTERNAL_H | |
| 22 | ||
| 23 | /* There is a lot of padding in this structure. While it's not strictly | |
| 24 | necessary on RISC-V, we're going to leave it in to be on the safe side in | |
| 25 | case it's needed in the future. Most other architectures have the padding, | |
| 26 | so this gives us the same extensibility as everyone else has. */ | |
| 27 | struct __pthread_rwlock_arch_t | |
| 28 | { | |
| 29 | unsigned int __readers; | |
| 30 | unsigned int __writers; | |
| 31 | unsigned int __wrphase_futex; | |
| 32 | unsigned int __writers_futex; | |
| 33 | unsigned int __pad3; | |
| 34 | unsigned int __pad4; | |
| 35 | int __cur_writer; | |
| 36 | int __shared; | |
| 37 | unsigned long int __pad1; | |
| 38 | unsigned long int __pad2; | |
| 39 | unsigned int __flags; | |
| 40 | }; | |
| 41 | ||
| 42 | #define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 43 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags | |
| 44 | ||
| 45 | #endif | |
| \ No newline at end of file |
lib/libc/include/riscv64-linux-gnu/bits/typesizes.h+7-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/typesizes.h -- underlying types for *_t. For the generic Linux ABI. |
| 2 | Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Chris Metcalf <cmetcalf@tilera.com>, 2011. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library. If not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _BITS_TYPES_H |
| 21 | 21 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." |
| ... | ... | @@ -73,10 +73,14 @@ |
| 73 | 73 | |
| 74 | 74 | /* And for __rlim_t and __rlim64_t. */ |
| 75 | 75 | # define __RLIM_T_MATCHES_RLIM64_T	1 |
| 76 | ||
| 77 | /* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */ | |
| 78 | # define __STATFS_MATCHES_STATFS64 1 | |
| 76 | 79 | #else |
| 77 | 80 | # define __RLIM_T_MATCHES_RLIM64_T	0 |
| 78 | #endif | |
| 79 | 81 | |
| 82 | # define __STATFS_MATCHES_STATFS64 0 | |
| 83 | #endif | |
| 80 | 84 | /* Number of descriptors that can fit in an `fd_set'. */ |
| 81 | 85 | #define	__FD_SETSIZE		1024 |
| 82 | 86 |
lib/libc/include/riscv64-linux-gnu/bits/wordsize.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Determine the wordsize from the preprocessor defines. RISC-V version. |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if __riscv_xlen == (__SIZEOF_POINTER__ * 8) |
| 20 | 20 | # define __WORDSIZE __riscv_xlen |
lib/libc/include/riscv64-linux-gnu/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word bits. RISC-V version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FPU_CONTROL_H |
| 20 | 20 | #define _FPU_CONTROL_H |
lib/libc/include/riscv64-linux-gnu/ieee754.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,14 +13,14 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | 25 | __BEGIN_DECLS |
| 26 | 26 |
lib/libc/include/riscv64-linux-gnu/sys/asm.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Miscellaneous macros. |
| 2 | Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_ASM_H |
| 20 | 20 | #define _SYS_ASM_H |
lib/libc/include/riscv64-linux-gnu/sys/cachectl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* RISC-V instruction cache flushing interface |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library. If not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_CACHECTL_H |
| 21 | 21 | #define _SYS_CACHECTL_H 1 |
lib/libc/include/riscv64-linux-gnu/sys/ucontext.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* struct ucontext definition, RISC-V version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* Don't rely on this, the interface is currently messed up and may need to |
| 20 | 20 | be broken to be fixed. */ |
lib/libc/include/riscv64-linux-gnu/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 | #define _SYS_USER_H	1 |
lib/libc/include/s390x-linux-gnu/bits/elfclass.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | Contributed by Martin Schwidefsky (schwidefsky@de.ibm.com). |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* This file specifies the native word size of the machine, which indicates |
| 20 | 20 | the ELF file class used for executables and shared objects on this |
lib/libc/include/s390x-linux-gnu/bits/endian.h deleted-7| ... | ... | @@ -1,7 +0,0 @@ |
| 1 | /* s390 is big-endian */ | |
| 2 | ||
| 3 | #ifndef _ENDIAN_H | |
| 4 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 5 | #endif | |
| 6 | ||
| 7 | #define __BYTE_ORDER __BIG_ENDIAN | |
| \ No newline at end of file |
lib/libc/include/s390x-linux-gnu/bits/endianness.h created+11| ... | ... | @@ -0,0 +1,11 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* S/390 is big-endian. */ | |
| 9 | #define __BYTE_ORDER __BIG_ENDIAN | |
| 10 | ||
| 11 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/s390x-linux-gnu/bits/environments.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _UNISTD_H |
| 19 | 19 | # error "Never include this file directly. Use <unistd.h> instead" |
lib/libc/include/s390x-linux-gnu/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux. |
| 2 | Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/s390x-linux-gnu/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Denis Joseph Barrow <djbarrow@de.ibm.com>. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FENV_H |
| 20 | 20 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -91,7 +91,7 @@ typedef struct |
| 91 | 91 | # define FE_NOMASK_ENV	((const fenv_t *) -2) |
| 92 | 92 | #endif |
| 93 | 93 | |
| 94 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 94 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 95 | 95 | /* Type representing floating-point control modes. */ |
| 96 | 96 | typedef unsigned int femode_t; |
| 97 | 97 |
lib/libc/include/s390x-linux-gnu/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on ldbl-128 platforms. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/s390x-linux-gnu/bits/flt-eval-method.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define __GLIBC_FLT_EVAL_METHOD. S/390 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/flt-eval-method.h> directly; include <math.h> instead." |
lib/libc/include/s390x-linux-gnu/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_AUXV_H |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/s390x-linux-gnu/bits/ipc.h deleted-60| ... | ... | @@ -1,60 +0,0 @@ |
| 1 | /* Copyright (C) 2001-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | #include <bits/wordsize.h> | |
| 24 | ||
| 25 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 26 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 27 | #define IPC_EXCL	02000		/* Fail if key exists.	*/ | |
| 28 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 29 | ||
| 30 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 31 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 32 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 33 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 34 | #ifdef __USE_GNU | |
| 35 | #define IPC_INFO	3		/* See ipcs. */ | |
| 36 | #endif | |
| 37 | ||
| 38 | /* Special key values.	*/ | |
| 39 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key.	 */ | |
| 40 | ||
| 41 | ||
| 42 | /* Data structure used to pass permission information to IPC operations. */ | |
| 43 | struct ipc_perm | |
| 44 | { | |
| 45 | __key_t __key;			/* Key.	 */ | |
| 46 | __uid_t uid;			/* Owner's user ID. */ | |
| 47 | __gid_t gid;			/* Owner's group ID. */ | |
| 48 | __uid_t cuid;			/* Creator's user ID. */ | |
| 49 | __gid_t cgid;			/* Creator's group ID.	*/ | |
| 50 | #if __WORDSIZE == 64 | |
| 51 | __mode_t mode;			/* Read/write permission. */ | |
| 52 | #else | |
| 53 | unsigned short int mode;		/* Read/write permission. */ | |
| 54 | unsigned short int __pad1; | |
| 55 | #endif | |
| 56 | unsigned short int __seq;		/* Sequence number. */ | |
| 57 | unsigned short int __pad2; | |
| 58 | unsigned long int __glibc_reserved1; | |
| 59 | unsigned long int __glibc_reserved2; | |
| 60 | }; | |
| \ No newline at end of file |
lib/libc/include/s390x-linux-gnu/bits/link.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_LINK_H |
| 19 | 19 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/s390x-linux-gnu/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. ldbl-opt version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,11 +14,12 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef __NO_LONG_DOUBLE_MATH |
| 20 | 20 | # define __LONG_DOUBLE_MATH_OPTIONAL	1 |
| 21 | 21 | # ifndef __LONG_DOUBLE_128__ |
| 22 | 22 | # define __NO_LONG_DOUBLE_MATH		1 |
| 23 | 23 | # endif |
| 24 | #endif | |
| \ No newline at end of file | ||
| 24 | #endif | |
| 25 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/s390x-linux-gnu/bits/procfs-extra.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Extra sys/procfs.h definitions. S/390 version. |
| 2 | Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs-extra.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/s390x-linux-gnu/bits/procfs-id.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. S/390 version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-id.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/s390x-linux-gnu/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. S/390 version. |
| 2 | Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/s390x-linux-gnu/bits/pthreadtypes-arch.h deleted-79| ... | ... | @@ -1,79 +0,0 @@ |
| 1 | /* Copyright (C) 2003-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 _BITS_PTHREADTYPES_ARCH_H | |
| 19 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 20 | ||
| 21 | #include <bits/wordsize.h> | |
| 22 | ||
| 23 | #if __WORDSIZE == 64 | |
| 24 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 25 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 26 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 27 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 28 | #else | |
| 29 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 30 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 31 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 32 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 33 | #endif | |
| 34 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 35 | #define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 36 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 37 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 38 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 39 | ||
| 40 | /* Definitions for internal mutex struct. */ | |
| 41 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 42 | #define __PTHREAD_COMPAT_PADDING_END | |
| 43 | #define __PTHREAD_MUTEX_LOCK_ELISION 1 | |
| 44 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND (__WORDSIZE != 64) | |
| 45 | #define __PTHREAD_MUTEX_USE_UNION (__WORDSIZE != 64) | |
| 46 | ||
| 47 | #define __LOCK_ALIGNMENT | |
| 48 | #define __ONCE_ALIGNMENT | |
| 49 | ||
| 50 | struct __pthread_rwlock_arch_t | |
| 51 | { | |
| 52 | unsigned int __readers; | |
| 53 | unsigned int __writers; | |
| 54 | unsigned int __wrphase_futex; | |
| 55 | unsigned int __writers_futex; | |
| 56 | unsigned int __pad3; | |
| 57 | unsigned int __pad4; | |
| 58 | #if __WORDSIZE == 64 | |
| 59 | int __cur_writer; | |
| 60 | int __shared; | |
| 61 | unsigned long int __pad1; | |
| 62 | unsigned long int __pad2; | |
| 63 | /* FLAGS must stay at this position in the structure to maintain | |
| 64 | binary compatibility. */ | |
| 65 | unsigned int __flags; | |
| 66 | # else | |
| 67 | unsigned char __pad1; | |
| 68 | unsigned char __pad2; | |
| 69 | unsigned char __shared; | |
| 70 | /* FLAGS must stay at this position in the structure to maintain | |
| 71 | binary compatibility. */ | |
| 72 | unsigned char __flags; | |
| 73 | int __cur_writer; | |
| 74 | #endif | |
| 75 | }; | |
| 76 | ||
| 77 | #define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 78 | ||
| 79 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/s390x-linux-gnu/bits/semaphore.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2003-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2003-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Martin Schwidefsky <schwidefsky@de.ibm.com>, 2003. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SEMAPHORE_H |
| 20 | 20 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/s390x-linux-gnu/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Define the machine-dependent type `jmp_buf'. IBM s390 version. */ |
| 19 | 19 |
lib/libc/include/s390x-linux-gnu/bits/sigaction.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for 31 & 64 bit S/390 sigaction. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGACTION_H |
| 20 | 20 | #define _BITS_SIGACTION_H 1 |
lib/libc/include/s390x-linux-gnu/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/s390x-linux-gnu/bits/statfs.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_STATFS_H |
| 19 | 19 | # error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead." |
lib/libc/include/s390x-linux-gnu/bits/struct_mutex.h created+63| ... | ... | @@ -0,0 +1,63 @@ |
| 1 | /* S390 internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #if __WORDSIZE == 64 | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #if __WORDSIZE == 64 | |
| 34 | short __spins; | |
| 35 | short __elision; | |
| 36 | __pthread_list_t __list; | |
| 37 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 38 | #else | |
| 39 | unsigned int __nusers; | |
| 40 | __extension__ union | |
| 41 | { | |
| 42 | struct | |
| 43 | { | |
| 44 | short __espins; | |
| 45 | short __elision; | |
| 46 | } _d; | |
| 47 | # define __spins _d.__espins | |
| 48 | # define __elision _d.__elision | |
| 49 | __pthread_slist_t __list; | |
| 50 | }; | |
| 51 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 52 | #endif | |
| 53 | }; | |
| 54 | ||
| 55 | #if __WORDSIZE == 64 | |
| 56 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 57 | 0, 0, 0, 0, __kind, 0, 0, { 0, 0 } | |
| 58 | #else | |
| 59 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 60 | 0, 0, 0, __kind, 0, { { 0, 0 } } | |
| 61 | #endif | |
| 62 | ||
| 63 | #endif | |
| \ No newline at end of file |
lib/libc/include/s390x-linux-gnu/bits/struct_rwlock.h created+58| ... | ... | @@ -0,0 +1,58 @@ |
| 1 | /* S390 internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 4 | This file is part of the GNU C Library. | |
| 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with the GNU C Library; if not, see | |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | |
| 21 | #define _RWLOCK_INTERNAL_H | |
| 22 | ||
| 23 | struct __pthread_rwlock_arch_t | |
| 24 | { | |
| 25 | unsigned int __readers; | |
| 26 | unsigned int __writers; | |
| 27 | unsigned int __wrphase_futex; | |
| 28 | unsigned int __writers_futex; | |
| 29 | unsigned int __pad3; | |
| 30 | unsigned int __pad4; | |
| 31 | #if __WORDSIZE == 64 | |
| 32 | int __cur_writer; | |
| 33 | int __shared; | |
| 34 | unsigned long int __pad1; | |
| 35 | unsigned long int __pad2; | |
| 36 | /* FLAGS must stay at this position in the structure to maintain | |
| 37 | binary compatibility. */ | |
| 38 | unsigned int __flags; | |
| 39 | # else | |
| 40 | unsigned char __pad1; | |
| 41 | unsigned char __pad2; | |
| 42 | unsigned char __shared; | |
| 43 | /* FLAGS must stay at this position in the structure to maintain | |
| 44 | binary compatibility. */ | |
| 45 | unsigned char __flags; | |
| 46 | int __cur_writer; | |
| 47 | #endif | |
| 48 | }; | |
| 49 | ||
| 50 | #if __WORDSIZE == 64 | |
| 51 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 52 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags | |
| 53 | #else | |
| 54 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 55 | 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags, 0 | |
| 56 | #endif | |
| 57 | ||
| 58 | #endif | |
| \ No newline at end of file |
lib/libc/include/s390x-linux-gnu/bits/typesizes.h+7-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/s390 version. |
| 2 | Copyright (C) 2003-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2003-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_TYPES_H |
| 20 | 20 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." |
| ... | ... | @@ -78,8 +78,13 @@ |
| 78 | 78 | |
| 79 | 79 | /* And for __rlim_t and __rlim64_t. */ |
| 80 | 80 | # define __RLIM_T_MATCHES_RLIM64_T	1 |
| 81 | ||
| 82 | /* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */ | |
| 83 | # define __STATFS_MATCHES_STATFS64 1 | |
| 81 | 84 | #else |
| 82 | 85 | # define __RLIM_T_MATCHES_RLIM64_T	0 |
| 86 | ||
| 87 | # define __STATFS_MATCHES_STATFS64 0 | |
| 83 | 88 | #endif |
| 84 | 89 | |
| 85 | 90 | /* Number of descriptors that can fit in an `fd_set'. */ |
lib/libc/include/s390x-linux-gnu/bits/utmp.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* The `struct utmp' type, describing entries in the utmp file. GNU version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _UTMP_H |
| 20 | 20 | # error "Never include <bits/utmp.h> directly; use <utmp.h> instead." |
| ... | ... | @@ -61,7 +61,8 @@ struct utmp |
| 61 | 61 | pid_t ut_pid;			/* Process ID of login process. */ |
| 62 | 62 | char ut_line[UT_LINESIZE] |
| 63 | 63 | __attribute_nonstring__;	/* Devicename. */ |
| 64 | char ut_id[4];		/* Inittab ID. */ | |
| 64 | char ut_id[4] | |
| 65 | __attribute_nonstring__;	/* Inittab ID. */ | |
| 65 | 66 | char ut_user[UT_NAMESIZE] |
| 66 | 67 | __attribute_nonstring__;	/* Username. */ |
| 67 | 68 | char ut_host[UT_HOSTSIZE] |
lib/libc/include/s390x-linux-gnu/bits/utmpx.h+10-6| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Structures and definitions for the user accounting database. GNU version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _UTMPX_H |
| 20 | 20 | # error "Never include <bits/utmpx.h> directly; use <utmpx.h> instead." |
| ... | ... | @@ -56,10 +56,14 @@ struct utmpx |
| 56 | 56 | { |
| 57 | 57 | short int ut_type;		/* Type of login. */ |
| 58 | 58 | __pid_t ut_pid;		/* Process ID of login process. */ |
| 59 | char ut_line[__UT_LINESIZE];	/* Devicename. */ | |
| 60 | char ut_id[4];		/* Inittab ID. */ | |
| 61 | char ut_user[__UT_NAMESIZE];	/* Username. */ | |
| 62 | char ut_host[__UT_HOSTSIZE];	/* Hostname for remote login. */ | |
| 59 | char ut_line[__UT_LINESIZE] | |
| 60 | __attribute_nonstring__;	/* Devicename. */ | |
| 61 | char ut_id[4] | |
| 62 | __attribute_nonstring__;	/* Inittab ID. */ | |
| 63 | char ut_user[__UT_NAMESIZE] | |
| 64 | __attribute_nonstring__;	/* Username. */ | |
| 65 | char ut_host[__UT_HOSTSIZE] | |
| 66 | __attribute_nonstring__;	/* Hostname for remote login. */ | |
| 63 | 67 | struct __exit_status ut_exit;	/* Exit status of a process marked |
| 64 | 68 | 				 as DEAD_PROCESS. */ |
| 65 | 69 |
lib/libc/include/s390x-linux-gnu/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word definitions. Stub version. |
| 2 | Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 3 | 3 | Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com) and |
| 4 | 4 | Martin Schwidefsky (schwidefsky@de.ibm.com). |
| 5 | 5 | This file is part of the GNU C Library. |
| ... | ... | @@ -16,7 +16,7 @@ |
| 16 | 16 | |
| 17 | 17 | You should have received a copy of the GNU Lesser General Public |
| 18 | 18 | License along with the GNU C Library; if not, see |
| 19 | <http://www.gnu.org/licenses/>. */ | |
| 19 | <https://www.gnu.org/licenses/>. */ | |
| 20 | 20 | |
| 21 | 21 | #ifndef _FPU_CONTROL_H |
| 22 | 22 | #define _FPU_CONTROL_H |
lib/libc/include/s390x-linux-gnu/ieee754.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,14 +13,14 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | 25 | __BEGIN_DECLS |
| 26 | 26 |
lib/libc/include/s390x-linux-gnu/sys/elf.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_ELF_H |
| 19 | 19 | #define _SYS_ELF_H	1 |
lib/libc/include/s390x-linux-gnu/sys/ptrace.h+11-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/S390 version. |
| 2 | Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 3 | 3 | Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com). |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PTRACE_H |
| 21 | 21 | #define _SYS_PTRACE_H	1 |
| ... | ... | @@ -79,6 +79,11 @@ __BEGIN_DECLS |
| 79 | 79 | # undef PTRACE_EVENT_SECCOMP |
| 80 | 80 | # undef PTRACE_EVENT_STOP |
| 81 | 81 | # undef PTRACE_PEEKSIGINFO_SHARED |
| 82 | # undef PTRACE_GET_SYSCALL_INFO | |
| 83 | # undef PTRACE_SYSCALL_INFO_NONE | |
| 84 | # undef PTRACE_SYSCALL_INFO_ENTRY | |
| 85 | # undef PTRACE_SYSCALL_INFO_EXIT | |
| 86 | # undef PTRACE_SYSCALL_INFO_SECCOMP | |
| 82 | 87 | #endif |
| 83 | 88 | /* Type of the REQUEST argument to `ptrace.' */ |
| 84 | 89 | enum __ptrace_request |
| ... | ... | @@ -198,6 +203,10 @@ enum __ptrace_request |
| 198 | 203 | PTRACE_SECCOMP_GET_METADATA = 0x420d, |
| 199 | 204 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 200 | 205 | |
| 206 | /* Get information about system call. */ | |
| 207 | PTRACE_GET_SYSCALL_INFO = 0x420e, | |
| 208 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 209 | ||
| 201 | 210 | PTRACE_PEEKUSR_AREA = 0x5000, |
| 202 | 211 | #define PTRACE_PEEKUSR_AREA PTRACE_PEEKUSR_AREA |
| 203 | 212 |
lib/libc/include/s390x-linux-gnu/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 2 | 2 | Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com). |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_UCONTEXT_H |
| 20 | 20 | #define _SYS_UCONTEXT_H	1 |
lib/libc/include/s390x-linux-gnu/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 | #define _SYS_USER_H	1 |
lib/libc/include/sparc-linux-gnu/bits/endian.h deleted-12| ... | ... | @@ -1,12 +0,0 @@ |
| 1 | /* Sparc is big-endian, but v9 supports endian conversion on loads/stores | |
| 2 | and GCC supports such a mode. Be prepared. */ | |
| 3 | ||
| 4 | #ifndef _ENDIAN_H | |
| 5 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | #ifdef __LITTLE_ENDIAN__ | |
| 9 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 10 | #else | |
| 11 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 12 | #endif | |
| \ No newline at end of file |
lib/libc/include/sparc-linux-gnu/bits/endianness.h created+16| ... | ... | @@ -0,0 +1,16 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* Sparc is big-endian, but v9 supports endian conversion on loads/stores | |
| 9 | and GCC supports such a mode. Be prepared. */ | |
| 10 | #ifdef __LITTLE_ENDIAN__ | |
| 11 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 12 | #else | |
| 13 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 14 | #endif | |
| 15 | ||
| 16 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/sparc-linux-gnu/bits/environments.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _UNISTD_H |
| 19 | 19 | # error "Never include this file directly. Use <unistd.h> instead" |
lib/libc/include/sparc-linux-gnu/bits/epoll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EPOLL_H |
| 19 | 19 | # error "Never use <bits/epoll.h> directly; include <sys/epoll.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/errno.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Error constants. Linux/Sparc specific version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_ERRNO_H |
| 20 | 20 | #define _BITS_ERRNO_H 1 |
lib/libc/include/sparc-linux-gnu/bits/eventfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EVENTFD_H |
| 19 | 19 | # error "Never use <bits/eventfd.h> directly; include <sys/eventfd.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux/SPARC. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -92,7 +92,7 @@ typedef unsigned long int fenv_t; |
| 92 | 92 | # define __fenv_ldfsr(X) __asm__ __volatile__ ("ld %0,%%fsr" : : "m" (X)) |
| 93 | 93 | #endif |
| 94 | 94 | |
| 95 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 95 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 96 | 96 | /* Type representing floating-point control modes. */ |
| 97 | 97 | typedef unsigned long int femode_t; |
| 98 | 98 |
lib/libc/include/sparc-linux-gnu/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on ldbl-128 platforms. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/sparc-linux-gnu/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP. |
| 2 | Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined(_SYS_AUXV_H) && !defined(_SYSDEPS_SYSDEP_H) |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/inotify.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_INOTIFY_H |
| 19 | 19 | # error "Never use <bits/inotify.h> directly; include <sys/inotify.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/ioctls.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_IOCTL_H |
| 19 | 19 | # error "Never use <bits/ioctls.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/ipc-perm.h created+36| ... | ... | @@ -0,0 +1,36 @@ |
| 1 | /* struct ipc_perm definition. Linux/sparc version. | |
| 2 | Copyright (C) 1995-2020 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 | <https://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_IPC_H | |
| 20 | # error "Never use <bits/ipc-perm.h> directly; include <sys/ipc.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | /* Data structure used to pass permission information to IPC operations. */ | |
| 24 | struct ipc_perm | |
| 25 | { | |
| 26 | __key_t __key;			/* Key. */ | |
| 27 | __uid_t uid;			/* Owner's user ID. */ | |
| 28 | __gid_t gid;			/* Owner's group ID. */ | |
| 29 | __uid_t cuid;			/* Creator's user ID. */ | |
| 30 | __gid_t cgid;			/* Creator's group ID. */ | |
| 31 | __mode_t mode;			/* Read/write permission. */ | |
| 32 | unsigned short int __pad1; | |
| 33 | unsigned short int __seq;		/* Sequence number. */ | |
| 34 | __extension__ unsigned long long int __glibc_reserved1; | |
| 35 | __extension__ unsigned long long int __glibc_reserved2; | |
| 36 | }; | |
| \ No newline at end of file |
lib/libc/include/sparc-linux-gnu/bits/ipc.h deleted-61| ... | ... | @@ -1,61 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | #include <bits/wordsize.h> | |
| 24 | ||
| 25 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 26 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 27 | #define IPC_EXCL	02000		/* Fail if key exists. */ | |
| 28 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 29 | ||
| 30 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 31 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 32 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 33 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 34 | #ifdef __USE_GNU | |
| 35 | # define IPC_INFO	3		/* See ipcs. */ | |
| 36 | #endif | |
| 37 | ||
| 38 | /* Special key values. */ | |
| 39 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key. */ | |
| 40 | ||
| 41 | ||
| 42 | /* Data structure used to pass permission information to IPC operations. */ | |
| 43 | struct ipc_perm | |
| 44 | { | |
| 45 | __key_t __key;			/* Key. */ | |
| 46 | __uid_t uid;			/* Owner's user ID. */ | |
| 47 | __gid_t gid;			/* Owner's group ID. */ | |
| 48 | __uid_t cuid;			/* Creator's user ID. */ | |
| 49 | __gid_t cgid;			/* Creator's group ID. */ | |
| 50 | #if __WORDSIZE == 32 | |
| 51 | unsigned short int __pad1; | |
| 52 | unsigned short int mode;		/* Read/write permission. */ | |
| 53 | unsigned short int __pad2; | |
| 54 | #else | |
| 55 | __mode_t mode;			/* Read/write permission. */ | |
| 56 | unsigned short int __pad1; | |
| 57 | #endif | |
| 58 | unsigned short int __seq;		/* Sequence number. */ | |
| 59 | __extension__ unsigned long long int __glibc_reserved1; | |
| 60 | __extension__ unsigned long long int __glibc_reserved2; | |
| 61 | }; | |
| \ No newline at end of file |
lib/libc/include/sparc-linux-gnu/bits/link.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific audit interfaces for dynamic linker. SPARC version. |
| 2 | Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_LINK_H |
| 20 | 20 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. Linux/SPARC version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Library General Public |
| 16 | 16 | License along with the GNU C Library; see the file COPYING.LIB. If |
| 17 | not, see <http://www.gnu.org/licenses/>. */ | |
| 17 | not, see <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 20 | 20 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/sparc-linux-gnu/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. SPARC version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #include <bits/wordsize.h> |
| 20 | 20 | |
| ... | ... | @@ -23,4 +23,5 @@ |
| 23 | 23 | # ifndef __LONG_DOUBLE_128__ |
| 24 | 24 | # define __NO_LONG_DOUBLE_MATH 1 |
| 25 | 25 | # endif |
| 26 | #endif | |
| \ No newline at end of file | ||
| 26 | #endif | |
| 27 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/sparc-linux-gnu/bits/mman.h+4-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/SPARC version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
| ... | ... | @@ -36,6 +36,8 @@ |
| 36 | 36 | # define MAP_NONBLOCK	0x10000		/* Do not block on IO. */ |
| 37 | 37 | # define MAP_STACK	0x20000		/* Allocation is for a stack. */ |
| 38 | 38 | # define MAP_HUGETLB	0x40000		/* Create huge page mapping. */ |
| 39 | # define MAP_SYNC	0x80000		/* Perform synchronous page | |
| 40 | 					 faults for the mapping. */ | |
| 39 | 41 | # define MAP_FIXED_NOREPLACE 0x100000	/* MAP_FIXED but do not unmap |
| 40 | 42 | 					 underlying mapping. */ |
| 41 | 43 | #endif |
lib/libc/include/sparc-linux-gnu/bits/msq-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct msqid_ds. SPARC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MSG_H |
| 20 | 20 | # error "Never use <bits/msq-pad.h> directly; include <sys/msg.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/poll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_POLL_H |
| 19 | 19 | # error "Never use <bits/poll.h> directly; include <sys/poll.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/procfs-extra.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Extra sys/procfs.h definitions. SPARC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs-extra.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/procfs-id.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. SPARC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-id.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. SPARC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/pthreadtypes-arch.h deleted-81| ... | ... | @@ -1,81 +0,0 @@ |
| 1 | /* Machine-specific pthread type layouts. SPARC version. | |
| 2 | Copyright (C) 2003-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 _BITS_PTHREADTYPES_ARCH_H | |
| 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 21 | ||
| 22 | #include <bits/wordsize.h> | |
| 23 | ||
| 24 | #if __WORDSIZE == 64 | |
| 25 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 26 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 27 | # define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 28 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 29 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 30 | #else | |
| 31 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 32 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 33 | # define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 34 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 35 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 36 | #endif | |
| 37 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 38 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 39 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 40 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 41 | ||
| 42 | /* Definitions for internal mutex struct. */ | |
| 43 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 44 | #define __PTHREAD_COMPAT_PADDING_END | |
| 45 | #define __PTHREAD_MUTEX_LOCK_ELISION 0 | |
| 46 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND (__WORDSIZE != 64) | |
| 47 | #define __PTHREAD_MUTEX_USE_UNION (__WORDSIZE != 64) | |
| 48 | ||
| 49 | #define __LOCK_ALIGNMENT | |
| 50 | #define __ONCE_ALIGNMENT | |
| 51 | ||
| 52 | struct __pthread_rwlock_arch_t | |
| 53 | { | |
| 54 | unsigned int __readers; | |
| 55 | unsigned int __writers; | |
| 56 | unsigned int __wrphase_futex; | |
| 57 | unsigned int __writers_futex; | |
| 58 | unsigned int __pad3; | |
| 59 | unsigned int __pad4; | |
| 60 | #if __WORDSIZE == 64 | |
| 61 | int __cur_writer; | |
| 62 | int __shared; | |
| 63 | unsigned long int __pad1; | |
| 64 | unsigned long int __pad2; | |
| 65 | /* FLAGS must stay at this position in the structure to maintain | |
| 66 | binary compatibility. */ | |
| 67 | unsigned int __flags; | |
| 68 | #else | |
| 69 | unsigned char __pad1; | |
| 70 | unsigned char __pad2; | |
| 71 | unsigned char __shared; | |
| 72 | /* FLAGS must stay at this position in the structure to maintain | |
| 73 | binary compatibility. */ | |
| 74 | unsigned char __flags; | |
| 75 | int __cur_writer; | |
| 76 | #endif | |
| 77 | }; | |
| 78 | ||
| 79 | #define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 80 | ||
| 81 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/sparc-linux-gnu/bits/resource.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit values & structures for resource limits. Linux/SPARC version. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_RESOURCE_H |
| 20 | 20 | # error "Never use <bits/resource.h> directly; include <sys/resource.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. SPARC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/semaphore.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific POSIX semaphore type layouts. SPARC version. |
| 2 | Copyright (C) 2003-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2003-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Jakub Jelinek <jakub@redhat.com>, 2003. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SEMAPHORE_H |
| 21 | 21 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_SETJMP_H |
| 19 | 19 | #define _BITS_SETJMP_H 1 |
lib/libc/include/sparc-linux-gnu/bits/shm-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct shmid_ds. SPARC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shm-pad.h> directly; include <sys/shm.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. SPARC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/sigaction.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* The proper definitions for Linux/SPARC sigaction. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGACTION_H |
| 20 | 20 | #define _BITS_SIGACTION_H 1 |
lib/libc/include/sparc-linux-gnu/bits/sigcontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_SIGCONTEXT_H |
| 19 | 19 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/sparc-linux-gnu/bits/signalfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_SIGNALFD_H |
| 19 | 19 | # error "Never use <bits/signalfd.h> directly; include <sys/signalfd.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/signum.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Signal number definitions. Linux/SPARC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGNUM_H |
| 20 | 20 | #define _BITS_SIGNUM_H 1 |
lib/libc/include/sparc-linux-gnu/bits/sigstack.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGSTACK_H |
| 20 | 20 | #define _BITS_SIGSTACK_H 1 |
lib/libc/include/sparc-linux-gnu/bits/socket-constants.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Socket constants which vary among Linux architectures. Version for SPARC. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/socket_type.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define enum __socket_type for Linux/SPARC. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket_type.h> directly; use <sys/socket.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/struct_rwlock.h created+58| ... | ... | @@ -0,0 +1,58 @@ |
| 1 | /* SPARC internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 4 | This file is part of the GNU C Library. | |
| 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with the GNU C Library; if not, see | |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | |
| 21 | #define _RWLOCK_INTERNAL_H | |
| 22 | ||
| 23 | struct __pthread_rwlock_arch_t | |
| 24 | { | |
| 25 | unsigned int __readers; | |
| 26 | unsigned int __writers; | |
| 27 | unsigned int __wrphase_futex; | |
| 28 | unsigned int __writers_futex; | |
| 29 | unsigned int __pad3; | |
| 30 | unsigned int __pad4; | |
| 31 | #if __WORDSIZE == 64 | |
| 32 | int __cur_writer; | |
| 33 | int __shared; | |
| 34 | unsigned long int __pad1; | |
| 35 | unsigned long int __pad2; | |
| 36 | /* FLAGS must stay at this position in the structure to maintain | |
| 37 | binary compatibility. */ | |
| 38 | unsigned int __flags; | |
| 39 | #else | |
| 40 | unsigned char __pad1; | |
| 41 | unsigned char __pad2; | |
| 42 | unsigned char __shared; | |
| 43 | /* FLAGS must stay at this position in the structure to maintain | |
| 44 | binary compatibility. */ | |
| 45 | unsigned char __flags; | |
| 46 | int __cur_writer; | |
| 47 | #endif | |
| 48 | }; | |
| 49 | ||
| 50 | #if __WORDSIZE == 64 | |
| 51 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 52 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags | |
| 53 | #else | |
| 54 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 55 | 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags, 0 | |
| 56 | #endif | |
| 57 | ||
| 58 | #endif | |
| \ No newline at end of file |
lib/libc/include/sparc-linux-gnu/bits/termios-baud.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios baud rate selection definitions. Linux/sparc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-baud.h> directly; use <termios.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/termios-c_cc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios c_cc symbolic constant definitions. Linux/sparc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cc.h> directly; use <termios.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/termios-c_oflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios output mode definitions. Linux/sparc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_oflag.h> directly; use <termios.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/termios-struct.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* struct termios definition. Linux/sparc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-struct.h> directly; use <termios.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/timerfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_TIMERFD_H |
| 19 | 19 | # error "Never use <bits/timerfd.h> directly; include <sys/timerfd.h> instead." |
lib/libc/include/sparc-linux-gnu/bits/typesizes.h+7-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/SPARC version. |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_TYPES_H |
| 20 | 20 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." |
| ... | ... | @@ -72,8 +72,13 @@ |
| 72 | 72 | |
| 73 | 73 | /* And for __rlim_t and __rlim64_t. */ |
| 74 | 74 | # define __RLIM_T_MATCHES_RLIM64_T	1 |
| 75 | ||
| 76 | /* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */ | |
| 77 | # define __STATFS_MATCHES_STATFS64 1 | |
| 75 | 78 | #else |
| 76 | 79 | # define __RLIM_T_MATCHES_RLIM64_T	0 |
| 80 | ||
| 81 | # define __STATFS_MATCHES_STATFS64 0 | |
| 77 | 82 | #endif |
| 78 | 83 | |
| 79 | 84 | /* Number of descriptors that can fit in an `fd_set'. */ |
lib/libc/include/sparc-linux-gnu/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word bits. SPARC version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Miguel de Icaza |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _FPU_CONTROL_H |
| 21 | 21 | #define _FPU_CONTROL_H	1 |
lib/libc/include/sparc-linux-gnu/ieee754.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,14 +13,14 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | 25 | __BEGIN_DECLS |
| 26 | 26 |
lib/libc/include/sparc-linux-gnu/sys/ptrace.h+7-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/SPARC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PTRACE_H |
| 20 | 20 | #define _SYS_PTRACE_H	1 |
| ... | ... | @@ -217,8 +217,12 @@ enum __ptrace_request |
| 217 | 217 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 218 | 218 | |
| 219 | 219 | /* Get seccomp BPF filter metadata. */ |
| 220 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 220 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 221 | 221 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 222 | ||
| 223 | /* Get information about system call. */ | |
| 224 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 225 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 222 | 226 | }; |
| 223 | 227 | |
| 224 | 228 |
lib/libc/include/sparc-linux-gnu/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_UCONTEXT_H |
| 19 | 19 | #define _SYS_UCONTEXT_H	1 |
lib/libc/include/sparc-linux-gnu/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2003-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2003-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 | #define _SYS_USER_H	1 |
lib/libc/include/sparcv9-linux-gnu/bits/endian.h deleted-12| ... | ... | @@ -1,12 +0,0 @@ |
| 1 | /* Sparc is big-endian, but v9 supports endian conversion on loads/stores | |
| 2 | and GCC supports such a mode. Be prepared. */ | |
| 3 | ||
| 4 | #ifndef _ENDIAN_H | |
| 5 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | #ifdef __LITTLE_ENDIAN__ | |
| 9 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 10 | #else | |
| 11 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 12 | #endif | |
| \ No newline at end of file |
lib/libc/include/sparcv9-linux-gnu/bits/endianness.h created+16| ... | ... | @@ -0,0 +1,16 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* Sparc is big-endian, but v9 supports endian conversion on loads/stores | |
| 9 | and GCC supports such a mode. Be prepared. */ | |
| 10 | #ifdef __LITTLE_ENDIAN__ | |
| 11 | # define __BYTE_ORDER __LITTLE_ENDIAN | |
| 12 | #else | |
| 13 | # define __BYTE_ORDER __BIG_ENDIAN | |
| 14 | #endif | |
| 15 | ||
| 16 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/sparcv9-linux-gnu/bits/environments.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _UNISTD_H |
| 19 | 19 | # error "Never include this file directly. Use <unistd.h> instead" |
lib/libc/include/sparcv9-linux-gnu/bits/epoll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EPOLL_H |
| 19 | 19 | # error "Never use <bits/epoll.h> directly; include <sys/epoll.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/errno.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Error constants. Linux/Sparc specific version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_ERRNO_H |
| 20 | 20 | #define _BITS_ERRNO_H 1 |
lib/libc/include/sparcv9-linux-gnu/bits/eventfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EVENTFD_H |
| 19 | 19 | # error "Never use <bits/eventfd.h> directly; include <sys/eventfd.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux/SPARC. |
| 2 | Copyright (C) 1995-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1995-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -92,7 +92,7 @@ typedef unsigned long int fenv_t; |
| 92 | 92 | # define __fenv_ldfsr(X) __asm__ __volatile__ ("ld %0,%%fsr" : : "m" (X)) |
| 93 | 93 | #endif |
| 94 | 94 | |
| 95 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 95 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 96 | 96 | /* Type representing floating-point control modes. */ |
| 97 | 97 | typedef unsigned long int femode_t; |
| 98 | 98 |
lib/libc/include/sparcv9-linux-gnu/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on ldbl-128 platforms. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/sparcv9-linux-gnu/bits/hwcap.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Defines for bits in AT_HWCAP. |
| 2 | Copyright (C) 2011-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2011-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if !defined(_SYS_AUXV_H) && !defined(_SYSDEPS_SYSDEP_H) |
| 20 | 20 | # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/inotify.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_INOTIFY_H |
| 19 | 19 | # error "Never use <bits/inotify.h> directly; include <sys/inotify.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/ioctls.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_IOCTL_H |
| 19 | 19 | # error "Never use <bits/ioctls.h> directly; include <sys/ioctl.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/ipc-perm.h created+36| ... | ... | @@ -0,0 +1,36 @@ |
| 1 | /* struct ipc_perm definition. Linux/sparc version. | |
| 2 | Copyright (C) 1995-2020 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 | <https://www.gnu.org/licenses/>. */ | |
| 18 | ||
| 19 | #ifndef _SYS_IPC_H | |
| 20 | # error "Never use <bits/ipc-perm.h> directly; include <sys/ipc.h> instead." | |
| 21 | #endif | |
| 22 | ||
| 23 | /* Data structure used to pass permission information to IPC operations. */ | |
| 24 | struct ipc_perm | |
| 25 | { | |
| 26 | __key_t __key;			/* Key. */ | |
| 27 | __uid_t uid;			/* Owner's user ID. */ | |
| 28 | __gid_t gid;			/* Owner's group ID. */ | |
| 29 | __uid_t cuid;			/* Creator's user ID. */ | |
| 30 | __gid_t cgid;			/* Creator's group ID. */ | |
| 31 | __mode_t mode;			/* Read/write permission. */ | |
| 32 | unsigned short int __pad1; | |
| 33 | unsigned short int __seq;		/* Sequence number. */ | |
| 34 | __extension__ unsigned long long int __glibc_reserved1; | |
| 35 | __extension__ unsigned long long int __glibc_reserved2; | |
| 36 | }; | |
| \ No newline at end of file |
lib/libc/include/sparcv9-linux-gnu/bits/ipc.h deleted-61| ... | ... | @@ -1,61 +0,0 @@ |
| 1 | /* Copyright (C) 1995-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_IPC_H | |
| 19 | # error "Never use <bits/ipc.h> directly; include <sys/ipc.h> instead." | |
| 20 | #endif | |
| 21 | ||
| 22 | #include <bits/types.h> | |
| 23 | #include <bits/wordsize.h> | |
| 24 | ||
| 25 | /* Mode bits for `msgget', `semget', and `shmget'. */ | |
| 26 | #define IPC_CREAT	01000		/* Create key if key does not exist. */ | |
| 27 | #define IPC_EXCL	02000		/* Fail if key exists. */ | |
| 28 | #define IPC_NOWAIT	04000		/* Return error on wait. */ | |
| 29 | ||
| 30 | /* Control commands for `msgctl', `semctl', and `shmctl'. */ | |
| 31 | #define IPC_RMID	0		/* Remove identifier. */ | |
| 32 | #define IPC_SET		1		/* Set `ipc_perm' options. */ | |
| 33 | #define IPC_STAT	2		/* Get `ipc_perm' options. */ | |
| 34 | #ifdef __USE_GNU | |
| 35 | # define IPC_INFO	3		/* See ipcs. */ | |
| 36 | #endif | |
| 37 | ||
| 38 | /* Special key values. */ | |
| 39 | #define IPC_PRIVATE	((__key_t) 0)	/* Private key. */ | |
| 40 | ||
| 41 | ||
| 42 | /* Data structure used to pass permission information to IPC operations. */ | |
| 43 | struct ipc_perm | |
| 44 | { | |
| 45 | __key_t __key;			/* Key. */ | |
| 46 | __uid_t uid;			/* Owner's user ID. */ | |
| 47 | __gid_t gid;			/* Owner's group ID. */ | |
| 48 | __uid_t cuid;			/* Creator's user ID. */ | |
| 49 | __gid_t cgid;			/* Creator's group ID. */ | |
| 50 | #if __WORDSIZE == 32 | |
| 51 | unsigned short int __pad1; | |
| 52 | unsigned short int mode;		/* Read/write permission. */ | |
| 53 | unsigned short int __pad2; | |
| 54 | #else | |
| 55 | __mode_t mode;			/* Read/write permission. */ | |
| 56 | unsigned short int __pad1; | |
| 57 | #endif | |
| 58 | unsigned short int __seq;		/* Sequence number. */ | |
| 59 | __extension__ unsigned long long int __glibc_reserved1; | |
| 60 | __extension__ unsigned long long int __glibc_reserved2; | |
| 61 | }; | |
| \ No newline at end of file |
lib/libc/include/sparcv9-linux-gnu/bits/link.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific audit interfaces for dynamic linker. SPARC version. |
| 2 | Copyright (C) 2005-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2005-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef	_LINK_H |
| 20 | 20 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/local_lim.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Minimum guaranteed maximum values for system limits. Linux/SPARC version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Library General Public |
| 16 | 16 | License along with the GNU C Library; see the file COPYING.LIB. If |
| 17 | not, see <http://www.gnu.org/licenses/>. */ | |
| 17 | not, see <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* The kernel header pollutes the namespace with the NR_OPEN symbol |
| 20 | 20 | and defines LINK_MAX although filesystems have different maxima. A |
lib/libc/include/sparcv9-linux-gnu/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. SPARC version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #include <bits/wordsize.h> |
| 20 | 20 | |
| ... | ... | @@ -23,4 +23,5 @@ |
| 23 | 23 | # ifndef __LONG_DOUBLE_128__ |
| 24 | 24 | # define __NO_LONG_DOUBLE_MATH 1 |
| 25 | 25 | # endif |
| 26 | #endif | |
| \ No newline at end of file | ||
| 26 | #endif | |
| 27 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/sparcv9-linux-gnu/bits/mman.h+4-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/SPARC version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
| ... | ... | @@ -36,6 +36,8 @@ |
| 36 | 36 | # define MAP_NONBLOCK	0x10000		/* Do not block on IO. */ |
| 37 | 37 | # define MAP_STACK	0x20000		/* Allocation is for a stack. */ |
| 38 | 38 | # define MAP_HUGETLB	0x40000		/* Create huge page mapping. */ |
| 39 | # define MAP_SYNC	0x80000		/* Perform synchronous page | |
| 40 | 					 faults for the mapping. */ | |
| 39 | 41 | # define MAP_FIXED_NOREPLACE 0x100000	/* MAP_FIXED but do not unmap |
| 40 | 42 | 					 underlying mapping. */ |
| 41 | 43 | #endif |
lib/libc/include/sparcv9-linux-gnu/bits/msq-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct msqid_ds. SPARC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MSG_H |
| 20 | 20 | # error "Never use <bits/msq-pad.h> directly; include <sys/msg.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/poll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_POLL_H |
| 19 | 19 | # error "Never use <bits/poll.h> directly; include <sys/poll.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/procfs-extra.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Extra sys/procfs.h definitions. SPARC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs-extra.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/procfs-id.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. SPARC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-id.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. SPARC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/pthreadtypes-arch.h deleted-81| ... | ... | @@ -1,81 +0,0 @@ |
| 1 | /* Machine-specific pthread type layouts. SPARC version. | |
| 2 | Copyright (C) 2003-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 _BITS_PTHREADTYPES_ARCH_H | |
| 20 | #define _BITS_PTHREADTYPES_ARCH_H	1 | |
| 21 | ||
| 22 | #include <bits/wordsize.h> | |
| 23 | ||
| 24 | #if __WORDSIZE == 64 | |
| 25 | # define __SIZEOF_PTHREAD_ATTR_T 56 | |
| 26 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 27 | # define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 28 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 | |
| 29 | # define __SIZEOF_PTHREAD_BARRIER_T 32 | |
| 30 | #else | |
| 31 | # define __SIZEOF_PTHREAD_ATTR_T 36 | |
| 32 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 33 | # define __SIZEOF_PTHREAD_CONDATTR_T 4 | |
| 34 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 | |
| 35 | # define __SIZEOF_PTHREAD_BARRIER_T 20 | |
| 36 | #endif | |
| 37 | #define __SIZEOF_PTHREAD_MUTEXATTR_T 4 | |
| 38 | #define __SIZEOF_PTHREAD_COND_T 48 | |
| 39 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 | |
| 40 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 | |
| 41 | ||
| 42 | /* Definitions for internal mutex struct. */ | |
| 43 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 44 | #define __PTHREAD_COMPAT_PADDING_END | |
| 45 | #define __PTHREAD_MUTEX_LOCK_ELISION 0 | |
| 46 | #define __PTHREAD_MUTEX_NUSERS_AFTER_KIND (__WORDSIZE != 64) | |
| 47 | #define __PTHREAD_MUTEX_USE_UNION (__WORDSIZE != 64) | |
| 48 | ||
| 49 | #define __LOCK_ALIGNMENT | |
| 50 | #define __ONCE_ALIGNMENT | |
| 51 | ||
| 52 | struct __pthread_rwlock_arch_t | |
| 53 | { | |
| 54 | unsigned int __readers; | |
| 55 | unsigned int __writers; | |
| 56 | unsigned int __wrphase_futex; | |
| 57 | unsigned int __writers_futex; | |
| 58 | unsigned int __pad3; | |
| 59 | unsigned int __pad4; | |
| 60 | #if __WORDSIZE == 64 | |
| 61 | int __cur_writer; | |
| 62 | int __shared; | |
| 63 | unsigned long int __pad1; | |
| 64 | unsigned long int __pad2; | |
| 65 | /* FLAGS must stay at this position in the structure to maintain | |
| 66 | binary compatibility. */ | |
| 67 | unsigned int __flags; | |
| 68 | #else | |
| 69 | unsigned char __pad1; | |
| 70 | unsigned char __pad2; | |
| 71 | unsigned char __shared; | |
| 72 | /* FLAGS must stay at this position in the structure to maintain | |
| 73 | binary compatibility. */ | |
| 74 | unsigned char __flags; | |
| 75 | int __cur_writer; | |
| 76 | #endif | |
| 77 | }; | |
| 78 | ||
| 79 | #define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 80 | ||
| 81 | #endif	/* bits/pthreadtypes.h */ | |
| \ No newline at end of file |
lib/libc/include/sparcv9-linux-gnu/bits/resource.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit values & structures for resource limits. Linux/SPARC version. |
| 2 | Copyright (C) 1994-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1994-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_RESOURCE_H |
| 20 | 20 | # error "Never use <bits/resource.h> directly; include <sys/resource.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. SPARC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/semaphore.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Machine-specific POSIX semaphore type layouts. SPARC version. |
| 2 | Copyright (C) 2003-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2003-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Jakub Jelinek <jakub@redhat.com>, 2003. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SEMAPHORE_H |
| 21 | 21 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_SETJMP_H |
| 19 | 19 | #define _BITS_SETJMP_H 1 |
lib/libc/include/sparcv9-linux-gnu/bits/shm-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct shmid_ds. SPARC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shm-pad.h> directly; include <sys/shm.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/shmlba.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define SHMLBA. SPARC version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SHM_H |
| 20 | 20 | # error "Never use <bits/shmlba.h> directly; include <sys/shm.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/sigaction.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* The proper definitions for Linux/SPARC sigaction. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGACTION_H |
| 20 | 20 | #define _BITS_SIGACTION_H 1 |
lib/libc/include/sparcv9-linux-gnu/bits/sigcontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2000-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_SIGCONTEXT_H |
| 19 | 19 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/sparcv9-linux-gnu/bits/signalfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2007-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2007-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_SIGNALFD_H |
| 19 | 19 | # error "Never use <bits/signalfd.h> directly; include <sys/signalfd.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/signum.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Signal number definitions. Linux/SPARC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGNUM_H |
| 20 | 20 | #define _BITS_SIGNUM_H 1 |
lib/libc/include/sparcv9-linux-gnu/bits/sigstack.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* sigstack, sigaltstack definitions. |
| 2 | Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_SIGSTACK_H |
| 20 | 20 | #define _BITS_SIGSTACK_H 1 |
lib/libc/include/sparcv9-linux-gnu/bits/socket-constants.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Socket constants which vary among Linux architectures. Version for SPARC. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket-constants.h> directly; use <sys/socket.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/socket_type.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define enum __socket_type for Linux/SPARC. |
| 2 | Copyright (C) 1991-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1991-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SOCKET_H |
| 20 | 20 | # error "Never include <bits/socket_type.h> directly; use <sys/socket.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/struct_rwlock.h created+58| ... | ... | @@ -0,0 +1,58 @@ |
| 1 | /* SPARC internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 4 | This file is part of the GNU C Library. | |
| 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with the GNU C Library; if not, see | |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | |
| 21 | #define _RWLOCK_INTERNAL_H | |
| 22 | ||
| 23 | struct __pthread_rwlock_arch_t | |
| 24 | { | |
| 25 | unsigned int __readers; | |
| 26 | unsigned int __writers; | |
| 27 | unsigned int __wrphase_futex; | |
| 28 | unsigned int __writers_futex; | |
| 29 | unsigned int __pad3; | |
| 30 | unsigned int __pad4; | |
| 31 | #if __WORDSIZE == 64 | |
| 32 | int __cur_writer; | |
| 33 | int __shared; | |
| 34 | unsigned long int __pad1; | |
| 35 | unsigned long int __pad2; | |
| 36 | /* FLAGS must stay at this position in the structure to maintain | |
| 37 | binary compatibility. */ | |
| 38 | unsigned int __flags; | |
| 39 | #else | |
| 40 | unsigned char __pad1; | |
| 41 | unsigned char __pad2; | |
| 42 | unsigned char __shared; | |
| 43 | /* FLAGS must stay at this position in the structure to maintain | |
| 44 | binary compatibility. */ | |
| 45 | unsigned char __flags; | |
| 46 | int __cur_writer; | |
| 47 | #endif | |
| 48 | }; | |
| 49 | ||
| 50 | #if __WORDSIZE == 64 | |
| 51 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 52 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags | |
| 53 | #else | |
| 54 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 55 | 0, 0, 0, 0, 0, 0, 0, 0, 0, __flags, 0 | |
| 56 | #endif | |
| 57 | ||
| 58 | #endif | |
| \ No newline at end of file |
lib/libc/include/sparcv9-linux-gnu/bits/termios-baud.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios baud rate selection definitions. Linux/sparc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-baud.h> directly; use <termios.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/termios-c_cc.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios c_cc symbolic constant definitions. Linux/sparc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_cc.h> directly; use <termios.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/termios-c_oflag.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* termios output mode definitions. Linux/sparc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-c_oflag.h> directly; use <termios.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/termios-struct.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* struct termios definition. Linux/sparc version. |
| 2 | Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library. If not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _TERMIOS_H |
| 20 | 20 | # error "Never include <bits/termios-struct.h> directly; use <termios.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/timerfd.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2008-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2008-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_TIMERFD_H |
| 19 | 19 | # error "Never use <bits/timerfd.h> directly; include <sys/timerfd.h> instead." |
lib/libc/include/sparcv9-linux-gnu/bits/typesizes.h+7-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/SPARC version. |
| 2 | Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_TYPES_H |
| 20 | 20 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." |
| ... | ... | @@ -72,8 +72,13 @@ |
| 72 | 72 | |
| 73 | 73 | /* And for __rlim_t and __rlim64_t. */ |
| 74 | 74 | # define __RLIM_T_MATCHES_RLIM64_T	1 |
| 75 | ||
| 76 | /* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */ | |
| 77 | # define __STATFS_MATCHES_STATFS64 1 | |
| 75 | 78 | #else |
| 76 | 79 | # define __RLIM_T_MATCHES_RLIM64_T	0 |
| 80 | ||
| 81 | # define __STATFS_MATCHES_STATFS64 0 | |
| 77 | 82 | #endif |
| 78 | 83 | |
| 79 | 84 | /* Number of descriptors that can fit in an `fd_set'. */ |
lib/libc/include/sparcv9-linux-gnu/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word bits. SPARC version. |
| 2 | Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Miguel de Icaza |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _FPU_CONTROL_H |
| 21 | 21 | #define _FPU_CONTROL_H	1 |
lib/libc/include/sparcv9-linux-gnu/ieee754.h+4-4| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1992-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,14 +13,14 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _IEEE754_H |
| 19 | ||
| 20 | 19 | #define _IEEE754_H 1 |
| 20 | ||
| 21 | 21 | #include <features.h> |
| 22 | 22 | |
| 23 | #include <endian.h> | |
| 23 | #include <bits/endian.h> | |
| 24 | 24 | |
| 25 | 25 | __BEGIN_DECLS |
| 26 | 26 |
lib/libc/include/sparcv9-linux-gnu/sys/ptrace.h+7-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/SPARC version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PTRACE_H |
| 20 | 20 | #define _SYS_PTRACE_H	1 |
| ... | ... | @@ -217,8 +217,12 @@ enum __ptrace_request |
| 217 | 217 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 218 | 218 | |
| 219 | 219 | /* Get seccomp BPF filter metadata. */ |
| 220 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 220 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 221 | 221 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 222 | ||
| 223 | /* Get information about system call. */ | |
| 224 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 225 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 222 | 226 | }; |
| 223 | 227 | |
| 224 | 228 |
lib/libc/include/sparcv9-linux-gnu/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_UCONTEXT_H |
| 19 | 19 | #define _SYS_UCONTEXT_H	1 |
lib/libc/include/sparcv9-linux-gnu/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2003-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2003-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 | #define _SYS_USER_H	1 |
lib/libc/include/x86_64-linux-gnu/bits/endian.h deleted-7| ... | ... | @@ -1,7 +0,0 @@ |
| 1 | /* i386/x86_64 are little-endian. */ | |
| 2 | ||
| 3 | #ifndef _ENDIAN_H | |
| 4 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 5 | #endif | |
| 6 | ||
| 7 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnu/bits/endianness.h created+11| ... | ... | @@ -0,0 +1,11 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* i386/x86_64 are little-endian. */ | |
| 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| 10 | ||
| 11 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnu/bits/environments.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _UNISTD_H |
| 19 | 19 | # error "Never include this file directly. Use <unistd.h> instead" |
lib/libc/include/x86_64-linux-gnu/bits/epoll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EPOLL_H |
| 19 | 19 | # error "Never use <bits/epoll.h> directly; include <sys/epoll.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux/x86. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -101,7 +101,7 @@ fenv_t; |
| 101 | 101 | # define FE_NOMASK_ENV	((const fenv_t *) -2) |
| 102 | 102 | #endif |
| 103 | 103 | |
| 104 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 104 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 105 | 105 | /* Type representing floating-point control modes. */ |
| 106 | 106 | typedef struct |
| 107 | 107 | { |
lib/libc/include/x86_64-linux-gnu/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on x86. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/x86_64-linux-gnu/bits/flt-eval-method.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define __GLIBC_FLT_EVAL_METHOD. x86 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/flt-eval-method.h> directly; include <math.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/fp-logb.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN. x86 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/fp-logb.h> directly; include <math.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/indirect-return.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definition of __INDIRECT_RETURN. x86 version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _UCONTEXT_H |
| 20 | 20 | # error "Never include <bits/indirect-return.h> directly; use <ucontext.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/ipctypes.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IPC_H |
| 20 | 20 | # error "Never use <bits/ipctypes.h> directly; include <sys/ipc.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/iscanonical.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define iscanonical macro. ldbl-96 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/iscanonical.h> directly; include <math.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/link.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_LINK_H |
| 19 | 19 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. ldbl-96 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,8 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* long double is distinct from double, so there is nothing to |
| 20 | define here. */ | |
| \ No newline at end of file | ||
| 20 | define here. */ | |
| 21 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnu/bits/math-vector.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Platform-specific SIMD declarations of math functions. |
| 2 | Copyright (C) 2014-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never include <bits/math-vector.h> directly;\ |
lib/libc/include/x86_64-linux-gnu/bits/mman.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/x86_64 version. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/procfs-id.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. x86 version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-id.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. x86 version. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h+2-53| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_PTHREADTYPES_ARCH_H |
| 19 | 19 | #define _BITS_PTHREADTYPES_ARCH_H	1 |
| ... | ... | @@ -24,20 +24,17 @@ |
| 24 | 24 | # if __WORDSIZE == 64 |
| 25 | 25 | # define __SIZEOF_PTHREAD_MUTEX_T 40 |
| 26 | 26 | # define __SIZEOF_PTHREAD_ATTR_T 56 |
| 27 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 28 | 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 |
| 29 | 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 |
| 30 | 29 | # else |
| 31 | 30 | # define __SIZEOF_PTHREAD_MUTEX_T 32 |
| 32 | 31 | # define __SIZEOF_PTHREAD_ATTR_T 32 |
| 33 | # define __SIZEOF_PTHREAD_MUTEX_T 32 | |
| 34 | 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 44 |
| 35 | 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 |
| 36 | 34 | # endif |
| 37 | 35 | #else |
| 38 | 36 | # define __SIZEOF_PTHREAD_MUTEX_T 24 |
| 39 | 37 | # define __SIZEOF_PTHREAD_ATTR_T 36 |
| 40 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 41 | 38 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 |
| 42 | 39 | # define __SIZEOF_PTHREAD_BARRIER_T 20 |
| 43 | 40 | #endif |
| ... | ... | @@ -47,57 +44,9 @@ |
| 47 | 44 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 |
| 48 | 45 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 |
| 49 | 46 | |
| 50 | /* Definitions for internal mutex struct. */ | |
| 51 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 52 | #define __PTHREAD_COMPAT_PADDING_END | |
| 53 | #define __PTHREAD_MUTEX_LOCK_ELISION 1 | |
| 54 | #ifdef __x86_64__ | |
| 55 | # define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 0 | |
| 56 | # define __PTHREAD_MUTEX_USE_UNION 0 | |
| 57 | #else | |
| 58 | # define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 1 | |
| 59 | # define __PTHREAD_MUTEX_USE_UNION 1 | |
| 60 | #endif | |
| 61 | ||
| 62 | 47 | #define __LOCK_ALIGNMENT |
| 63 | 48 | #define __ONCE_ALIGNMENT |
| 64 | 49 | |
| 65 | struct __pthread_rwlock_arch_t | |
| 66 | { | |
| 67 | unsigned int __readers; | |
| 68 | unsigned int __writers; | |
| 69 | unsigned int __wrphase_futex; | |
| 70 | unsigned int __writers_futex; | |
| 71 | unsigned int __pad3; | |
| 72 | unsigned int __pad4; | |
| 73 | #ifdef __x86_64__ | |
| 74 | int __cur_writer; | |
| 75 | int __shared; | |
| 76 | signed char __rwelision; | |
| 77 | # ifdef __ILP32__ | |
| 78 | unsigned char __pad1[3]; | |
| 79 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, { 0, 0, 0 } | |
| 80 | # else | |
| 81 | unsigned char __pad1[7]; | |
| 82 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, { 0, 0, 0, 0, 0, 0, 0 } | |
| 83 | # endif | |
| 84 | unsigned long int __pad2; | |
| 85 | /* FLAGS must stay at this position in the structure to maintain | |
| 86 | binary compatibility. */ | |
| 87 | unsigned int __flags; | |
| 88 | # define __PTHREAD_RWLOCK_INT_FLAGS_SHARED	1 | |
| 89 | #else | |
| 90 | /* FLAGS must stay at this position in the structure to maintain | |
| 91 | binary compatibility. */ | |
| 92 | unsigned char __flags; | |
| 93 | unsigned char __shared; | |
| 94 | signed char __rwelision; | |
| 95 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 96 | unsigned char __pad2; | |
| 97 | int __cur_writer; | |
| 98 | #endif | |
| 99 | }; | |
| 100 | ||
| 101 | 50 | #ifndef __x86_64__ |
| 102 | 51 | /* Extra attributes for the cleanup functions. */ |
| 103 | 52 | # define __cleanup_fct_attribute __attribute__ ((__regparm__ (1))) |
lib/libc/include/x86_64-linux-gnu/bits/select.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_SELECT_H |
| 19 | 19 | # error "Never use <bits/select.h> directly; include <sys/select.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. x86 version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/semaphore.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SEMAPHORE_H |
| 20 | 20 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Define the machine-dependent type `jmp_buf'. x86-64 version. */ |
| 19 | 19 | #ifndef _BITS_SETJMP_H |
lib/libc/include/x86_64-linux-gnu/bits/sigcontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_SIGCONTEXT_H |
| 19 | 19 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/x86_64-linux-gnu/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/x86_64-linux-gnu/bits/struct_mutex.h created+63| ... | ... | @@ -0,0 +1,63 @@ |
| 1 | /* x86 internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #ifdef __x86_64__ | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #ifdef __x86_64__ | |
| 34 | short __spins; | |
| 35 | short __elision; | |
| 36 | __pthread_list_t __list; | |
| 37 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 38 | #else | |
| 39 | unsigned int __nusers; | |
| 40 | __extension__ union | |
| 41 | { | |
| 42 | struct | |
| 43 | { | |
| 44 | short __espins; | |
| 45 | short __eelision; | |
| 46 | # define __spins __elision_data.__espins | |
| 47 | # define __elision __elision_data.__eelision | |
| 48 | } __elision_data; | |
| 49 | __pthread_slist_t __list; | |
| 50 | }; | |
| 51 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 52 | #endif | |
| 53 | }; | |
| 54 | ||
| 55 | #ifdef __x86_64__ | |
| 56 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 57 | 0, 0, 0, 0, __kind, 0, 0, { 0, 0 } | |
| 58 | #else | |
| 59 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 60 | 0, 0, 0, __kind, 0, { { 0, 0 } } | |
| 61 | #endif | |
| 62 | ||
| 63 | #endif | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnu/bits/struct_rwlock.h created+65| ... | ... | @@ -0,0 +1,65 @@ |
| 1 | /* x86 internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 4 | This file is part of the GNU C Library. | |
| 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with the GNU C Library; if not, see | |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | |
| 21 | #define _RWLOCK_INTERNAL_H | |
| 22 | ||
| 23 | struct __pthread_rwlock_arch_t | |
| 24 | { | |
| 25 | unsigned int __readers; | |
| 26 | unsigned int __writers; | |
| 27 | unsigned int __wrphase_futex; | |
| 28 | unsigned int __writers_futex; | |
| 29 | unsigned int __pad3; | |
| 30 | unsigned int __pad4; | |
| 31 | #ifdef __x86_64__ | |
| 32 | int __cur_writer; | |
| 33 | int __shared; | |
| 34 | signed char __rwelision; | |
| 35 | # ifdef __ILP32__ | |
| 36 | unsigned char __pad1[3]; | |
| 37 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, { 0, 0, 0 } | |
| 38 | # else | |
| 39 | unsigned char __pad1[7]; | |
| 40 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, { 0, 0, 0, 0, 0, 0, 0 } | |
| 41 | # endif | |
| 42 | unsigned long int __pad2; | |
| 43 | /* FLAGS must stay at this position in the structure to maintain | |
| 44 | binary compatibility. */ | |
| 45 | unsigned int __flags; | |
| 46 | #else /* __x86_64__ */ | |
| 47 | /* FLAGS must stay at this position in the structure to maintain | |
| 48 | binary compatibility. */ | |
| 49 | unsigned char __flags; | |
| 50 | unsigned char __shared; | |
| 51 | signed char __rwelision; | |
| 52 | unsigned char __pad2; | |
| 53 | int __cur_writer; | |
| 54 | #endif | |
| 55 | }; | |
| 56 | ||
| 57 | #ifdef __x86_64__ | |
| 58 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 59 | 0, 0, 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, __flags | |
| 60 | #else | |
| 61 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 62 | 0, 0, 0, 0, 0, 0, __flags, 0, 0, 0, 0 | |
| 63 | #endif | |
| 64 | ||
| 65 | #endif | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnu/bits/sysctl.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if defined __x86_64__ && defined __ILP32__ |
| 19 | 19 | # error "sysctl system call is unsupported in x32 kernel" |
lib/libc/include/x86_64-linux-gnu/bits/timesize.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit size of the time_t type at glibc build time, x86-64 and x32 case. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if defined __x86_64__ && defined __ILP32__ |
| 20 | 20 | /* For x32, time is 64-bit even though word size is 32-bit. */ |
lib/libc/include/x86_64-linux-gnu/bits/typesizes.h+7-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_TYPES_H |
| 20 | 20 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." |
| ... | ... | @@ -84,8 +84,13 @@ |
| 84 | 84 | |
| 85 | 85 | /* And for __rlim_t and __rlim64_t. */ |
| 86 | 86 | # define __RLIM_T_MATCHES_RLIM64_T	1 |
| 87 | ||
| 88 | /* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */ | |
| 89 | # define __STATFS_MATCHES_STATFS64 1 | |
| 87 | 90 | #else |
| 88 | 91 | # define __RLIM_T_MATCHES_RLIM64_T	0 |
| 92 | ||
| 93 | # define __STATFS_MATCHES_STATFS64 0 | |
| 89 | 94 | #endif |
| 90 | 95 | |
| 91 | 96 | /* Number of descriptors that can fit in an `fd_set'. */ |
lib/libc/include/x86_64-linux-gnu/finclude/math-vector-fortran.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- |
| 2 | ! Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | ! Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | ! This file is part of the GNU C Library. |
| 4 | 4 | ! |
| 5 | 5 | ! The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | ! |
| 15 | 15 | ! You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | ! License along with the GNU C Library; if not, see |
| 17 | ! <http://www.gnu.org/licenses/>. | |
| 17 | ! <https://www.gnu.org/licenses/>. | |
| 18 | 18 | |
| 19 | 19 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x86_64') |
| 20 | 20 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x86_64') |
lib/libc/include/x86_64-linux-gnu/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word bits. x86 version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Olaf Flebbe. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _FPU_CONTROL_H |
| 21 | 21 | #define _FPU_CONTROL_H	1 |
lib/libc/include/x86_64-linux-gnu/sys/elf.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_ELF_H |
| 19 | 19 | #define _SYS_ELF_H	1 |
lib/libc/include/x86_64-linux-gnu/sys/ptrace.h+7-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/x86 version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PTRACE_H |
| 21 | 21 | #define _SYS_PTRACE_H	1 |
| ... | ... | @@ -186,8 +186,12 @@ enum __ptrace_request |
| 186 | 186 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 187 | 187 | |
| 188 | 188 | /* Get seccomp BPF filter metadata. */ |
| 189 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 189 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 190 | 190 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 191 | ||
| 192 | /* Get information about system call. */ | |
| 193 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 194 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 191 | 195 | }; |
| 192 | 196 | |
| 193 | 197 |
lib/libc/include/x86_64-linux-gnu/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_UCONTEXT_H |
| 19 | 19 | #define _SYS_UCONTEXT_H	1 |
lib/libc/include/x86_64-linux-gnu/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 | #define _SYS_USER_H	1 |
lib/libc/include/x86_64-linux-gnux32/bits/endian.h deleted-7| ... | ... | @@ -1,7 +0,0 @@ |
| 1 | /* i386/x86_64 are little-endian. */ | |
| 2 | ||
| 3 | #ifndef _ENDIAN_H | |
| 4 | # error "Never use <bits/endian.h> directly; include <endian.h> instead." | |
| 5 | #endif | |
| 6 | ||
| 7 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnux32/bits/endianness.h created+11| ... | ... | @@ -0,0 +1,11 @@ |
| 1 | #ifndef _BITS_ENDIANNESS_H | |
| 2 | #define _BITS_ENDIANNESS_H 1 | |
| 3 | ||
| 4 | #ifndef _BITS_ENDIAN_H | |
| 5 | # error "Never use <bits/endianness.h> directly; include <endian.h> instead." | |
| 6 | #endif | |
| 7 | ||
| 8 | /* i386/x86_64 are little-endian. */ | |
| 9 | #define __BYTE_ORDER __LITTLE_ENDIAN | |
| 10 | ||
| 11 | #endif /* bits/endianness.h */ | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnux32/bits/environments.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _UNISTD_H |
| 19 | 19 | # error "Never include this file directly. Use <unistd.h> instead" |
lib/libc/include/x86_64-linux-gnux32/bits/epoll.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_SYS_EPOLL_H |
| 19 | 19 | # error "Never use <bits/epoll.h> directly; include <sys/epoll.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/fcntl.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* O_*, F_*, FD_* bit values for Linux/x86. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _FCNTL_H |
| 20 | 20 | # error "Never use <bits/fcntl.h> directly; include <fcntl.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/fenv.h+3-3| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _FENV_H |
| 19 | 19 | # error "Never use <bits/fenv.h> directly; include <fenv.h> instead." |
| ... | ... | @@ -101,7 +101,7 @@ fenv_t; |
| 101 | 101 | # define FE_NOMASK_ENV	((const fenv_t *) -2) |
| 102 | 102 | #endif |
| 103 | 103 | |
| 104 | #if __GLIBC_USE (IEC_60559_BFP_EXT) | |
| 104 | #if __GLIBC_USE (IEC_60559_BFP_EXT_C2X) | |
| 105 | 105 | /* Type representing floating-point control modes. */ |
| 106 | 106 | typedef struct |
| 107 | 107 | { |
lib/libc/include/x86_64-linux-gnux32/bits/floatn.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Macros to control TS 18661-3 glibc features on x86. |
| 2 | Copyright (C) 2017-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2017-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_FLOATN_H |
| 20 | 20 | #define _BITS_FLOATN_H |
lib/libc/include/x86_64-linux-gnux32/bits/flt-eval-method.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define __GLIBC_FLT_EVAL_METHOD. x86 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/flt-eval-method.h> directly; include <math.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/fp-logb.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define __FP_LOGB0_IS_MIN and __FP_LOGBNAN_IS_MIN. x86 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/fp-logb.h> directly; include <math.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/indirect-return.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definition of __INDIRECT_RETURN. x86 version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _UCONTEXT_H |
| 20 | 20 | # error "Never include <bits/indirect-return.h> directly; use <ucontext.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/ipctypes.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/ipctypes.h -- Define some types used by SysV IPC/MSG/SHM. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_IPC_H |
| 20 | 20 | # error "Never use <bits/ipctypes.h> directly; include <sys/ipc.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/iscanonical.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define iscanonical macro. ldbl-96 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never use <bits/iscanonical.h> directly; include <math.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/link.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2004-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2004-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef	_LINK_H |
| 19 | 19 | # error "Never include <bits/link.h> directly; use <link.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/long-double.h+4-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Properties of long double type. ldbl-96 version. |
| 2 | Copyright (C) 2016-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2016-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,8 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | /* long double is distinct from double, so there is nothing to |
| 20 | define here. */ | |
| \ No newline at end of file | ||
| 20 | define here. */ | |
| 21 | #define __LONG_DOUBLE_USES_FLOAT128 0 | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnux32/bits/math-vector.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Platform-specific SIMD declarations of math functions. |
| 2 | Copyright (C) 2014-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2014-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _MATH_H |
| 20 | 20 | # error "Never include <bits/math-vector.h> directly;\ |
lib/libc/include/x86_64-linux-gnux32/bits/mman.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Definitions for POSIX memory map interface. Linux/x86_64 version. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_MMAN_H |
| 20 | 20 | # error "Never use <bits/mman.h> directly; include <sys/mman.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/procfs-id.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types of pr_uid and pr_gid in struct elf_prpsinfo. x86 version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PROCFS_H |
| 21 | 21 | # error "Never include <bits/procfs-id.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/procfs.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Types for registers for sys/procfs.h. x86 version. |
| 2 | Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_PROCFS_H |
| 20 | 20 | # error "Never include <bits/procfs.h> directly; use <sys/procfs.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/pthreadtypes-arch.h+2-53| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_PTHREADTYPES_ARCH_H |
| 19 | 19 | #define _BITS_PTHREADTYPES_ARCH_H	1 |
| ... | ... | @@ -24,20 +24,17 @@ |
| 24 | 24 | # if __WORDSIZE == 64 |
| 25 | 25 | # define __SIZEOF_PTHREAD_MUTEX_T 40 |
| 26 | 26 | # define __SIZEOF_PTHREAD_ATTR_T 56 |
| 27 | # define __SIZEOF_PTHREAD_MUTEX_T 40 | |
| 28 | 27 | # define __SIZEOF_PTHREAD_RWLOCK_T 56 |
| 29 | 28 | # define __SIZEOF_PTHREAD_BARRIER_T 32 |
| 30 | 29 | # else |
| 31 | 30 | # define __SIZEOF_PTHREAD_MUTEX_T 32 |
| 32 | 31 | # define __SIZEOF_PTHREAD_ATTR_T 32 |
| 33 | # define __SIZEOF_PTHREAD_MUTEX_T 32 | |
| 34 | 32 | # define __SIZEOF_PTHREAD_RWLOCK_T 44 |
| 35 | 33 | # define __SIZEOF_PTHREAD_BARRIER_T 20 |
| 36 | 34 | # endif |
| 37 | 35 | #else |
| 38 | 36 | # define __SIZEOF_PTHREAD_MUTEX_T 24 |
| 39 | 37 | # define __SIZEOF_PTHREAD_ATTR_T 36 |
| 40 | # define __SIZEOF_PTHREAD_MUTEX_T 24 | |
| 41 | 38 | # define __SIZEOF_PTHREAD_RWLOCK_T 32 |
| 42 | 39 | # define __SIZEOF_PTHREAD_BARRIER_T 20 |
| 43 | 40 | #endif |
| ... | ... | @@ -47,57 +44,9 @@ |
| 47 | 44 | #define __SIZEOF_PTHREAD_RWLOCKATTR_T 8 |
| 48 | 45 | #define __SIZEOF_PTHREAD_BARRIERATTR_T 4 |
| 49 | 46 | |
| 50 | /* Definitions for internal mutex struct. */ | |
| 51 | #define __PTHREAD_COMPAT_PADDING_MID | |
| 52 | #define __PTHREAD_COMPAT_PADDING_END | |
| 53 | #define __PTHREAD_MUTEX_LOCK_ELISION 1 | |
| 54 | #ifdef __x86_64__ | |
| 55 | # define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 0 | |
| 56 | # define __PTHREAD_MUTEX_USE_UNION 0 | |
| 57 | #else | |
| 58 | # define __PTHREAD_MUTEX_NUSERS_AFTER_KIND 1 | |
| 59 | # define __PTHREAD_MUTEX_USE_UNION 1 | |
| 60 | #endif | |
| 61 | ||
| 62 | 47 | #define __LOCK_ALIGNMENT |
| 63 | 48 | #define __ONCE_ALIGNMENT |
| 64 | 49 | |
| 65 | struct __pthread_rwlock_arch_t | |
| 66 | { | |
| 67 | unsigned int __readers; | |
| 68 | unsigned int __writers; | |
| 69 | unsigned int __wrphase_futex; | |
| 70 | unsigned int __writers_futex; | |
| 71 | unsigned int __pad3; | |
| 72 | unsigned int __pad4; | |
| 73 | #ifdef __x86_64__ | |
| 74 | int __cur_writer; | |
| 75 | int __shared; | |
| 76 | signed char __rwelision; | |
| 77 | # ifdef __ILP32__ | |
| 78 | unsigned char __pad1[3]; | |
| 79 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, { 0, 0, 0 } | |
| 80 | # else | |
| 81 | unsigned char __pad1[7]; | |
| 82 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, { 0, 0, 0, 0, 0, 0, 0 } | |
| 83 | # endif | |
| 84 | unsigned long int __pad2; | |
| 85 | /* FLAGS must stay at this position in the structure to maintain | |
| 86 | binary compatibility. */ | |
| 87 | unsigned int __flags; | |
| 88 | # define __PTHREAD_RWLOCK_INT_FLAGS_SHARED	1 | |
| 89 | #else | |
| 90 | /* FLAGS must stay at this position in the structure to maintain | |
| 91 | binary compatibility. */ | |
| 92 | unsigned char __flags; | |
| 93 | unsigned char __shared; | |
| 94 | signed char __rwelision; | |
| 95 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0 | |
| 96 | unsigned char __pad2; | |
| 97 | int __cur_writer; | |
| 98 | #endif | |
| 99 | }; | |
| 100 | ||
| 101 | 50 | #ifndef __x86_64__ |
| 102 | 51 | /* Extra attributes for the cleanup functions. */ |
| 103 | 52 | # define __cleanup_fct_attribute __attribute__ ((__regparm__ (1))) |
lib/libc/include/x86_64-linux-gnux32/bits/select.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1997-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_SELECT_H |
| 19 | 19 | # error "Never use <bits/select.h> directly; include <sys/select.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/sem-pad.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Define where padding goes in struct semid_ds. x86 version. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SYS_SEM_H |
| 20 | 20 | # error "Never use <bits/sem-pad.h> directly; include <sys/sem.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/semaphore.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. |
| 4 | 4 | |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _SEMAPHORE_H |
| 20 | 20 | # error "Never use <bits/semaphore.h> directly; include <semaphore.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/setjmp.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | /* Define the machine-dependent type `jmp_buf'. x86-64 version. */ |
| 19 | 19 | #ifndef _BITS_SETJMP_H |
lib/libc/include/x86_64-linux-gnux32/bits/sigcontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2002-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _BITS_SIGCONTEXT_H |
| 19 | 19 | #define _BITS_SIGCONTEXT_H 1 |
lib/libc/include/x86_64-linux-gnux32/bits/stat.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1999-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if !defined _SYS_STAT_H && !defined _FCNTL_H |
| 19 | 19 | # error "Never include <bits/stat.h> directly; use <sys/stat.h> instead." |
lib/libc/include/x86_64-linux-gnux32/bits/struct_mutex.h created+63| ... | ... | @@ -0,0 +1,63 @@ |
| 1 | /* x86 internal mutex struct definitions. | |
| 2 | Copyright (C) 2019-2020 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 _THREAD_MUTEX_INTERNAL_H | |
| 20 | #define _THREAD_MUTEX_INTERNAL_H 1 | |
| 21 | ||
| 22 | struct __pthread_mutex_s | |
| 23 | { | |
| 24 | int __lock; | |
| 25 | unsigned int __count; | |
| 26 | int __owner; | |
| 27 | #ifdef __x86_64__ | |
| 28 | unsigned int __nusers; | |
| 29 | #endif | |
| 30 | /* KIND must stay at this position in the structure to maintain | |
| 31 | binary compatibility with static initializers. */ | |
| 32 | int __kind; | |
| 33 | #ifdef __x86_64__ | |
| 34 | short __spins; | |
| 35 | short __elision; | |
| 36 | __pthread_list_t __list; | |
| 37 | # define __PTHREAD_MUTEX_HAVE_PREV 1 | |
| 38 | #else | |
| 39 | unsigned int __nusers; | |
| 40 | __extension__ union | |
| 41 | { | |
| 42 | struct | |
| 43 | { | |
| 44 | short __espins; | |
| 45 | short __eelision; | |
| 46 | # define __spins __elision_data.__espins | |
| 47 | # define __elision __elision_data.__eelision | |
| 48 | } __elision_data; | |
| 49 | __pthread_slist_t __list; | |
| 50 | }; | |
| 51 | # define __PTHREAD_MUTEX_HAVE_PREV 0 | |
| 52 | #endif | |
| 53 | }; | |
| 54 | ||
| 55 | #ifdef __x86_64__ | |
| 56 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 57 | 0, 0, 0, 0, __kind, 0, 0, { 0, 0 } | |
| 58 | #else | |
| 59 | # define __PTHREAD_MUTEX_INITIALIZER(__kind) \ | |
| 60 | 0, 0, 0, __kind, 0, { { 0, 0 } } | |
| 61 | #endif | |
| 62 | ||
| 63 | #endif | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnux32/bits/struct_rwlock.h created+65| ... | ... | @@ -0,0 +1,65 @@ |
| 1 | /* x86 internal rwlock struct definitions. | |
| 2 | Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | ||
| 4 | This file is part of the GNU C Library. | |
| 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | |
| 7 | modify it under the terms of the GNU Lesser General Public | |
| 8 | License as published by the Free Software Foundation; either | |
| 9 | version 2.1 of the License, or (at your option) any later version. | |
| 10 | ||
| 11 | The GNU C Library is distributed in the hope that it will be useful, | |
| 12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 14 | Lesser General Public License for more details. | |
| 15 | ||
| 16 | You should have received a copy of the GNU Lesser General Public | |
| 17 | License along with the GNU C Library; if not, see | |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 19 | ||
| 20 | #ifndef _RWLOCK_INTERNAL_H | |
| 21 | #define _RWLOCK_INTERNAL_H | |
| 22 | ||
| 23 | struct __pthread_rwlock_arch_t | |
| 24 | { | |
| 25 | unsigned int __readers; | |
| 26 | unsigned int __writers; | |
| 27 | unsigned int __wrphase_futex; | |
| 28 | unsigned int __writers_futex; | |
| 29 | unsigned int __pad3; | |
| 30 | unsigned int __pad4; | |
| 31 | #ifdef __x86_64__ | |
| 32 | int __cur_writer; | |
| 33 | int __shared; | |
| 34 | signed char __rwelision; | |
| 35 | # ifdef __ILP32__ | |
| 36 | unsigned char __pad1[3]; | |
| 37 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, { 0, 0, 0 } | |
| 38 | # else | |
| 39 | unsigned char __pad1[7]; | |
| 40 | # define __PTHREAD_RWLOCK_ELISION_EXTRA 0, { 0, 0, 0, 0, 0, 0, 0 } | |
| 41 | # endif | |
| 42 | unsigned long int __pad2; | |
| 43 | /* FLAGS must stay at this position in the structure to maintain | |
| 44 | binary compatibility. */ | |
| 45 | unsigned int __flags; | |
| 46 | #else /* __x86_64__ */ | |
| 47 | /* FLAGS must stay at this position in the structure to maintain | |
| 48 | binary compatibility. */ | |
| 49 | unsigned char __flags; | |
| 50 | unsigned char __shared; | |
| 51 | signed char __rwelision; | |
| 52 | unsigned char __pad2; | |
| 53 | int __cur_writer; | |
| 54 | #endif | |
| 55 | }; | |
| 56 | ||
| 57 | #ifdef __x86_64__ | |
| 58 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 59 | 0, 0, 0, 0, 0, 0, 0, 0, __PTHREAD_RWLOCK_ELISION_EXTRA, 0, __flags | |
| 60 | #else | |
| 61 | # define __PTHREAD_RWLOCK_INITIALIZER(__flags) \ | |
| 62 | 0, 0, 0, 0, 0, 0, __flags, 0, 0, 0, 0 | |
| 63 | #endif | |
| 64 | ||
| 65 | #endif | |
| \ No newline at end of file |
lib/libc/include/x86_64-linux-gnux32/bits/sysctl.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #if defined __x86_64__ && defined __ILP32__ |
| 19 | 19 | # error "sysctl system call is unsupported in x32 kernel" |
lib/libc/include/x86_64-linux-gnux32/bits/timesize.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* Bit size of the time_t type at glibc build time, x86-64 and x32 case. |
| 2 | Copyright (C) 2018-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2018-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #if defined __x86_64__ && defined __ILP32__ |
| 20 | 20 | /* For x32, time is 64-bit even though word size is 32-bit. */ |
lib/libc/include/x86_64-linux-gnux32/bits/typesizes.h+7-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. |
| 2 | Copyright (C) 2012-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 2012-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | |
| 5 | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | |
| 15 | 15 | You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | License along with the GNU C Library; if not, see |
| 17 | <http://www.gnu.org/licenses/>. */ | |
| 17 | <https://www.gnu.org/licenses/>. */ | |
| 18 | 18 | |
| 19 | 19 | #ifndef _BITS_TYPES_H |
| 20 | 20 | # error "Never include <bits/typesizes.h> directly; use <sys/types.h> instead." |
| ... | ... | @@ -84,8 +84,13 @@ |
| 84 | 84 | |
| 85 | 85 | /* And for __rlim_t and __rlim64_t. */ |
| 86 | 86 | # define __RLIM_T_MATCHES_RLIM64_T	1 |
| 87 | ||
| 88 | /* And for fsblkcnt_t, fsblkcnt64_t, fsfilcnt_t and fsfilcnt64_t. */ | |
| 89 | # define __STATFS_MATCHES_STATFS64 1 | |
| 87 | 90 | #else |
| 88 | 91 | # define __RLIM_T_MATCHES_RLIM64_T	0 |
| 92 | ||
| 93 | # define __STATFS_MATCHES_STATFS64 0 | |
| 89 | 94 | #endif |
| 90 | 95 | |
| 91 | 96 | /* Number of descriptors that can fit in an `fd_set'. */ |
lib/libc/include/x86_64-linux-gnux32/finclude/math-vector-fortran.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | ! Platform-specific declarations of SIMD math functions for Fortran. -*- f90 -*- |
| 2 | ! Copyright (C) 2019 Free Software Foundation, Inc. | |
| 2 | ! Copyright (C) 2019-2020 Free Software Foundation, Inc. | |
| 3 | 3 | ! This file is part of the GNU C Library. |
| 4 | 4 | ! |
| 5 | 5 | ! The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 | ! |
| 15 | 15 | ! You should have received a copy of the GNU Lesser General Public |
| 16 | 16 | ! License along with the GNU C Library; if not, see |
| 17 | ! <http://www.gnu.org/licenses/>. | |
| 17 | ! <https://www.gnu.org/licenses/>. | |
| 18 | 18 | |
| 19 | 19 | !GCC$ builtin (cos) attributes simd (notinbranch) if('x86_64') |
| 20 | 20 | !GCC$ builtin (cosf) attributes simd (notinbranch) if('x86_64') |
lib/libc/include/x86_64-linux-gnux32/fpu_control.h+2-2| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* FPU control word bits. x86 version. |
| 2 | Copyright (C) 1993-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1993-2020 Free Software Foundation, Inc. | |
| 3 | 3 | This file is part of the GNU C Library. |
| 4 | 4 | Contributed by Olaf Flebbe. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _FPU_CONTROL_H |
| 21 | 21 | #define _FPU_CONTROL_H	1 |
lib/libc/include/x86_64-linux-gnux32/sys/elf.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 1998-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_ELF_H |
| 19 | 19 | #define _SYS_ELF_H	1 |
lib/libc/include/x86_64-linux-gnux32/sys/ptrace.h+7-3| ... | ... | @@ -1,5 +1,5 @@ |
| 1 | 1 | /* `ptrace' debugger support interface. Linux/x86 version. |
| 2 | Copyright (C) 1996-2019 Free Software Foundation, Inc. | |
| 2 | Copyright (C) 1996-2020 Free Software Foundation, Inc. | |
| 3 | 3 | |
| 4 | 4 | This file is part of the GNU C Library. |
| 5 | 5 | |
| ... | ... | @@ -15,7 +15,7 @@ |
| 15 | 15 | |
| 16 | 16 | You should have received a copy of the GNU Lesser General Public |
| 17 | 17 | License along with the GNU C Library; if not, see |
| 18 | <http://www.gnu.org/licenses/>. */ | |
| 18 | <https://www.gnu.org/licenses/>. */ | |
| 19 | 19 | |
| 20 | 20 | #ifndef _SYS_PTRACE_H |
| 21 | 21 | #define _SYS_PTRACE_H	1 |
| ... | ... | @@ -186,8 +186,12 @@ enum __ptrace_request |
| 186 | 186 | #define PTRACE_SECCOMP_GET_FILTER PTRACE_SECCOMP_GET_FILTER |
| 187 | 187 | |
| 188 | 188 | /* Get seccomp BPF filter metadata. */ |
| 189 | PTRACE_SECCOMP_GET_METADATA = 0x420d | |
| 189 | PTRACE_SECCOMP_GET_METADATA = 0x420d, | |
| 190 | 190 | #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA |
| 191 | ||
| 192 | /* Get information about system call. */ | |
| 193 | PTRACE_GET_SYSCALL_INFO = 0x420e | |
| 194 | #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO | |
| 191 | 195 | }; |
| 192 | 196 | |
| 193 | 197 |
lib/libc/include/x86_64-linux-gnux32/sys/ucontext.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_UCONTEXT_H |
| 19 | 19 | #define _SYS_UCONTEXT_H	1 |
lib/libc/include/x86_64-linux-gnux32/sys/user.h+2-2| ... | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2019 Free Software Foundation, Inc. | |
| 1 | /* Copyright (C) 2001-2020 Free Software Foundation, Inc. | |
| 2 | 2 | This file is part of the GNU C Library. |
| 3 | 3 | |
| 4 | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | ... | @@ -13,7 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 | You should have received a copy of the GNU Lesser General Public |
| 15 | 15 | License along with the GNU C Library; if not, see |
| 16 | <http://www.gnu.org/licenses/>. */ | |
| 16 | <https://www.gnu.org/licenses/>. */ | |
| 17 | 17 | |
| 18 | 18 | #ifndef _SYS_USER_H |
| 19 | 19 | #define _SYS_USER_H	1 |
lib/std/fs.zig+8-5| ... | ... | @@ -663,11 +663,14 @@ pub const Dir = struct { |
| 663 | 663 | return self.openFileW(&path_w, flags); |
| 664 | 664 | } |
| 665 | 665 | const path_c = try os.toPosixPath(sub_path); |
| 666 | return self.openFileC(&path_c, flags); | |
| 666 | return self.openFileZ(&path_c, flags); | |
| 667 | 667 | } |
| 668 | 668 | |
| 669 | /// Deprecated; use `openFileZ`. | |
| 670 | pub const openFileC = openFileZ; | |
| 671 | ||
| 669 | 672 | /// Same as `openFile` but the path parameter is null-terminated. |
| 670 | pub fn openFileC(self: Dir, sub_path: [*:0]const u8, flags: File.OpenFlags) File.OpenError!File { | |
| 673 | pub fn openFileZ(self: Dir, sub_path: [*:0]const u8, flags: File.OpenFlags) File.OpenError!File { | |
| 671 | 674 | if (builtin.os.tag == .windows) { |
| 672 | 675 | const path_w = try os.windows.cStrToPrefixedFileW(sub_path); |
| 673 | 676 | return self.openFileW(&path_w, flags); |
| ... | ... | @@ -753,9 +756,9 @@ pub const Dir = struct { |
| 753 | 756 | return self.openFile(sub_path, .{}); |
| 754 | 757 | } |
| 755 | 758 | |
| 756 | /// Deprecated; call `openFileC` directly. | |
| 759 | /// Deprecated; call `openFileZ` directly. | |
| 757 | 760 | pub fn openReadC(self: Dir, sub_path: [*:0]const u8) File.OpenError!File { |
| 758 | return self.openFileC(sub_path, .{}); | |
| 761 | return self.openFileZ(sub_path, .{}); | |
| 759 | 762 | } |
| 760 | 763 | |
| 761 | 764 | /// Deprecated; call `openFileW` directly. |
| ... | ... | @@ -1403,7 +1406,7 @@ pub fn openFileAbsolute(absolute_path: []const u8, flags: File.OpenFlags) File.O |
| 1403 | 1406 | /// Same as `openFileAbsolute` but the path parameter is null-terminated. |
| 1404 | 1407 | pub fn openFileAbsoluteC(absolute_path_c: [*:0]const u8, flags: File.OpenFlags) File.OpenError!File { |
| 1405 | 1408 | assert(path.isAbsoluteC(absolute_path_c)); |
| 1406 | return cwd().openFileC(absolute_path_c, flags); | |
| 1409 | return cwd().openFileZ(absolute_path_c, flags); | |
| 1407 | 1410 | } |
| 1408 | 1411 | |
| 1409 | 1412 | /// Same as `openFileAbsolute` but the path parameter is WTF-16 encoded. |
src-self-hosted/introspect.zig+21-2| ... | ... | @@ -8,13 +8,32 @@ const warn = std.debug.warn; |
| 8 | 8 | |
| 9 | 9 | /// Caller must free result |
| 10 | 10 | pub fn testZigInstallPrefix(allocator: *mem.Allocator, test_path: []const u8) ![]u8 { |
| 11 | const test_zig_dir = try fs.path.join(allocator, &[_][]const u8{ test_path, "lib", "zig" }); | |
| 11 | { | |
| 12 | const test_zig_dir = try fs.path.join(allocator, &[_][]const u8{ test_path, "lib", "zig" }); | |
| 13 | errdefer allocator.free(test_zig_dir); | |
| 14 | ||
| 15 | const test_index_file = try fs.path.join(allocator, &[_][]const u8{ test_zig_dir, "std", "std.zig" }); | |
| 16 | defer allocator.free(test_index_file); | |
| 17 | ||
| 18 | if (fs.cwd().openFile(test_index_file, .{})) |file| { | |
| 19 | file.close(); | |
| 20 | return test_zig_dir; | |
| 21 | } else |err| switch (err) { | |
| 22 | error.FileNotFound => { | |
| 23 | allocator.free(test_zig_dir); | |
| 24 | }, | |
| 25 | else => |e| return e, | |
| 26 | } | |
| 27 | } | |
| 28 | ||
| 29 | // Also try without "zig" | |
| 30 | const test_zig_dir = try fs.path.join(allocator, &[_][]const u8{ test_path, "lib" }); | |
| 12 | 31 | errdefer allocator.free(test_zig_dir); |
| 13 | 32 | |
| 14 | 33 | const test_index_file = try fs.path.join(allocator, &[_][]const u8{ test_zig_dir, "std", "std.zig" }); |
| 15 | 34 | defer allocator.free(test_index_file); |
| 16 | 35 | |
| 17 | var file = try fs.cwd().openRead(test_index_file); | |
| 36 | const file = try fs.cwd().openFile(test_index_file, .{}); | |
| 18 | 37 | file.close(); |
| 19 | 38 | |
| 20 | 39 | return test_zig_dir; |
src-self-hosted/print_targets.zig+35-46| ... | ... | @@ -4,6 +4,9 @@ const io = std.io; |
| 4 | 4 | const mem = std.mem; |
| 5 | 5 | const Allocator = mem.Allocator; |
| 6 | 6 | const Target = std.Target; |
| 7 | const assert = std.debug.assert; | |
| 8 | ||
| 9 | const introspect = @import("introspect.zig"); | |
| 7 | 10 | |
| 8 | 11 | // TODO this is hard-coded until self-hosted gains this information canonically |
| 9 | 12 | const available_libcs = [_][]const u8{ |
| ... | ... | @@ -55,57 +58,40 @@ const available_libcs = [_][]const u8{ |
| 55 | 58 | "x86_64-windows-gnu", |
| 56 | 59 | }; |
| 57 | 60 | |
| 58 | // TODO this is hard-coded until self-hosted gains this information canonically | |
| 59 | const available_glibcs = [_][]const u8{ | |
| 60 | "2.0", | |
| 61 | "2.1", | |
| 62 | "2.1.1", | |
| 63 | "2.1.2", | |
| 64 | "2.1.3", | |
| 65 | "2.2", | |
| 66 | "2.2.1", | |
| 67 | "2.2.2", | |
| 68 | "2.2.3", | |
| 69 | "2.2.4", | |
| 70 | "2.2.5", | |
| 71 | "2.2.6", | |
| 72 | "2.3", | |
| 73 | "2.3.2", | |
| 74 | "2.3.3", | |
| 75 | "2.3.4", | |
| 76 | "2.4", | |
| 77 | "2.5", | |
| 78 | "2.6", | |
| 79 | "2.7", | |
| 80 | "2.8", | |
| 81 | "2.9", | |
| 82 | "2.10", | |
| 83 | "2.11", | |
| 84 | "2.12", | |
| 85 | "2.13", | |
| 86 | "2.14", | |
| 87 | "2.15", | |
| 88 | "2.16", | |
| 89 | "2.17", | |
| 90 | "2.18", | |
| 91 | "2.19", | |
| 92 | "2.22", | |
| 93 | "2.23", | |
| 94 | "2.24", | |
| 95 | "2.25", | |
| 96 | "2.26", | |
| 97 | "2.27", | |
| 98 | "2.28", | |
| 99 | "2.29", | |
| 100 | "2.30", | |
| 101 | }; | |
| 102 | ||
| 103 | 61 | pub fn cmdTargets( |
| 104 | 62 | allocator: *Allocator, |
| 105 | 63 | args: []const []const u8, |
| 106 | 64 | stdout: *io.OutStream(fs.File.WriteError), |
| 107 | 65 | native_target: Target, |
| 108 | 66 | ) !void { |
| 67 | const available_glibcs = blk: { | |
| 68 | const zig_lib_dir = introspect.resolveZigLibDir(allocator) catch |err| { | |
| 69 | std.debug.warn("unable to find zig installation directory: {}\n", .{@errorName(err)}); | |
| 70 | std.process.exit(1); | |
| 71 | }; | |
| 72 | defer allocator.free(zig_lib_dir); | |
| 73 | ||
| 74 | var dir = try std.fs.cwd().openDirList(zig_lib_dir); | |
| 75 | defer dir.close(); | |
| 76 | ||
| 77 | const vers_txt = try dir.readFileAlloc(allocator, "libc/glibc/vers.txt", 10 * 1024); | |
| 78 | defer allocator.free(vers_txt); | |
| 79 | ||
| 80 | var list = std.ArrayList(std.builtin.Version).init(allocator); | |
| 81 | defer list.deinit(); | |
| 82 | ||
| 83 | var it = mem.tokenize(vers_txt, "\r\n"); | |
| 84 | while (it.next()) |line| { | |
| 85 | const prefix = "GLIBC_"; | |
| 86 | assert(mem.startsWith(u8, line, prefix)); | |
| 87 | const adjusted_line = line[prefix.len..]; | |
| 88 | const ver = try std.builtin.Version.parse(adjusted_line); | |
| 89 | try list.append(ver); | |
| 90 | } | |
| 91 | break :blk list.toOwnedSlice(); | |
| 92 | }; | |
| 93 | defer allocator.free(available_glibcs); | |
| 94 | ||
| 109 | 95 | const BOS = io.BufferedOutStream(fs.File.WriteError); |
| 110 | 96 | var bos = BOS.init(stdout); |
| 111 | 97 | var jws = std.json.WriteStream(BOS.Stream, 6).init(&bos.stream); |
| ... | ... | @@ -150,7 +136,10 @@ pub fn cmdTargets( |
| 150 | 136 | try jws.beginArray(); |
| 151 | 137 | for (available_glibcs) |glibc| { |
| 152 | 138 | try jws.arrayElem(); |
| 153 | try jws.emitString(glibc); | |
| 139 | ||
| 140 | const tmp = try std.fmt.allocPrint(allocator, "{}", .{glibc}); | |
| 141 | defer allocator.free(tmp); | |
| 142 | try jws.emitString(tmp); | |
| 154 | 143 | } |
| 155 | 144 | try jws.endArray(); |
| 156 | 145 |
tools/process_headers.zig+20-19| ... | ... | @@ -11,10 +11,9 @@ |
| 11 | 11 | // You'll then have to manually update Zig source repo with these new files. |
| 12 | 12 | |
| 13 | 13 | const std = @import("std"); |
| 14 | const builtin = @import("builtin"); | |
| 15 | const Arch = builtin.Arch; | |
| 16 | const Abi = builtin.Abi; | |
| 17 | const Os = builtin.Os; | |
| 14 | const Arch = std.Target.Cpu.Arch; | |
| 15 | const Abi = std.Target.Abi; | |
| 16 | const OsTag = std.Target.Os.Tag; | |
| 18 | 17 | const assert = std.debug.assert; |
| 19 | 18 | |
| 20 | 19 | const LibCTarget = struct { |
| ... | ... | @@ -29,12 +28,12 @@ const MultiArch = union(enum) { |
| 29 | 28 | mips, |
| 30 | 29 | mips64, |
| 31 | 30 | powerpc64, |
| 32 | specific: @TagType(Arch), | |
| 31 | specific: Arch, | |
| 33 | 32 | |
| 34 | 33 | fn eql(a: MultiArch, b: MultiArch) bool { |
| 35 | 34 | if (@enumToInt(a) != @enumToInt(b)) |
| 36 | 35 | return false; |
| 37 | if (@TagType(MultiArch)(a) != .specific) | |
| 36 | if (a != .specific) | |
| 38 | 37 | return true; |
| 39 | 38 | return a.specific == b.specific; |
| 40 | 39 | } |
| ... | ... | @@ -221,7 +220,7 @@ const musl_targets = [_]LibCTarget{ |
| 221 | 220 | |
| 222 | 221 | const DestTarget = struct { |
| 223 | 222 | arch: MultiArch, |
| 224 | os: Os, | |
| 223 | os: OsTag, | |
| 225 | 224 | abi: Abi, |
| 226 | 225 | |
| 227 | 226 | fn hash(a: DestTarget) u32 { |
| ... | ... | @@ -305,8 +304,8 @@ pub fn main() !void { |
| 305 | 304 | // TODO compiler crashed when I wrote this the canonical way |
| 306 | 305 | var libc_targets: []const LibCTarget = undefined; |
| 307 | 306 | switch (vendor) { |
| 308 | .musl => libc_targets = musl_targets, | |
| 309 | .glibc => libc_targets = glibc_targets, | |
| 307 | .musl => libc_targets = &musl_targets, | |
| 308 | .glibc => libc_targets = &glibc_targets, | |
| 310 | 309 | } |
| 311 | 310 | |
| 312 | 311 | var path_table = PathTable.init(allocator); |
| ... | ... | @@ -340,15 +339,17 @@ pub fn main() !void { |
| 340 | 339 | try dir_stack.append(target_include_dir); |
| 341 | 340 | |
| 342 | 341 | while (dir_stack.popOrNull()) |full_dir_name| { |
| 343 | var dir = std.fs.Dir.cwd().openDirList(full_dir_name) catch |err| switch (err) { | |
| 342 | var dir = std.fs.cwd().openDirList(full_dir_name) catch |err| switch (err) { | |
| 344 | 343 | error.FileNotFound => continue :search, |
| 345 | 344 | error.AccessDenied => continue :search, |
| 346 | 345 | else => return err, |
| 347 | 346 | }; |
| 348 | 347 | defer dir.close(); |
| 349 | 348 | |
| 350 | while (try dir.next()) |entry| { | |
| 351 | const full_path = try std.fs.path.join(allocator, [_][]const u8{ full_dir_name, entry.name }); | |
| 349 | var dir_it = dir.iterate(); | |
| 350 | ||
| 351 | while (try dir_it.next()) |entry| { | |
| 352 | const full_path = try std.fs.path.join(allocator, &[_][]const u8{ full_dir_name, entry.name }); | |
| 352 | 353 | switch (entry.kind) { |
| 353 | 354 | .Directory => try dir_stack.append(full_path), |
| 354 | 355 | .File => { |
| ... | ... | @@ -396,8 +397,8 @@ pub fn main() !void { |
| 396 | 397 | std.debug.warn("warning: libc target not found: {}\n", .{libc_target.name}); |
| 397 | 398 | } |
| 398 | 399 | } |
| 399 | std.debug.warn("summary: {Bi:2} could be reduced to {Bi:2}\n", .{total_bytes, total_bytes - max_bytes_saved}); | |
| 400 | try std.fs.makePath(allocator, out_dir); | |
| 400 | std.debug.warn("summary: {Bi:2} could be reduced to {Bi:2}\n", .{ total_bytes, total_bytes - max_bytes_saved }); | |
| 401 | try std.fs.cwd().makePath(out_dir); | |
| 401 | 402 | |
| 402 | 403 | var missed_opportunity_bytes: usize = 0; |
| 403 | 404 | // iterate path_table. for each path, put all the hashes into a list. sort by hit_count. |
| ... | ... | @@ -417,15 +418,15 @@ pub fn main() !void { |
| 417 | 418 | var best_contents = contents_list.popOrNull().?; |
| 418 | 419 | if (best_contents.hit_count > 1) { |
| 419 | 420 | // worth it to make it generic |
| 420 | const full_path = try std.fs.path.join(allocator, [_][]const u8{ out_dir, generic_name, path_kv.key }); | |
| 421 | try std.fs.makePath(allocator, std.fs.path.dirname(full_path).?); | |
| 421 | const full_path = try std.fs.path.join(allocator, &[_][]const u8{ out_dir, generic_name, path_kv.key }); | |
| 422 | try std.fs.cwd().makePath(std.fs.path.dirname(full_path).?); | |
| 422 | 423 | try std.io.writeFile(full_path, best_contents.bytes); |
| 423 | 424 | best_contents.is_generic = true; |
| 424 | 425 | while (contents_list.popOrNull()) |contender| { |
| 425 | 426 | if (contender.hit_count > 1) { |
| 426 | 427 | const this_missed_bytes = contender.hit_count * contender.bytes.len; |
| 427 | 428 | missed_opportunity_bytes += this_missed_bytes; |
| 428 | std.debug.warn("Missed opportunity ({Bi:2}): {}\n", .{this_missed_bytes, path_kv.key}); | |
| 429 | std.debug.warn("Missed opportunity ({Bi:2}): {}\n", .{ this_missed_bytes, path_kv.key }); | |
| 429 | 430 | } else break; |
| 430 | 431 | } |
| 431 | 432 | } |
| ... | ... | @@ -444,8 +445,8 @@ pub fn main() !void { |
| 444 | 445 | @tagName(dest_target.os), |
| 445 | 446 | @tagName(dest_target.abi), |
| 446 | 447 | }); |
| 447 | const full_path = try std.fs.path.join(allocator, [_][]const u8{ out_dir, out_subpath, path_kv.key }); | |
| 448 | try std.fs.makePath(allocator, std.fs.path.dirname(full_path).?); | |
| 448 | const full_path = try std.fs.path.join(allocator, &[_][]const u8{ out_dir, out_subpath, path_kv.key }); | |
| 449 | try std.fs.cwd().makePath(std.fs.path.dirname(full_path).?); | |
| 449 | 450 | try std.io.writeFile(full_path, contents.bytes); |
| 450 | 451 | } |
| 451 | 452 | } |
tools/update_glibc.zig+38-35| ... | ... | @@ -1,5 +1,4 @@ |
| 1 | 1 | const std = @import("std"); |
| 2 | const builtin = @import("builtin"); | |
| 3 | 2 | const fs = std.fs; |
| 4 | 3 | const fmt = std.fmt; |
| 5 | 4 | const assert = std.debug.assert; |
| ... | ... | @@ -11,8 +10,8 @@ const AbiList = struct { |
| 11 | 10 | path: []const u8, |
| 12 | 11 | }; |
| 13 | 12 | const ZigTarget = struct { |
| 14 | arch: @TagType(builtin.Arch), | |
| 15 | abi: builtin.Abi, | |
| 13 | arch: std.Target.Cpu.Arch, | |
| 14 | abi: std.Target.Abi, | |
| 16 | 15 | }; |
| 17 | 16 | |
| 18 | 17 | const lib_names = [_][]const u8{ |
| ... | ... | @@ -27,18 +26,18 @@ const lib_names = [_][]const u8{ |
| 27 | 26 | // n64/n32 are hardcoded elsewhere, based on .gnuabi64/.gnuabin32 |
| 28 | 27 | const abi_lists = [_]AbiList{ |
| 29 | 28 | AbiList{ |
| 30 | .targets = [_]ZigTarget{ | |
| 29 | .targets = &[_]ZigTarget{ | |
| 31 | 30 | ZigTarget{ .arch = .aarch64, .abi = .gnu }, |
| 32 | 31 | ZigTarget{ .arch = .aarch64_be, .abi = .gnu }, |
| 33 | 32 | }, |
| 34 | 33 | .path = "aarch64", |
| 35 | 34 | }, |
| 36 | 35 | AbiList{ |
| 37 | .targets = [_]ZigTarget{ZigTarget{ .arch = .s390x, .abi = .gnu }}, | |
| 36 | .targets = &[_]ZigTarget{ZigTarget{ .arch = .s390x, .abi = .gnu }}, | |
| 38 | 37 | .path = "s390/s390-64", |
| 39 | 38 | }, |
| 40 | 39 | AbiList{ |
| 41 | .targets = [_]ZigTarget{ | |
| 40 | .targets = &[_]ZigTarget{ | |
| 42 | 41 | ZigTarget{ .arch = .arm, .abi = .gnueabi }, |
| 43 | 42 | ZigTarget{ .arch = .armeb, .abi = .gnueabi }, |
| 44 | 43 | ZigTarget{ .arch = .arm, .abi = .gnueabihf }, |
| ... | ... | @@ -47,66 +46,66 @@ const abi_lists = [_]AbiList{ |
| 47 | 46 | .path = "arm", |
| 48 | 47 | }, |
| 49 | 48 | AbiList{ |
| 50 | .targets = [_]ZigTarget{ | |
| 49 | .targets = &[_]ZigTarget{ | |
| 51 | 50 | ZigTarget{ .arch = .sparc, .abi = .gnu }, |
| 52 | 51 | ZigTarget{ .arch = .sparcel, .abi = .gnu }, |
| 53 | 52 | }, |
| 54 | 53 | .path = "sparc/sparc32", |
| 55 | 54 | }, |
| 56 | 55 | AbiList{ |
| 57 | .targets = [_]ZigTarget{ZigTarget{ .arch = .sparcv9, .abi = .gnu }}, | |
| 56 | .targets = &[_]ZigTarget{ZigTarget{ .arch = .sparcv9, .abi = .gnu }}, | |
| 58 | 57 | .path = "sparc/sparc64", |
| 59 | 58 | }, |
| 60 | 59 | AbiList{ |
| 61 | .targets = [_]ZigTarget{ | |
| 60 | .targets = &[_]ZigTarget{ | |
| 62 | 61 | ZigTarget{ .arch = .mips64el, .abi = .gnuabi64 }, |
| 63 | 62 | ZigTarget{ .arch = .mips64, .abi = .gnuabi64 }, |
| 64 | 63 | }, |
| 65 | 64 | .path = "mips/mips64", |
| 66 | 65 | }, |
| 67 | 66 | AbiList{ |
| 68 | .targets = [_]ZigTarget{ | |
| 67 | .targets = &[_]ZigTarget{ | |
| 69 | 68 | ZigTarget{ .arch = .mips64el, .abi = .gnuabin32 }, |
| 70 | 69 | ZigTarget{ .arch = .mips64, .abi = .gnuabin32 }, |
| 71 | 70 | }, |
| 72 | 71 | .path = "mips/mips64", |
| 73 | 72 | }, |
| 74 | 73 | AbiList{ |
| 75 | .targets = [_]ZigTarget{ | |
| 74 | .targets = &[_]ZigTarget{ | |
| 76 | 75 | ZigTarget{ .arch = .mipsel, .abi = .gnueabihf }, |
| 77 | 76 | ZigTarget{ .arch = .mips, .abi = .gnueabihf }, |
| 78 | 77 | }, |
| 79 | 78 | .path = "mips/mips32", |
| 80 | 79 | }, |
| 81 | 80 | AbiList{ |
| 82 | .targets = [_]ZigTarget{ | |
| 81 | .targets = &[_]ZigTarget{ | |
| 83 | 82 | ZigTarget{ .arch = .mipsel, .abi = .gnueabi }, |
| 84 | 83 | ZigTarget{ .arch = .mips, .abi = .gnueabi }, |
| 85 | 84 | }, |
| 86 | 85 | .path = "mips/mips32", |
| 87 | 86 | }, |
| 88 | 87 | AbiList{ |
| 89 | .targets = [_]ZigTarget{ZigTarget{ .arch = .x86_64, .abi = .gnu }}, | |
| 88 | .targets = &[_]ZigTarget{ZigTarget{ .arch = .x86_64, .abi = .gnu }}, | |
| 90 | 89 | .path = "x86_64/64", |
| 91 | 90 | }, |
| 92 | 91 | AbiList{ |
| 93 | .targets = [_]ZigTarget{ZigTarget{ .arch = .x86_64, .abi = .gnux32 }}, | |
| 92 | .targets = &[_]ZigTarget{ZigTarget{ .arch = .x86_64, .abi = .gnux32 }}, | |
| 94 | 93 | .path = "x86_64/x32", |
| 95 | 94 | }, |
| 96 | 95 | AbiList{ |
| 97 | .targets = [_]ZigTarget{ZigTarget{ .arch = .i386, .abi = .gnu }}, | |
| 96 | .targets = &[_]ZigTarget{ZigTarget{ .arch = .i386, .abi = .gnu }}, | |
| 98 | 97 | .path = "i386", |
| 99 | 98 | }, |
| 100 | 99 | AbiList{ |
| 101 | .targets = [_]ZigTarget{ZigTarget{ .arch = .powerpc64le, .abi = .gnu }}, | |
| 100 | .targets = &[_]ZigTarget{ZigTarget{ .arch = .powerpc64le, .abi = .gnu }}, | |
| 102 | 101 | .path = "powerpc/powerpc64/le", |
| 103 | 102 | }, |
| 104 | 103 | AbiList{ |
| 105 | .targets = [_]ZigTarget{ZigTarget{ .arch = .powerpc64, .abi = .gnu }}, | |
| 104 | .targets = &[_]ZigTarget{ZigTarget{ .arch = .powerpc64, .abi = .gnu }}, | |
| 106 | 105 | .path = "powerpc/powerpc64/be", |
| 107 | 106 | }, |
| 108 | 107 | AbiList{ |
| 109 | .targets = [_]ZigTarget{ | |
| 108 | .targets = &[_]ZigTarget{ | |
| 110 | 109 | ZigTarget{ .arch = .powerpc, .abi = .gnueabi }, |
| 111 | 110 | ZigTarget{ .arch = .powerpc, .abi = .gnueabihf }, |
| 112 | 111 | }, |
| ... | ... | @@ -137,8 +136,8 @@ pub fn main() !void { |
| 137 | 136 | const in_glibc_dir = args[1]; // path to the unzipped tarball of glibc, e.g. ~/downloads/glibc-2.25 |
| 138 | 137 | const zig_src_dir = args[2]; // path to the source checkout of zig, lib dir, e.g. ~/zig-src/lib |
| 139 | 138 | |
| 140 | const prefix = try fs.path.join(allocator, [_][]const u8{ in_glibc_dir, "sysdeps", "unix", "sysv", "linux" }); | |
| 141 | const glibc_out_dir = try fs.path.join(allocator, [_][]const u8{ zig_src_dir, "libc", "glibc" }); | |
| 139 | const prefix = try fs.path.join(allocator, &[_][]const u8{ in_glibc_dir, "sysdeps", "unix", "sysv", "linux" }); | |
| 140 | const glibc_out_dir = try fs.path.join(allocator, &[_][]const u8{ zig_src_dir, "libc", "glibc" }); | |
| 142 | 141 | |
| 143 | 142 | var global_fn_set = std.StringHashMap(Function).init(allocator); |
| 144 | 143 | var global_ver_set = std.StringHashMap(usize).init(allocator); |
| ... | ... | @@ -158,26 +157,30 @@ pub fn main() !void { |
| 158 | 157 | const basename = try fmt.allocPrint(allocator, "lib{}.abilist", .{lib_name}); |
| 159 | 158 | const abi_list_filename = blk: { |
| 160 | 159 | if (abi_list.targets[0].abi == .gnuabi64 and std.mem.eql(u8, lib_name, "c")) { |
| 161 | break :blk try fs.path.join(allocator, [_][]const u8{ prefix, abi_list.path, "n64", basename }); | |
| 160 | break :blk try fs.path.join(allocator, &[_][]const u8{ prefix, abi_list.path, "n64", basename }); | |
| 162 | 161 | } else if (abi_list.targets[0].abi == .gnuabin32 and std.mem.eql(u8, lib_name, "c")) { |
| 163 | break :blk try fs.path.join(allocator, [_][]const u8{ prefix, abi_list.path, "n32", basename }); | |
| 162 | break :blk try fs.path.join(allocator, &[_][]const u8{ prefix, abi_list.path, "n32", basename }); | |
| 164 | 163 | } else if (abi_list.targets[0].arch != .arm and |
| 165 | 164 | abi_list.targets[0].abi == .gnueabihf and |
| 166 | 165 | (std.mem.eql(u8, lib_name, "c") or |
| 167 | 166 | (std.mem.eql(u8, lib_name, "m") and abi_list.targets[0].arch == .powerpc))) |
| 168 | 167 | { |
| 169 | break :blk try fs.path.join(allocator, [_][]const u8{ prefix, abi_list.path, "fpu", basename }); | |
| 168 | break :blk try fs.path.join(allocator, &[_][]const u8{ prefix, abi_list.path, "fpu", basename }); | |
| 170 | 169 | } else if (abi_list.targets[0].arch != .arm and |
| 171 | 170 | abi_list.targets[0].abi == .gnueabi and |
| 172 | 171 | (std.mem.eql(u8, lib_name, "c") or |
| 173 | 172 | (std.mem.eql(u8, lib_name, "m") and abi_list.targets[0].arch == .powerpc))) |
| 174 | 173 | { |
| 175 | break :blk try fs.path.join(allocator, [_][]const u8{ prefix, abi_list.path, "nofpu", basename }); | |
| 174 | break :blk try fs.path.join(allocator, &[_][]const u8{ prefix, abi_list.path, "nofpu", basename }); | |
| 175 | } else if (abi_list.targets[0].arch == .arm) { | |
| 176 | break :blk try fs.path.join(allocator, &[_][]const u8{ prefix, abi_list.path, "le", basename }); | |
| 177 | } else if (abi_list.targets[0].arch == .armeb) { | |
| 178 | break :blk try fs.path.join(allocator, &[_][]const u8{ prefix, abi_list.path, "be", basename }); | |
| 176 | 179 | } |
| 177 | break :blk try fs.path.join(allocator, [_][]const u8{ prefix, abi_list.path, basename }); | |
| 180 | break :blk try fs.path.join(allocator, &[_][]const u8{ prefix, abi_list.path, basename }); | |
| 178 | 181 | }; |
| 179 | 182 | const contents = std.io.readFileAlloc(allocator, abi_list_filename) catch |err| { |
| 180 | std.debug.warn("unable to open {}: {}\n", .{abi_list_filename, err}); | |
| 183 | std.debug.warn("unable to open {}: {}\n", .{ abi_list_filename, err }); | |
| 181 | 184 | std.process.exit(1); |
| 182 | 185 | }; |
| 183 | 186 | var lines_it = std.mem.tokenize(contents, "\n"); |
| ... | ... | @@ -228,8 +231,8 @@ pub fn main() !void { |
| 228 | 231 | break :blk list.toSliceConst(); |
| 229 | 232 | }; |
| 230 | 233 | { |
| 231 | const vers_txt_path = try fs.path.join(allocator, [_][]const u8{ glibc_out_dir, "vers.txt" }); | |
| 232 | const vers_txt_file = try fs.File.openWrite(vers_txt_path); | |
| 234 | const vers_txt_path = try fs.path.join(allocator, &[_][]const u8{ glibc_out_dir, "vers.txt" }); | |
| 235 | const vers_txt_file = try fs.cwd().createFile(vers_txt_path, .{}); | |
| 233 | 236 | defer vers_txt_file.close(); |
| 234 | 237 | var buffered = std.io.BufferedOutStream(fs.File.WriteError).init(&vers_txt_file.outStream().stream); |
| 235 | 238 | const vers_txt = &buffered.stream; |
| ... | ... | @@ -240,15 +243,15 @@ pub fn main() !void { |
| 240 | 243 | try buffered.flush(); |
| 241 | 244 | } |
| 242 | 245 | { |
| 243 | const fns_txt_path = try fs.path.join(allocator, [_][]const u8{ glibc_out_dir, "fns.txt" }); | |
| 244 | const fns_txt_file = try fs.File.openWrite(fns_txt_path); | |
| 246 | const fns_txt_path = try fs.path.join(allocator, &[_][]const u8{ glibc_out_dir, "fns.txt" }); | |
| 247 | const fns_txt_file = try fs.cwd().createFile(fns_txt_path, .{}); | |
| 245 | 248 | defer fns_txt_file.close(); |
| 246 | 249 | var buffered = std.io.BufferedOutStream(fs.File.WriteError).init(&fns_txt_file.outStream().stream); |
| 247 | 250 | const fns_txt = &buffered.stream; |
| 248 | 251 | for (global_fn_list) |name, i| { |
| 249 | 252 | const kv = global_fn_set.get(name).?; |
| 250 | 253 | kv.value.index = i; |
| 251 | try fns_txt.print("{} {}\n", .{name, kv.value.lib}); | |
| 254 | try fns_txt.print("{} {}\n", .{ name, kv.value.lib }); | |
| 252 | 255 | } |
| 253 | 256 | try buffered.flush(); |
| 254 | 257 | } |
| ... | ... | @@ -271,8 +274,8 @@ pub fn main() !void { |
| 271 | 274 | } |
| 272 | 275 | |
| 273 | 276 | { |
| 274 | const abilist_txt_path = try fs.path.join(allocator, [_][]const u8{ glibc_out_dir, "abi.txt" }); | |
| 275 | const abilist_txt_file = try fs.File.openWrite(abilist_txt_path); | |
| 277 | const abilist_txt_path = try fs.path.join(allocator, &[_][]const u8{ glibc_out_dir, "abi.txt" }); | |
| 278 | const abilist_txt_file = try fs.cwd().createFile(abilist_txt_path, .{}); | |
| 276 | 279 | defer abilist_txt_file.close(); |
| 277 | 280 | var buffered = std.io.BufferedOutStream(fs.File.WriteError).init(&abilist_txt_file.outStream().stream); |
| 278 | 281 | const abilist_txt = &buffered.stream; |
| ... | ... | @@ -282,7 +285,7 @@ pub fn main() !void { |
| 282 | 285 | const fn_vers_list = &target_functions.get(@ptrToInt(abi_list)).?.value.fn_vers_list; |
| 283 | 286 | for (abi_list.targets) |target, it_i| { |
| 284 | 287 | if (it_i != 0) try abilist_txt.writeByte(' '); |
| 285 | try abilist_txt.print("{}-linux-{}", .{@tagName(target.arch), @tagName(target.abi)}); | |
| 288 | try abilist_txt.print("{}-linux-{}", .{ @tagName(target.arch), @tagName(target.abi) }); | |
| 286 | 289 | } |
| 287 | 290 | try abilist_txt.writeByte('\n'); |
| 288 | 291 | // next, each line implicitly corresponds to a function |
| ... | ... | @@ -304,7 +307,7 @@ pub fn main() !void { |
| 304 | 307 | } |
| 305 | 308 | |
| 306 | 309 | pub fn strCmpLessThan(a: []const u8, b: []const u8) bool { |
| 307 | return std.mem.compare(u8, a, b) == .LessThan; | |
| 310 | return std.mem.order(u8, a, b) == .lt; | |
| 308 | 311 | } |
| 309 | 312 | |
| 310 | 313 | pub fn versionLessThan(a: []const u8, b: []const u8) bool { |