From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by sourceware.org (Postfix) with ESMTPS id 13355384B0C0 for ; Fri, 5 Jun 2020 15:51:21 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 13355384B0C0 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=botcazou@adacore.com Received: by mail-wm1-x343.google.com with SMTP id q25so9626269wmj.0 for ; Fri, 05 Jun 2020 08:51:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Y+XhhUWGUIwmSAKucSTcp9GTtVYCyVGaTon4DHm2mOE=; b=lvl1hF6jE+K1aGU9FK28pisRBQn3ePXenYAQnOGtZQSDLqu3eMG6vKqBcWOY8hSVmo iLGidjwRu6NplI9Dya21hT6lkiZE9JkBuGTzToZKtxiJjlN/9GVV7JZXyVa7KfJXgqnV Kdoxs3pPTxUsHjeyPquvbySRxTlQ5Df/41Ho3qNjot5dBs77pORDDt/1/NY0YusnKwe6 I4jpADbH4gutBxuvYBpa3Xmpz3Fpceg5QS7d3IeYzMvj0Tw8K6eNTQGX91mm+MzRq4zU 0qm/q3cCbFexN05YQuujM0bHZj/P/Jc1wKitpWhKYjCL+mpZHyE1TbCDPg6IQnK3v/11 zFWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y+XhhUWGUIwmSAKucSTcp9GTtVYCyVGaTon4DHm2mOE=; b=px0ONffPu+9BRebLbNVvNgtAgGK8ytWrdz7C+lU5u+XIuh/ir1gORjLbWrGoxiU+z8 uYiit2O3aI4jUskecMPz1YQJ9dCOXvuRw5RlRxI67/AKSCwa54GEqNwXQhtoJET97wdo HhxELqHTjqp4hzkFVskLgIl3zI1h++syA1E1dHZjRDQptW0ROGkvs7vz+Viz2GRrI2om n/lroOpW6H2a9KMcpkgS1HppkiZf90pzLQsErsmxnWtw8kz60aCacvJ5eiXXKMcytSbl vyO8BiVpXpxtINthFnN2SJiFWwMLwlth+QM5TeRs7sDitGn7BSXEyO10wdLGfwK/hBUw zOMw== X-Gm-Message-State: AOAM532gXfWU8fLiL1rUxeuEIk2aJo8BQHpiO3KyG8AlslJ7Rmg/GbnB /TYAThFmZjj5gi021A268Xo4Uw== X-Google-Smtp-Source: ABdhPJy03Pqza3FjZ8MfzZSeKlB/R2tBGsv+zD8E03boh7V7VAX4cGvEKzbl2E3KNnyG/9IPWiC5Wg== X-Received: by 2002:a7b:cbcc:: with SMTP id n12mr3158292wmi.127.1591372280157; Fri, 05 Jun 2020 08:51:20 -0700 (PDT) Received: from polaris.localnet ([2a01:e0a:41b:9230:1a03:73ff:fe45:373a]) by smtp.gmail.com with ESMTPSA id l17sm11839863wmi.16.2020.06.05.08.51.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Jun 2020 08:51:19 -0700 (PDT) From: Eric Botcazou X-Google-Original-From: Eric Botcazou To: "Jose E. Marchesi" Cc: binutils@sourceware.org, Alan Modra Subject: Re: [PATCH V2 0/3] Improve insn endianness support in CGEN ports Date: Fri, 05 Jun 2020 17:51:18 +0200 Message-ID: <2742851.ZIAkIxlsjA@polaris> In-Reply-To: <87sgf9zjqt.fsf@oracle.com> References: <20200602142316.6780-1-jose.marchesi@oracle.com> <20200605070339.GW29024@bubble.grove.modra.org> <87sgf9zjqt.fsf@oracle.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2020 15:51:22 -0000 > I was wondering why my regression testing did not catch this, then found > about -fstack-check. I changed my scripts to use it. `-fstack-check=' is designed for Ada's needs to detect infinite recursion and stack overflows. `specific' is an excellent choice when compiling Ada code. It is not generally sufficient to protect against stack-clash attacks. To protect against those you want `-fstack-clash-protection'. -- Eric Botcazou