From patchwork Fri Mar 17 10:45:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 71234 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp263475wrt; Fri, 17 Mar 2023 03:45:59 -0700 (PDT) X-Google-Smtp-Source: AK7set82MHVf2ROj35+qjnorDYQ9cCAwLsf3669Qhv8rNVEh9KsZ1H07wlO4Qwt32vN6O20LTGKE X-Received: by 2002:a05:6402:48a:b0:4ac:bd84:43d8 with SMTP id k10-20020a056402048a00b004acbd8443d8mr2616660edv.8.1679049959514; Fri, 17 Mar 2023 03:45:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679049959; cv=none; d=google.com; s=arc-20160816; b=bZYCXyo/6AvLDSPagbBO/arBo8TFMqWym4icSwkDuT0ssL7xikZiW2R1y3X6e4fjH7 3jiGzq253r8aOp1Mx6reM3AvRYb0UZUBBjJ2AxZlvN7JecXtGJ46j2aWsn8uYyXG+2vP Fctc4KMhB8hFdYXsXcftK2d9EG86kwSvhW3HjCX5cG1/LYeMhS1C/ZKTTGfG/66O01eU V3dt/5Pc+Oi7CNLCd0CDl1n+wgfx3Oks1o0zhNnTwcV9fOGtVRjZWi9FhIgpBhubeGKs XxTS6tUHM6TSyqI0h+4VCULilKwefl7cwAXhJL2PbbEVJuwy0Xc2LbiZqHMxgSlTzBgr GYdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-disposition:mime-version:message-id:subject:to:date :dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=TOA2zQu+r5hYGFcT5gLFNQr2pzkiZw2AhD5+37mY6Rs=; b=0EQw74z2K55g7v0IYF6yTba0dEBvWTXXjczLUQQTJHtUIh0azHmwJWMcOTnxlSyDOL 8IoCpAesScXCRF4L3GdFWp184sfT0jEvGROUFnwWOGxygboXXPitpli8XnwEPgm09Xjo uiljGmbjlRBXoymQxU2y/0sIEOw4YlaFGyKFY9+3W58Msaphyw0SCmYCBXlsyXvLRLe5 wUedEowJOgJQv4E4u+KUJORyHN7BYh0mvehmd6ssKw8r07aW2WnWouCRbfF/rcjUbvtI /hoHbBAQ7EjrTU7mcBhbXASUW/abUX/bDiz4CYPKxFWbyFfZWv0Lce9TotnHz8t16J2m TD1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=oDUEQc0O; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id d13-20020aa7d68d000000b004fc63fada98si2242494edr.30.2023.03.17.03.45.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Mar 2023 03:45:59 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=oDUEQc0O; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3D74138515F9 for ; Fri, 17 Mar 2023 10:45:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3D74138515F9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679049957; bh=TOA2zQu+r5hYGFcT5gLFNQr2pzkiZw2AhD5+37mY6Rs=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=oDUEQc0OGsmYvP4CPUiJEIiJMgQGPqxWJTvzq5KNX5QVMtSs2cNfwBAKcjpcUzOdo sDl2mlw8iC/Xd6r692vuAIpOycxUFzURpvZjNYr58F2nhBQKLZOGEF0IH6kSCtd0JH HkHEtM3k5sgVmO+CW2bjzBMovQXd+g+kV1EmanQc= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-pj1-x1035.google.com (mail-pj1-x1035.google.com [IPv6:2607:f8b0:4864:20::1035]) by sourceware.org (Postfix) with ESMTPS id 712783858410 for ; Fri, 17 Mar 2023 10:45:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 712783858410 Received: by mail-pj1-x1035.google.com with SMTP id j13so4667932pjd.1 for ; Fri, 17 Mar 2023 03:45:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679049947; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TOA2zQu+r5hYGFcT5gLFNQr2pzkiZw2AhD5+37mY6Rs=; b=QQhcKRR0QwMpad/dYGryW7oyGYXHejdP/tV6rHEdAUb3bNZPC+DSYpKpxaEYOUJSlg NnXOG7Aa5E1Gby3CNLSAntlCJA9z224kgCY6GC+SjhnnX6BNhTSDQFff9Ap7ZGs75Qhv s4ZgPg3y5AYaI1ozyJAzqE7Xa8EAhmBjQhvJLUUdcTtQiBGB/FbLkVMFrD8vZmV35enJ AIxawkZuHIjpRP6+Sd1xvuKq7iQwVnMvZlDT7L465B6N0C5sbcHCKVZJo9Tf3Emhc/L2 mMJrU03Bs3YUrh/NojCtBP/RhvWo/T3YHv0wGa5TNnmISu33zM2ktNEL/NagMpGhaO0E ECfQ== X-Gm-Message-State: AO0yUKXcuYe0ZsDWwhA3MVWUrys+7m5C4RjtxNrVH/Qobf373QPpMWEp 9xdoo3Gk2AnpBXnLgv6R1I2H4XJdjH8= X-Received: by 2002:a05:6a20:9382:b0:cc:ed35:7f94 with SMTP id x2-20020a056a20938200b000cced357f94mr8387840pzh.54.1679049947346; Fri, 17 Mar 2023 03:45:47 -0700 (PDT) Received: from squeak.grove.modra.org ([2406:3400:51d:8cc0:698b:297d:a524:5e38]) by smtp.gmail.com with ESMTPSA id t19-20020a62ea13000000b005a8de0f4c64sm1272460pfh.82.2023.03.17.03.45.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Mar 2023 03:45:47 -0700 (PDT) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id D06E01142C70; Fri, 17 Mar 2023 21:15:44 +1030 (ACDT) Date: Fri, 17 Mar 2023 21:15:44 +1030 To: binutils@sourceware.org Subject: Another source_sh Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-3034.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, 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: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Alan Modra via Binutils From: Alan Modra Reply-To: Alan Modra Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760611490375540805?= X-GMAIL-MSGID: =?utf-8?q?1760611490375540805?= * scripttempl/z80.sc: Use source_sh to source elf.sc. diff --git a/ld/scripttempl/z80.sc b/ld/scripttempl/z80.sc index 1ea8bee32ac..ff3c539a04b 100644 --- a/ld/scripttempl/z80.sc +++ b/ld/scripttempl/z80.sc @@ -10,7 +10,7 @@ if test "${OUTPUT_FORMAT}" = "elf32-z80"; then NO_SMALL_DATA=1 EMBEDDED=1 ALIGNMENT=1 - . $srcdir/scripttempl/elf.sc + source_sh $srcdir/scripttempl/elf.sc return 0 fi