diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-27 21:51:50 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2017-06-27 21:51:50 +0000 |
commit | f9dedc3f21020bcc704fcfb7caa1b04b5dc874e7 (patch) | |
tree | da6c87b0ac5dfaad613fd8c6571aeb569c6991cd /libgo/mksysinfo.sh | |
parent | acea808abbb527518f052dba0abe0adada6e2d52 (diff) | |
download | gcc-f9dedc3f21020bcc704fcfb7caa1b04b5dc874e7.tar.gz |
syscall: ptrace fixes for s390
Fixes required now that we #include <linux/ptrace.h> in sysinfo.c.
Patch by Andreas Krebbel.
Reviewed-on: https://go-review.googlesource.com/46839
From-SVN: r249712
Diffstat (limited to 'libgo/mksysinfo.sh')
-rwxr-xr-x | libgo/mksysinfo.sh | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/libgo/mksysinfo.sh b/libgo/mksysinfo.sh index 8fd8eadefc6..fe0bb545605 100755 --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -310,17 +310,8 @@ upcase_fields () { # _user_regs_struct. regs=`grep '^type _user_regs_struct struct' gen-sysinfo.go || true` if test "$regs" = ""; then - # s390 - regs=`grep '^type __user_regs_struct struct' gen-sysinfo.go || true` - if test "$regs" != ""; then - # Substructures of __user_regs_struct on s390 - upcase_fields "__user_psw_struct" "PtracePsw" >> ${OUT} || true - upcase_fields "__user_fpregs_struct" "PtraceFpregs" >> ${OUT} || true - upcase_fields "__user_per_struct" "PtracePer" >> ${OUT} || true - else - # mips* - regs=`grep '^type _pt_regs struct' gen-sysinfo.go || true` - fi + # mips* + regs=`grep '^type _pt_regs struct' gen-sysinfo.go || true` fi if test "$regs" != ""; then regs=`echo $regs | sed -e 's/type _pt_regs struct//'` |