OSDN Git Service

libgo/mksysinfo: Remove structs within stat found on Alpha.
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 2011 18:06:47 +0000 (18:06 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 31 May 2011 18:06:47 +0000 (18:06 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@174500 138bc75d-0d04-0410-961f-82ee72b054a4

libgo/mksysinfo.sh

index 19885fb..a837cba 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.