libgo/mksysinfo: Remove structs within stat found on Alpha.
authorIan Lance Taylor <ian@gcc.gnu.org>
Tue, 31 May 2011 18:06:47 +0000 (18:06 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Tue, 31 May 2011 18:06:47 +0000 (18:06 +0000)
From-SVN: r174500

libgo/mksysinfo.sh

index 19885fb000d6d6c950e875977efb2a297901ca6c..a837cbaed71ffe7f6955cbe4be0256444328f43b 100755 (executable)
@@ -358,6 +358,7 @@ fi | sed -e 's/type _stat64/type Stat_t/' \
          -e 's/\([^a-zA-Z0-9_]\)_timespec_t\([^a-zA-Z0-9_]\)/\1Timespec\2/g' \
          -e 's/\([^a-zA-Z0-9_]\)_timespec\([^a-zA-Z0-9_]\)/\1Timespec\2/g' \
          -e 's/\([^a-zA-Z0-9_]\)_timestruc_t\([^a-zA-Z0-9_]\)/\1Timestruc\2/g' \
+         -e 's/Godump_[0-9] struct { \([^;]*;\) };/\1/g' \
        >> ${OUT}
 
 # The directory searching types.