From patchwork Tue Aug 8 23:21:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Modra X-Patchwork-Id: 132968 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c44e:0:b0:3f2:4152:657d with SMTP id w14csp2453205vqr; Tue, 8 Aug 2023 16:22:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFZPl63jnW0GakyfmFByyoMx+Zb+NZfR3ndpLKtbQCOnzH4peKcljhTHQHYpHUHgWsBQzSK X-Received: by 2002:a17:906:76cd:b0:99c:bb4d:f5a0 with SMTP id q13-20020a17090676cd00b0099cbb4df5a0mr809190ejn.14.1691536932705; Tue, 08 Aug 2023 16:22:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691536932; cv=none; d=google.com; s=arc-20160816; b=VaJ4Ttb8ZutfFKVExPjiTteVedosglqk68Qd5x0zsv07Tiv2yJD+0kQ6xYgdXf3dQ6 t6rRJRYVW7twDxlcHlyKjYAXJlKiKG2P03ycFyoGc/ebHLKgwjnXfLQCLTLRFHIOmI5A 8H6mwKV8JcePXchS+zulpI1BH0knQxOtOjbnoJTidr0zXGLZC+W64XqKwhIpH+1pIBFJ OKwfdYFy7cJzkdT1DU9B8HgcmLUL9moS8Dhn+uI/Z/sEtJCZOs5IfN3J2wIRoz3rxsIH YmvSRfd82hgU7WevwQ5ZxKPLvjwx7ssTckIFCjayRllM9o+l+ucrTIF2Mvf8WXwCqQZd 759Q== 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=3JPwV8yNb8gW/FjDHzGRLc3OD2aiNcrpgqH307zZHmE=; fh=HNIqzTA9Dp00ovCAyCdXfuEvWDT00OlFxFRPLybXRis=; b=XtO1kRRFIrCepb0SXsX70Mj2EME7NkDS4zOMQHMu+z4QN6LIHChqDk7K+qLR0sP/35 NJYw8dyugNnKs3HIdg3UHlyUS6yMhaScc4mUJaB0R8BZwM1TacpTxpgaPyeor5CH1Wn7 tijXPc1LP6FjGQq76cFq7IUKWTZGbZ6cA6a+QGvGsQpfNPYjzLWJ0p/jchFfu6Hehw7e /gOneWkV4EyxMyjof7PAbC/Q7phVjucu7CH+cx/bFZTfTnBPI0Xie0lapZ6B97j/rYiY wZ+8/IwpozXritfJWfbcHfcjEHDDIg621sJW7eZOeiW6JX5TjGlyjUKa/7D6zacOGBAG ufJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=QeNBtK53; 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 f17-20020a170906825100b00986f786c94asi2787123ejx.113.2023.08.08.16.22.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 16:22:12 -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=@sourceware.org header.s=default header.b=QeNBtK53; 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"; 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 86B433857714 for ; Tue, 8 Aug 2023 23:22:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 86B433857714 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1691536929; bh=3JPwV8yNb8gW/FjDHzGRLc3OD2aiNcrpgqH307zZHmE=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=QeNBtK53NPLKugcuFWk5kJww/75rtdlq47UyXFT6JSvLkaSWuPnb/iwKcXuLUypRx ZkyZDTUFoWUnEblGpJhFLPyCWz9j3rYH927VumGMYgA7+g8ZKphu10OxbQxJcm9CQY SgMrFkzqbZBtlQYPBoE2m4Lluq6Hdd0eBTwLCTqk= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by sourceware.org (Postfix) with ESMTPS id DD9A03858025 for ; Tue, 8 Aug 2023 23:22:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DD9A03858025 Received: by mail-pj1-x1032.google.com with SMTP id 98e67ed59e1d1-26837895fbbso4447273a91.3 for ; Tue, 08 Aug 2023 16:22:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691536919; x=1692141719; 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=3JPwV8yNb8gW/FjDHzGRLc3OD2aiNcrpgqH307zZHmE=; b=MSE0XGRwRrnPyeHw3HGuojFPj1s0FUKEBlZkC8Tc/0aVuwZu8kSI3R8Ugtz487x+pW 3ZEk737QA+mGF79w7iJ/bYMV+0gYICaL3geO6+WXilXKyURBwmG46BNl1f9VvOxBweY6 lmDErilclnC7qYr4kEmORZucad9xY2W0Gm21AazHaSMuyz+SVcIJLVX7KV3L0g/rhR34 cNeHYR0y66Mr3vLYASNRqOgk09t1LDUXrGtB7Ojm2/v9FRzupDK+x3q3C2Iuif8Kcnbl D+CeWBA5fWGEUlkN/hRxhqkwSc5P+ZqhAR0YEhgv8rw99PyLb7UgXDc6sZuquQhSW7Rd sPiA== X-Gm-Message-State: AOJu0Yzp3v1xBJQcmXQLa+lCOaOXgb0QKpGmULhT5ecowy7sHmXc5bzO HUSRzRzhA8zPllLPnltJec0SWwni1nI= X-Received: by 2002:a17:90a:a02:b0:263:f39:496d with SMTP id o2-20020a17090a0a0200b002630f39496dmr841901pjo.44.1691536919398; Tue, 08 Aug 2023 16:21:59 -0700 (PDT) Received: from squeak.grove.modra.org ([2406:3400:51d:8cc0:676a:ead5:7d5a:6b88]) by smtp.gmail.com with ESMTPSA id d7-20020a17090ad98700b002692e06bc36sm80525pjv.30.2023.08.08.16.21.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Aug 2023 16:21:58 -0700 (PDT) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id A10341142572; Wed, 9 Aug 2023 08:51:56 +0930 (ACST) Date: Wed, 9 Aug 2023 08:51:56 +0930 To: binutils@sourceware.org Subject: Add ld makefile dependencies Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-3033.9 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: INBOX X-GMAIL-THRID: 1773705030438247286 X-GMAIL-MSGID: 1773705030438247286 * Makefile.am (EXTRA_ld_new_SOURCES): Add pep-dll-aarch64.c and pep-dll-x86_64.c. * Makefile.in: Regenerate. diff --git a/ld/Makefile.am b/ld/Makefile.am index c3adbb0ccad..bce7a9430cd 100644 --- a/ld/Makefile.am +++ b/ld/Makefile.am @@ -962,7 +962,8 @@ $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES): $(GEN_DEPENDS) # We need this for automake to use YLWRAP. EXTRA_ld_new_SOURCES = deffilep.y ldlex.l # Allow dependency tracking to work for these files, too. -EXTRA_ld_new_SOURCES += ldelf.c ldelfgen.c pdb.c pep-dll.c pe-dll.c +EXTRA_ld_new_SOURCES += ldelf.c ldelfgen.c pdb.c pep-dll.c pe-dll.c \ + pep-dll-aarch64.c pep-dll-x86_64.c ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \ ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c plugin.c \ diff --git a/ld/Makefile.in b/ld/Makefile.in index d1a56026437..cfa47724d2e 100644 --- a/ld/Makefile.in +++ b/ld/Makefile.in @@ -1014,8 +1014,8 @@ GEN_DEPENDS = $(srcdir)/genscripts.sh stringify.sed # Dependency tracking for the generated emulation files. EXTRA_ld_new_SOURCES = deffilep.y ldlex.l ldelf.c ldelfgen.c pdb.c \ - pep-dll.c pe-dll.c $(ALL_EMULATION_SOURCES) \ - $(ALL_64_EMULATION_SOURCES) + pep-dll.c pe-dll.c pep-dll-aarch64.c pep-dll-x86_64.c \ + $(ALL_EMULATION_SOURCES) $(ALL_64_EMULATION_SOURCES) ld_new_SOURCES = ldgram.y ldlex-wrapper.c lexsup.c ldlang.c mri.c ldctor.c ldmain.c \ ldwrite.c ldexp.c ldemul.c ldver.c ldmisc.c ldfile.c ldcref.c plugin.c \ ldbuildid.c @@ -1588,6 +1588,8 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mri.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pdb.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pe-dll.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pep-dll-aarch64.Po@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pep-dll-x86_64.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/pep-dll.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/plugin.Po@am__quote@