X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=libgo%2Fmkrsysinfo.sh;h=40bc34bbe4e5251d45e0452b46ac696c430e4b32;hb=082fc7e884f79aa11e87295e8f98b55068574cdc;hp=6ab80e625d933260a624510765fd006450cf13d8;hpb=30bc05cfcb5889462047dccf3a03e357d1c1b155;p=gcc.git diff --git a/libgo/mkrsysinfo.sh b/libgo/mkrsysinfo.sh index 6ab80e625d9..40bc34bbe4e 100755 --- a/libgo/mkrsysinfo.sh +++ b/libgo/mkrsysinfo.sh @@ -23,6 +23,7 @@ grep -v '^// ' gen-sysinfo.go | \ grep -v '^type _timespec_t ' | \ grep -v '^type _timespec ' | \ grep -v '^type _epoll_' | \ + grep -v '^type _*locale[_ ]' | \ grep -v 'in6_addr' | \ grep -v 'sockaddr_in6' | \ sed -e 's/\([^a-zA-Z0-9_]\)_timeval\([^a-zA-Z0-9_]\)/\1timeval\2/g' \ @@ -36,6 +37,10 @@ grep -v '^// ' gen-sysinfo.go | \ grep '^type _arpcom ' gen-sysinfo.go | \ sed -e 's/_in6_addr/[16]byte/' >> ${OUT} +# Same on Solaris for _mld_hdr_t. +grep '^type _mld_hdr_t ' gen-sysinfo.go | \ + sed -e 's/_in6_addr/[16]byte/' >> ${OUT} + # The time structures need special handling: we need to name the # types, so that we can cast integers to the right types when # assigning to the structures. @@ -163,22 +168,22 @@ grep '^type _zone_net_addr_t ' gen-sysinfo.go | \ sed -e 's/_in6_addr/[16]byte/' \ >> ${OUT} -# The Solaris 12 _flow_arp_desc_t struct. +# The Solaris 11.4 _flow_arp_desc_t struct. grep '^type _flow_arp_desc_t ' gen-sysinfo.go | \ sed -e 's/_in6_addr_t/[16]byte/g' \ >> ${OUT} -# The Solaris 12 _flow_l3_desc_t struct. +# The Solaris 11.4 _flow_l3_desc_t struct. grep '^type _flow_l3_desc_t ' gen-sysinfo.go | \ sed -e 's/_in6_addr_t/[16]byte/g' \ >> ${OUT} -# The Solaris 12 _mac_ipaddr_t struct. +# The Solaris 11.3 _mac_ipaddr_t struct. grep '^type _mac_ipaddr_t ' gen-sysinfo.go | \ sed -e 's/_in6_addr_t/[16]byte/g' \ >> ${OUT} -# The Solaris 12 _mactun_info_t struct. +# The Solaris 11.3 _mactun_info_t struct. grep '^type _mactun_info_t ' gen-sysinfo.go | \ sed -e 's/_in6_addr_t/[16]byte/g' \ >> ${OUT}