From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 112699 invoked by alias); 22 Jun 2017 13:01:22 -0000 Mailing-List: contact gnu-gabi-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: gnu-gabi-owner@sourceware.org Received: (qmail 112328 invoked by uid 89); 22 Jun 2017 13:01:20 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mail-ot0-f179.google.com Received: from mail-ot0-f179.google.com (HELO mail-ot0-f179.google.com) (74.125.82.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Jun 2017 13:01:14 +0000 Received: by mail-ot0-f179.google.com with SMTP id y47so10348302oty.0 for ; Thu, 22 Jun 2017 06:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=2n50nxmvwyc1PzMrHQyaOA6Qpl4gWEuh6EBUtAj5W7c=; b=LzYquIwwVw8XfkJAWLSVKdkaMlUv1s8/WJxt8Jn69CdfGdNvWSS6SUu7pAQTKCjmuX seYzXLDHsHYw6MGjBZuACymGBte+VEn8YXYgyecNrFQwikanGozguZnC9weMBVKgJJsh uLafi1x2+gf4ESCAUI91GxawIMykFx54/iVrk2H6F9az0KVO8e1ccfYBRPBPwPXkBI4I kh0KFzgofHeOR+1xIOpovzVnAAVNab9Zgra/esisw+w/IskPOT2hjQnhSBMxdiD2jZ/C 3jNJAj3vTG/MpoLIi5dPig/jufS0jnaDCPu4l54hAwexUx/KnjlZDJLFYlzL2CAsP7YP Ru5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=2n50nxmvwyc1PzMrHQyaOA6Qpl4gWEuh6EBUtAj5W7c=; b=GjqGmIfo2RIU7haydTLfrXlJiBw9W95GUt1G4gE2qk1wxoIiAeT05Jek7y7Dj0K5Y9 UH0OjUpCgZoj0nDn0zrAb9zRxi90kiN3uxV64ToOKvzMB5ZekwT9DNX0JCbY/QDYvvoz DesIlG+uebaFcXr87SbqoK2m6Kfs8rYMUG8Rst4h20gUagzhUEQl8QZr2gSYMtdkPYlv ZqhylxkT5W5PRpmlI3DNUsCqsVCmQ7br+rIcaSSJyMYwIUtkfzpqXiWG8YpCR+KWdKC+ k0dwENgC47puN2PYr0bSgV+S6mJyZGFGEifFweJ4PjA7ak5omCOsVtlGqWpe5IUeIwXb D0NQ== X-Gm-Message-State: AKS2vOwFekz6ZuUcpCQfkHpDOdy19fodDmcXm8uDKn1g4xdqBjJn7pP2 Wai9ZefipzXU5N60l49JLcyWtbKKcw== X-Received: by 10.157.82.24 with SMTP id e24mr655391oth.160.1498136472081; Thu, 22 Jun 2017 06:01:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.141.84 with HTTP; Thu, 22 Jun 2017 06:01:11 -0700 (PDT) In-Reply-To: References: From: "H.J. Lu" Date: Sun, 01 Jan 2017 00:00:00 -0000 Message-ID: Subject: Re: RFC: Update x86 psABI to support shadow stac To: Florian Weimer Cc: gnu-gabi@sourceware.org, IA32 System V Application Binary Interface , "x86-64-abi@googlegroups.com" Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-q2/txt/msg00037.txt.bz2 On Thu, Jun 22, 2017 at 5:51 AM, Florian Weimer wrote: > On 06/21/2017 05:25 PM, H.J. Lu wrote: >> GNU_PROPERTY_X86_FEATURE_1_SHSTK is set on output only if it is set on >> all relocatable inputs, which means that the C library must be compiled >> with SHSTK-enabled compiler. > > I don't think this is sufficiently detailed for an ABI specification. > It needs to say what an SHSTK-enabled compiler does. Compilers just need to make return address popped from shadow stack match return address popped from normal stack. -- H.J.