Message ID | 20240323173301.151066-6-bugaevc@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20230601 header.b=b0yR8Z6c; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V25wn4S6jz1yXr for <incoming@patchwork.ozlabs.org>; Sun, 24 Mar 2024 04:36:57 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 96729385828E for <incoming@patchwork.ozlabs.org>; Sat, 23 Mar 2024 17:36:55 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by sourceware.org (Postfix) with ESMTPS id AE26C3858429 for <libc-alpha@sourceware.org>; Sat, 23 Mar 2024 17:35:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AE26C3858429 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AE26C3858429 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::12b ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711215316; cv=none; b=tzurAyuvv3zu59czzTdvmN6ZWxioaek2Mc58GUG5ldk4fSbT3e6b8w9MKcurkGAF9xF7OLeUsCXIGsMT4ebpC1qhKc8T7zjqFrDt6RGA+wOj9ne+i5ZQVTzYInx87Co5jfdbHAnzjLytnnqoUUPO3L86XItuKVRXh2RZrXTnqCg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1711215316; c=relaxed/simple; bh=NUdb8eCiFmEiPxKcMk+jeEv674Nbx5P0y+7tUxlPK+I=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=RZiLZlFIA7N0NtqgUYk+tRBVxnfueOWbsXZPEXHX0GjbenEdLqy+Mx7+IVjm1eBTbZy1eAgM8riFVZw/ijbUZO0uuw8NpgU4La8nhH0uwQUxYtQQYzW8hJ1VThH8elf1OXfklRCTfP177YWk+AqFO/3VyMNuebLXnLVxRF0N0cY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-512f54fc2dbso2697186e87.1 for <libc-alpha@sourceware.org>; Sat, 23 Mar 2024 10:35:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711215313; x=1711820113; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=1D7i6YQs5mgBRIBxoPVveHcwavxxNFlKTyxxrR6T4oM=; b=b0yR8Z6cooITNZXT+v0vMbD8mEqlV/InUxSiE8BIgib9pCCMOi+huVHoQMHzJFuUsH TZCMv5G0BE23gKLvG1pmrrIIC1knxbrZcegS6ecimCuFWFZHSEJUuVDzEsTZSRAGXy82 V+8+WyUg3u0EWOMonKaW8gYaHpNNAhDg5a0v1O1oLhmKuodZMGUABaDIsOhVNH+v5dej VFx1L7T/EGgLOFyi+Jvp0u9F6opiPb7TY09lLaYkknDiatupzTdfuYqfwf3i94DY45tq jq2M/UvCzfzQGlz1oCQE1MbNcp358dnp3t7qsjc5w58/2pyumCtuW94qinX2i+tq3a5q 2uQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711215313; x=1711820113; 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=1D7i6YQs5mgBRIBxoPVveHcwavxxNFlKTyxxrR6T4oM=; b=VKgBgcSdkVUJs/X7M4Udwzp/wljfktcGGHFPt2GFNBFj1QZ8blBx9HdRIdFZ5Q2e/D IIQDvunE3efLPDbJGsBW4eW1AK9d+UsniTaOcyA5LvJyy3sMZJvORZcobwQXC5ro6+5B XyCcPBLE8pOUpkPLCUq71ixTfLOa1GxLkvh/PSBVnGOt7qc0AaiStnyM+i1dRW7SeYF8 o6BDvtKe6gVo8Dzd+6+tYr2oE6aK3Yy2L8LgsE9xAi/e4jhIhkIKR6UtoNcWqa8vRMR+ y4Vxe8IRpqCvQ7RFt4zc64jPvvg/6SreZ3JO0ZHDprnyeYMY/90f3YR/47Laey8koVOe tz9A== X-Gm-Message-State: AOJu0YwBpPghsw1ZzT1EHLM5D+EBhm91P8WQRKhUN/cKRTlrBkrzNhYh DYF6zUDCy3j9reCjm48L3CMkhFFGggJzomJePhAKthvXU83u3mqBBfCHGr7T X-Google-Smtp-Source: AGHT+IGKoSH4vPmFZ14J5+HP1Oh9H6i6fpVh9LOB9pG2uChkdzpYfwRZkim9PXurY50Yug48Df2M+A== X-Received: by 2002:a05:6512:754:b0:513:a479:3ad9 with SMTP id c20-20020a056512075400b00513a4793ad9mr1528121lfs.55.1711215310854; Sat, 23 Mar 2024 10:35:10 -0700 (PDT) Received: from surface-pro-6.. (79-139-171-253.dynamic.spd-mgts.ru. [79.139.171.253]) by smtp.gmail.com with ESMTPSA id g20-20020ac25394000000b00513973dee6fsm361290lfh.150.2024.03.23.10.35.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 10:35:10 -0700 (PDT) From: Sergey Bugaev <bugaevc@gmail.com> To: libc-alpha@sourceware.org, bug-hurd@gnu.org Cc: Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>, Luca <luca@orpolo.org> Subject: [PATCH v2 05/20] hurd: Use the RETURN_ADDRESS macro Date: Sat, 23 Mar 2024 20:32:46 +0300 Message-ID: <20240323173301.151066-6-bugaevc@gmail.com> X-Mailer: git-send-email 2.44.0 In-Reply-To: <20240323173301.151066-1-bugaevc@gmail.com> References: <20240323173301.151066-1-bugaevc@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_BARRACUDACENTRAL, 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.30 Precedence: list List-Id: Libc-alpha mailing list <libc-alpha.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libc-alpha/> List-Post: <mailto:libc-alpha@sourceware.org> List-Help: <mailto:libc-alpha-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libc-alpha>, <mailto:libc-alpha-request@sourceware.org?subject=subscribe> Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org |
Series |
aarch64-gnu port & GNU/Hurd on AArch64 progress
|
expand
|
diff --git a/sysdeps/mach/hurd/init-first.c b/sysdeps/mach/hurd/init-first.c index 22c35747..5777c44c 100644 --- a/sysdeps/mach/hurd/init-first.c +++ b/sysdeps/mach/hurd/init-first.c @@ -222,7 +222,7 @@ _hurd_stack_setup (void **argptr) this may not be a valid pointer in case we're supposed to receive the arguments from the exec server, so we can not dereference it yet. */ - void *caller = __builtin_extract_return_addr (__builtin_return_address (0)); + void *caller = RETURN_ADDRESS (0); /* Init the essential things. */ first_init ();
This gives us PAC stripping on AArch64. Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> --- PAC is still not implemented on gnumach side, though. sysdeps/mach/hurd/init-first.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)