From patchwork Mon Jun 26 07:24:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uros Bizjak X-Patchwork-Id: 780599 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3wx0v04v1xz9ryr for ; Mon, 26 Jun 2017 17:25:00 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="D7FRPwXt"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:cc:content-type; q=dns; s=default; b=nmjtzlYtWNTty+PW1/buN1k7L8ws9xANsghoqIZsljS 7M3tbJZJRODA+L5jMKMfCXQozK4uYrofJEnhivl2cxkl5vvltEp8ZespDZLySzW+ a8+NprzZ+EERNWzRHs5kjhygmYsodPqYluhJ4hQ/QBw/T7Vcth6e5ab42VYX0UE8 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:cc:content-type; s=default; bh=AsyzkCSk8B7AU4+WhMG0adHEhp4=; b=D7FRPwXtm7Q65IQ5l MGNPJtUSnbs9DRQ8uRkSULbDOzDo9RuZ7akdibZnpWmVIB7YaeZy+FWRosfz5gYI dFgI6IKm59YrLdGGaLLruJe9UbLgmZe1DTZlQy1hM7/xQdFocKyQz1ktPOV+etSM mM9nKEGn4LfR14KSROm28ENW3A= Received: (qmail 13577 invoked by alias); 26 Jun 2017 07:24:48 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 2052 invoked by uid 89); 26 Jun 2017 07:24:26 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.6 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy=uros, hello! X-HELO: mail-ua0-f173.google.com Received: from mail-ua0-f173.google.com (HELO mail-ua0-f173.google.com) (209.85.217.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 26 Jun 2017 07:24:21 +0000 Received: by mail-ua0-f173.google.com with SMTP id 70so63351157uau.0 for ; Mon, 26 Jun 2017 00:24:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=RptnoKTkM9QpTxuvRD1nJqcROrjqY5VZT5O9jo3paDY=; b=ZG29d4c6AEll99WM7iYpAeMNxwnBxlNpZ9z9CaBlFeOLwILYnUIQCU8eDECGs5GBEf olfTlVdAUIpWiE8LJVZD5gdKxUtx9bOamq380evyP1aB2AmKcwblT6vU7CMWRx4YXmz+ JY92Tx2wqpW40EtJ0N4f2vUV4PCTxCm9nLFq307DhRHBHbdMupWTGUC+tdq0PAPVdi5V qDpDBdeDmTccd7cc7nrYK7845vRFM4ZMc70QmMS/QSpiOzfB5hMYD0agbFy52BUHbsmv 41BuPcP8VruXTfnGCSVS5ELNZ3/KCjaLOzjKEXbxpie6PEeEFHjiwfsqpurALe6zDCBP hpiA== X-Gm-Message-State: AKS2vOx6uM6JoigT/tJYmyj8HTsT0T7pYk3onYHQq+jRDVtwCW1SMkaR oLyAkDSPhIIb6586fzdUNiz3N66QXw== X-Received: by 10.176.95.220 with SMTP id g28mr2845867uaj.71.1498461851232; Mon, 26 Jun 2017 00:24:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.69.9 with HTTP; Mon, 26 Jun 2017 00:24:10 -0700 (PDT) From: Uros Bizjak Date: Mon, 26 Jun 2017 09:24:10 +0200 Message-ID: Subject: [PATCH, alpha, go]: Remove PtraceRegs definition to restore bootstrap To: "gcc-patches@gcc.gnu.org" Cc: Ian Taylor , "gofrontend-dev@googlegroups.com" Hello! libgo is now able to automatically determine PtraceRegs. Attached patch removes duplicate manual definition from system dependent source. Bootstrapped and regression tested on alphaev68-linux-gnu. Uros. Index: go/syscall/syscall_linux_alpha.go =================================================================== --- go/syscall/syscall_linux_alpha.go (revision 249592) +++ go/syscall/syscall_linux_alpha.go (working copy) @@ -8,38 +8,6 @@ import "unsafe" -type PtraceRegs struct { - R0 uint64 - R1 uint64 - R2 uint64 - R3 uint64 - R4 uint64 - R5 uint64 - R6 uint64 - R7 uint64 - R8 uint64 - R19 uint64 - R20 uint64 - R21 uint64 - R22 uint64 - R23 uint64 - R24 uint64 - R25 uint64 - R26 uint64 - R27 uint64 - R28 uint64 - Hae uint64 - Trap_a0 uint64 - Trap_a1 uint64 - Trap_a2 uint64 - Ps uint64 - Pc uint64 - Gp uint64 - R16 uint64 - R17 uint64 - R18 uint64 -} - func (r *PtraceRegs) PC() uint64 { return r.Pc }