From patchwork Mon Oct 30 21:17:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 739276 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp1336673wrt; Mon, 30 Oct 2023 14:18:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHWPta2s/eBsM3nG5qdwMQc0naWFSqsk+CnCwk0hQn9z1KsQBrLS5jbgaNu1o/BhqrRdP1/ X-Received: by 2002:a05:6214:f6a:b0:65c:fec4:30a1 with SMTP id iy10-20020a0562140f6a00b0065cfec430a1mr15139397qvb.55.1698700733644; Mon, 30 Oct 2023 14:18:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698700733; cv=none; d=google.com; s=arc-20160816; b=rCemSfvI6qEUi9JxsmE0gGcg2ZlYAekaSFSOJUL53pKatV3pEl/9Nk0VQ5+pweKQM3 P/WhBGmX03s4Hlun5PDEbbAWEVNS9OKm4QOcYY5KySzD98ZvjzHElyOPfsjtRfiSFVyI Dk05pLLV0aCdXhAQV2TXUycpTgpM596w5/gYrxjJc4UlCHcCwTJVB9QYvUbG7S82Fjg9 Fk/G/fExH26rdvqe/4I5t1OcEAtMpVcdrvP66D0hcRYlj559e8/oNgG6gQHYGVYCgTJk +wYHtTl7VJFp7xXcnj1X92QakfRYDBTVtpebjvWMv3rQLmyscB7e+DCCeBdR/v1oBn3A 9QCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=4/MBMw/W/ZdwjTxmKJnaM9kgrEqezUX04ffr+PV0Xg0=; fh=kQadAhxV42GJ3cd2VUw1RyURv/zJQGvmUdF7iLEVTtc=; b=GWa2ELSC6VkUYWMfp19ubF15O/X1X7xrYtrLnv0DNxfz4l2BJHNoPo2iu7bdfBy3KW PZb2/fuFwunLO9k+83Gsnk+4IQByCxorRex143SY2F0SXVdLRfAazb36EpxwxkfKkcah biaCwXbjUmlGU8CsubbU0Qtp1PPdatjPN3eGbgr1RU/OMuZ21+ftyGQPWPBN+T+DdFwl YQslLehtfGwNvC33Xuy+UUf3vzewaBs1EEN8rR2UEGHmQVkVkc5sRAv7ixlb7xZV5C1F 22GoPCAuC1KxgApkanAej1wSC795rttER9uu0KRaUgHY9WUcnlxwe7R0Esf7Rkg78HYN giyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ts+057Ox; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id m4-20020ad44d44000000b0063f7d73dd87si6273883qvm.584.2023.10.30.14.18.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Oct 2023 14:18:53 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ts+057Ox; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qxZe6-000176-4L; Mon, 30 Oct 2023 17:18:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qxZdx-00011A-Gk for qemu-devel@nongnu.org; Mon, 30 Oct 2023 17:17:54 -0400 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxZdo-0006VS-Lk for qemu-devel@nongnu.org; Mon, 30 Oct 2023 17:17:52 -0400 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1cc4f777ab9so11131445ad.0 for ; Mon, 30 Oct 2023 14:17:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698700661; x=1699305461; darn=nongnu.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=4/MBMw/W/ZdwjTxmKJnaM9kgrEqezUX04ffr+PV0Xg0=; b=Ts+057OxxJAl3KepBWx6keaGteEsmN3ll7qYrr1jvYaq3egn1gAozTGjz21tFdtcnR 1vXT6s4e5AjXH1IE0D/gR+48zUIxeqnRoijJjU3Qg6ExJrSOyTeYK9PLoGd1rfJtElc5 b8iCyCcBNYVNIk7hvbB24BeDUIKy+Jo8zMY4iaeu1QusqVB0AF4tVM1Y43QFUytTUKsS a/kbMWxrrEPfsieih8bmpJaXCWur9WcIq48EBEXMdgP6rIedcnN0wWdVWrSKN6bFCSox tANGxiMlNRTyi33VXsu/NZtdnT5zWn+7xRnuf6gDJjVx7xJcuYnWBNhP8Ze37b1WgUjU /Gcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698700661; x=1699305461; 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=4/MBMw/W/ZdwjTxmKJnaM9kgrEqezUX04ffr+PV0Xg0=; b=UvKfLucOird3yALP/+uy/s7JzthiTkVT+cR+sy/YXXLauTmV53jtWUPCQ199Xj9McH Ok+GPAUcQc+aEhGUJccox0Tdxa6DutW3ad/iUZWHh2oHMFGOpnj5dYyggOWHMN0ZNzsH c3m4JwTaUt1bOepv44k+k+JzM10fmwQpaBdJAk+h/+iRj4luwVONSSFts0cT8fPx57P/ k0MIdoyFD5H2yAcdv/AFY69YfRZXxuokhndABiPTZllYmbRGkBCNg6699DiRBI7CBgr4 WTXqV7MEypnP+vQ0DcWr1GdxqCyk5F7CEFLPx8GtAohibpLuOGwv+sJGV6u3zfFMHdkn T0yg== X-Gm-Message-State: AOJu0YzBd+uhjLL9w8v7y/D4ZGxwjEfw61cErxuP+X165hNdfc4dfNUD pOLPOerbnLij0/GnGKuSsXJIcDIJ5krz1yaW8XI= X-Received: by 2002:a17:902:dcc5:b0:1cc:b3f:dd81 with SMTP id t5-20020a170902dcc500b001cc0b3fdd81mr7593302pll.67.1698700661319; Mon, 30 Oct 2023 14:17:41 -0700 (PDT) Received: from stoup.. ([71.212.149.95]) by smtp.gmail.com with ESMTPSA id jf2-20020a170903268200b001cc32261bdfsm4670350plb.38.2023.10.30.14.17.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 14:17:40 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PULL 14/21] linux-user/hppa: Add vdso Date: Mon, 30 Oct 2023 14:17:20 -0700 Message-Id: <20231030211727.165090-15-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231030211727.165090-1-richard.henderson@linaro.org> References: <20231030211727.165090-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x636.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- linux-user/hppa/vdso-asmoffset.h | 12 +++ linux-user/elfload.c | 2 + linux-user/hppa/signal.c | 24 +++-- linux-user/hppa/Makefile.vdso | 11 +++ linux-user/hppa/meson.build | 5 + linux-user/hppa/vdso.S | 165 +++++++++++++++++++++++++++++++ linux-user/hppa/vdso.ld | 77 +++++++++++++++ linux-user/hppa/vdso.so | Bin 0 -> 2104 bytes 8 files changed, 286 insertions(+), 10 deletions(-) create mode 100644 linux-user/hppa/vdso-asmoffset.h create mode 100644 linux-user/hppa/Makefile.vdso create mode 100644 linux-user/hppa/vdso.S create mode 100644 linux-user/hppa/vdso.ld create mode 100755 linux-user/hppa/vdso.so GIT binary patch literal 2104 zcmbtVTXR!Y6kaFkhEgcBP%l`hafWdil!Lv1RY03GNz;<1rD7>6(0JUG~~*U)EYXMdFQ(BmGb?r%x-$mIFC+3xTU<+0?(1N%-~JGte| zwo#0&1h`Mkv8G3g7ybaBfv&)R1jiYzaqu#r23QVo^SCSe7yscgz|X_x1OE;7zacM{ z)|dd5Qv4kHJ82ot+=CYbD;A=;?E| z+O@bm6U{_s6$j@&=K!(p?Mg~X zNxxOSx@O|YQQtBD{UyiM14~XUe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