diff mbox

[gccgo] Remove i386 hack for user regs structure

Message ID mcrd3t3o4ek.fsf@google.com
State New
Headers show

Commit Message

Ian Lance Taylor Aug. 28, 2010, 2:30 a.m. UTC
The code which reads the system header files had a i386-specific hack
for the user regs structure.  This is no longer necessary due to the
changes which came in in the recent libgo update.  Committed to gccgo
branch.

Ian
diff mbox

Patch

diff -r 8b49bce66221 libgo/mksysinfo.sh
--- a/libgo/mksysinfo.sh	Fri Aug 27 19:27:13 2010 -0700
+++ b/libgo/mksysinfo.sh	Fri Aug 27 19:28:10 2010 -0700
@@ -212,8 +212,6 @@ 
 if test "$regs" != ""; then
   regs=`echo $regs | sed -e 's/type _user_regs_struct struct //'`
   regs=`echo $regs | sed -e 's/\([^a-zA-Z0-9_]*\)\([a-zA-Z0-9_]\)\([a-zA-Z0-9_]* [^;]*;\)/\1\U\2\E\3/g'`
-  # FIXME: x86 specific.
-  regs=`echo $regs | sed -e 's/X\([a-z]\)\([a-z]\) int32/ \U\1\E\2 uint16; X\1\2 uint16/g'`
   echo "type PtraceRegs struct $regs" >> ${OUT}
 fi