From patchwork Wed Aug 16 18:03:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 714042 Delivered-To: patch@linaro.org Received: by 2002:a5d:4012:0:b0:317:ecd7:513f with SMTP id n18csp2491044wrp; Wed, 16 Aug 2023 11:05:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFN965hXstJF/KKOQOhu2lTYxBYgQlhSsTU99ky2IIOKHAAa9rYGXTCHh/tMSPelhjugFgf X-Received: by 2002:a05:622a:82:b0:403:edd0:8a4c with SMTP id o2-20020a05622a008200b00403edd08a4cmr2369077qtw.23.1692209109601; Wed, 16 Aug 2023 11:05:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692209109; cv=none; d=google.com; s=arc-20160816; b=EM2bBANbSiksG0La103lBJDXOmWppEAsOqf3/w60wvqIRng1QhsO9NjJSeHycBoT95 9RLxmv/GGKg7019V6oICDhYFC/OZ1nm8OU/SNbMb9e2re37xMYMwwnYaFBpX219n4KI2 FKEXosiZm77OL3fFwfCAO5UVNT599UGsD1lATI9HF1UHGGCCoPHfxPxcATeOdToPclVy YP89QB4+cchg+qgPy5HWJklHJ/u/BMpb8jbPkFk0htk2lG4FVzdExUfPo0vNfkxjyDHi FYTXA5H2jYZBHPY3RLzNJpGrYnrp5Y0mbPXOegNq+BBKhKPJ5uVvU4GRfORcHZCZeXFw sSWw== 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:to:from :dkim-signature; bh=aVsqnKwMmDO/vVnxHUpbU9gJRW2DfdsfW1emGjWwUQA=; fh=oYAd+8Lj9FKlReeF9hgENQXa3P4LhBP5C4njRBbobDA=; b=Da1aHaem+QdcjDEReAmDGtm+ELzubKpm4t3zTzyTB2oqzp4Fcb9Rs8eu4C7K/qik7X vp3NlyVA/Dq2+mGtfM7IGbtBvtMHdNTmlfs9tez94oCRLjUlEjtyiyr6o6OZ8Wp3IenL cUnfLA2aAuUtPlp2/lV40hZERKtAbVomnLpM4cIManenumu7IZn1GjZQZZZW9jdU/Obp ykhHk+4vNwGxV6nUKG8g9odEV3wn9rNVtxkR4xAWb3n1Ixt3AMZuR7xRMQJ1ISvVwlQx oRMfxjr1WdOjORyv/qypxdQ+z8B6SXEvz4xO0PriKCADFDA3yNDTKR0k0F72HNUmqBJm Yqqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QS6hoP6J; 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 o1-20020a05620a2a0100b0076cafcc69c1si9284015qkp.384.2023.08.16.11.05.09 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Aug 2023 11:05:09 -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=QS6hoP6J; 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 1qWKsD-0002ST-FC; Wed, 16 Aug 2023 14:04:02 -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 1qWKs7-0002RD-Vj for qemu-devel@nongnu.org; Wed, 16 Aug 2023 14:03:57 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qWKs4-0001Lo-CQ for qemu-devel@nongnu.org; Wed, 16 Aug 2023 14:03:55 -0400 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-68872ca740bso1559290b3a.2 for ; Wed, 16 Aug 2023 11:03:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1692209030; x=1692813830; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=aVsqnKwMmDO/vVnxHUpbU9gJRW2DfdsfW1emGjWwUQA=; b=QS6hoP6JTC1frtmLUmMTKecuKCtYyuW2meQjHiXNFIspzOJTQdOHWVztCGlW18iBvw 0eLVH4xSW3xxHloNZuevqbKmcEU+om2p+wqZK2uVKNBvTjDlHYPSpg0CypMDGMt+nBTY 8hzbA2py063JsnYdmCK+JyQtOysyRdwDTygsiWcliwVlmXz08SpxPt2oZp2VQcBtW42E HU5T2DruRltNAn4cw7eAUmqRaUWP7wdtR7LcEwG0T95I6tmpVdGMOCKLQyruzyqJWq8B W4Y0qF9cd99A1w2R+enO6+WKxdHoQaGO5LfguKVmUOrdcORZ10A2jJtTsC7NlSXc/kWD jQ7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692209030; x=1692813830; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=aVsqnKwMmDO/vVnxHUpbU9gJRW2DfdsfW1emGjWwUQA=; b=iTYA+t6SqzKqp+lVrHzNz+V0UjyYUienAx4Kxa+6ri1y2ER+e8hG7YN9PN8lShlyUd GYVe6g+Vh3MOS2cqTM9goAW9qFccy5O6+cBh2MNxo3MQ/gFwYfMTLS+H/SaO+jS4vtxQ UZ/4Zrg+Qab1NoPupWObK+VKALJL+52kieTfOqMF2Fuql1ge//18n03BMVKSStkrOz10 6qG1D8qeV/tLPg8Pzweo7gIFbnCd5bfuXLXPGt/M8dYdYrPbG2NEjRmCKfdQ/OK9UK+w fejmO9ktmV5uAI9oLh7YrUhePmkRZSh4M5KQbJTxanDi/0eLjvtlYjYFwJNEk05HA0J4 IJgA== X-Gm-Message-State: AOJu0YziwDSQywCK5e5wakIFEofSz+N9XB3vdAjKygLvrfAzugMIfQ8y EnSS8bq136KTLB4UPVmhQanDLpq36d4ocEM0DpQ= X-Received: by 2002:a17:902:ecc2:b0:1b8:1335:b775 with SMTP id a2-20020a170902ecc200b001b81335b775mr3329420plh.0.1692209030535; Wed, 16 Aug 2023 11:03:50 -0700 (PDT) Received: from stoup.. ([2602:47:d483:7301:a064:e3f9:a812:973b]) by smtp.gmail.com with ESMTPSA id g14-20020a170902868e00b001bc2831e1a9sm13446584plo.90.2023.08.16.11.03.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 11:03:50 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v4 13/18] linux-user/hppa: Add vdso Date: Wed, 16 Aug 2023 11:03:33 -0700 Message-Id: <20230816180338.572576-14-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230816180338.572576-1-richard.henderson@linaro.org> References: <20230816180338.572576-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x429.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 Signed-off-by: Richard Henderson --- linux-user/hppa/vdso-asmoffset.h | 12 +++ linux-user/elfload.c | 4 + linux-user/hppa/signal.c | 24 +++-- linux-user/hppa/Makefile.vdso | 6 ++ linux-user/hppa/meson.build | 6 ++ linux-user/hppa/vdso.S | 165 +++++++++++++++++++++++++++++++ linux-user/hppa/vdso.ld | 77 +++++++++++++++ linux-user/hppa/vdso.so | Bin 0 -> 2104 bytes 8 files changed, 284 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~XUeXw+5*+XR~mp{DXk@8b3A6<32;<3udS3j}l$*QL= zd;0Qcu9&>?*|pDI^?daU>t0;{Qq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