From patchwork Sat Sep 16 10:36:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= X-Patchwork-Id: 14099 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1587120vqi; Sat, 16 Sep 2023 03:36:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFNitbkNKYrnXEveClyWTOt84AzC+t6PDEPyw0Zbv4/7iH/78j7iw9G6rvejW08QVa6Ktz5 X-Received: by 2002:a17:906:109c:b0:9ad:e098:1823 with SMTP id u28-20020a170906109c00b009ade0981823mr2452956eju.27.1694860608281; Sat, 16 Sep 2023 03:36:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694860608; cv=none; d=google.com; s=arc-20160816; b=Q6o3EpEjiOfGSRS8qFbnMibCquz/C7Dvx6OYpThL6NUXR2vRJc0TZo0blyeOSOA8NG QFJGNaMUHS7Nmf4ew6pX3tPYaKMoHKgPud0uGTI5sFDAapq/sYmtvsfHN2TRDH+rMuqX 4CzW9PysurwIlm6Blz08MdNBfbQiJTf7whVVby5HBHQ44E3bD0lr5+DDj63D/ZWZgpxC 9q7AweXVwCzWzMoTt0YkHXcJ+mfYizcnrFT9wxaY6RMzBucMnXdXHlN2JwC51Bk6bzDC RQWqNWV+FtyQlrPzpm+j3Q8dLJ7zzWDCSs1qq7KafiNiluBnmnRyPaSfMW5CAwjjeHC4 6Bfg== 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:message-id:date:subject:cc:to:from:dkim-signature :dmarc-filter:delivered-to; bh=O7KznFpHMKKJUKlTz5VMM2CNffSlog2ZsIpGPTioygA=; fh=LUrEkQF9vvLXpHHEKq9IbL4CRmZPhfxptKOJUppCeCU=; b=kdbdhaaH4bPPfZHjcgsj6Bm/LQ2MyP4CgPioe+vBFbpSNzxj7XXpQJUZbNttO8lTR/ L90eQtA1XjEmPuhLXqoJv9XFRBIakfAdOoIFaEPonfPToeUpsGgh87kMVIOyYXrELwCj Mf2i0uVpaNBFhbUnPQSbsDxpwy0i1oHJLr18KqxqJEy4HVSb78EeJiokkKTi+nQMg0Hk Qvs3Xj5OuuT3WZAUuQ3slyzkKEX+wgDmwCivZsrBRtbUT0BBE17pOV5zAKXycbBX4mFX DW+EkyxO33wikxkK+9VbhHjJoypPeOunfb8fPBhUHTVhwYH1ULU3SVm/Cpml/4fmvc7C Ou1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b="NvN/yyGh"; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id v13-20020a17090606cd00b00992f8116abdsi4810405ejb.480.2023.09.16.03.36.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 03:36:48 -0700 (PDT) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@t-8ch.de header.s=mail header.b="NvN/yyGh"; spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1F45D38560B6 for ; Sat, 16 Sep 2023 10:36:42 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from todd.t-8ch.de (todd.t-8ch.de [IPv6:2a01:4f8:c010:41de::1]) by sourceware.org (Postfix) with ESMTPS id DA1513858D33 for ; Sat, 16 Sep 2023 10:36:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DA1513858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=t-8ch.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=t-8ch.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=t-8ch.de; s=mail; t=1694860593; bh=TScMPwDe8M3vHGqTL10oGYpKPDuMVRzTIE/KZcRLj0k=; h=From:To:Cc:Subject:Date:From; b=NvN/yyGhpLArxOnsvKnnJ+5IywveobRl6f+/b6Rh3ifoESBZNOVnPn4kvryCpVYv/ w1MRxc2zJo6vSqqG6vWERhkSHGoU8xuVqkjzlfmx5+tbLICNCZdFIPBNjeObWXOLs2 s0NXVTUEHhOQrdxHmVXtrOW0p6LjP/ce3SgvKc8o= From: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= To: binutils@sourceware.org Cc: =?utf-8?q?Thomas_Wei=C3=9Fschuh?= , Alan Modra Subject: [PATCH v2 0/2] Improve handling of included linker scripts in dependency-file Date: Sat, 16 Sep 2023 12:36:15 +0200 Message-ID: <20230916103619.819791-1-thomas@t-8ch.de> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, 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.30 Precedence: list List-Id: Binutils mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777190156922746526 X-GMAIL-MSGID: 1777190156922746526 v1: https://sourceware.org/pipermail/binutils/2023-September/129475.html v1 -> v2: * push call to track_dependencies() into try_open() to catch all dependencies * sign-off commits * write absolute paths to dependencies Thomas Weißschuh (2): ld: write resolved path to included file to dependency-file ld: write full paths to dependency-file ld/ldfile.c | 6 +++--- ld/ldmain.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) base-commit: 95ebc6fdec5780bf59685739cdd55cd41d0f55ac