From patchwork Mon Apr 3 11:56:19 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Bugaev X-Patchwork-Id: 55648 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9E45D3858404 for ; Mon, 3 Apr 2023 11:57:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E45D3858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1680523022; bh=m3E8lT1YBrxJS9PJ/j/3BbPqfeRRa4gpztBzX88tAE0=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=R/b3hLB8NZlxp6IHjCD2Cnuo2sO9iUcefbQTA5o7nLpqXTchUXpm5QQuOD+LYCCnr h9ru1H3PnFkXfJuU9s+P5lqqOlukCgzDnYFafuAJ8mwpiRMOKCMnmg+U9oYqG3g2KO UBVu0I6q8hm/ECDxlXMBeYD9el7CMgzH2iqwfEUg= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) by sourceware.org (Postfix) with ESMTPS id 949573858D37 for ; Mon, 3 Apr 2023 11:56:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 949573858D37 Received: by mail-lf1-x129.google.com with SMTP id c9so27304260lfb.1 for ; Mon, 03 Apr 2023 04:56:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680522997; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m3E8lT1YBrxJS9PJ/j/3BbPqfeRRa4gpztBzX88tAE0=; b=gS/61BKoL8ppgghP0Lfx4VPxg7DY4d3M0F4xqRB/2NN0rBTdwFYxVdP891az/1ncrc HsbAlok7SbEFdX4YohDKTgkM8YhjlollpOBIgGH8wTps+nDWJs31LT8kMUXjdiHrQ+BE sudvZesCrjy/IE253CxjTXI3EFqMWs6hSvV1wv4b6apQ48w5yd+MbKgKIDlMjwUcsk9n 8HjxdocgAwO/nbpLRUpXnQHxBQ4jqyGTmdkowhWLTvshNYiK/waIuOZGNr7YxaAvQ7AE mj6aoFu41uD45uvx3eiJTdMRlsnybsu4PHH268n21TZCjos+q5J8w/e+jg+XOTmHSGqg E0Cw== X-Gm-Message-State: AAQBX9dBUn5CohMDbcnG+n2uhXjlu2u1OiOSAL4q0bw9ndORxAIrpLNy 7+LZHWrang2rr+8TCMBlcj6vk1kb2YE= X-Google-Smtp-Source: AKy350ZYu1IC92QKy2S559w0Nour852sFhboGvtgJuTwcZRRGAHbxt6PbKu4l47BxMGpiugDfyeJcw== X-Received: by 2002:a05:6512:3902:b0:4ea:fa77:e424 with SMTP id a2-20020a056512390200b004eafa77e424mr9619322lfu.65.1680522996512; Mon, 03 Apr 2023 04:56:36 -0700 (PDT) Received: from surface-pro-6.. ([194.190.106.50]) by smtp.gmail.com with ESMTPSA id q7-20020ac25147000000b0048a9e899693sm1752524lfd.16.2023.04.03.04.56.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 04:56:36 -0700 (PDT) To: bug-hurd@gnu.org, libc-alpha@sourceware.org Cc: Samuel Thibault , Sergey Bugaev Subject: [PATCH v2 18.0/34] Alignment-respecting x86_64 trampoline.c Date: Mon, 3 Apr 2023 14:56:19 +0300 Message-Id: <20230403115621.258636-1-bugaevc@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230319151017.531737-19-bugaevc@gmail.com> References: <20230319151017.531737-19-bugaevc@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Sergey Bugaev via Libc-alpha From: Sergey Bugaev Reply-To: Sergey Bugaev Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" And here's another attempt at trampoline.c, this time hopefully with properly aligned stack on both the user's signal handler call and the __sigreturn call. (Split across two patches and this tiny cover letter, hopefully not too confusing.)