summaryrefslogtreecommitdiff
path: root/libgo/mksysinfo.sh
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-06-27 21:51:50 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-06-27 21:51:50 +0000
commitf9dedc3f21020bcc704fcfb7caa1b04b5dc874e7 (patch)
treeda6c87b0ac5dfaad613fd8c6571aeb569c6991cd /libgo/mksysinfo.sh
parentacea808abbb527518f052dba0abe0adada6e2d52 (diff)
downloadgcc-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-xlibgo/mksysinfo.sh13
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//'`