From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by sourceware.org (Postfix) with ESMTPS id 6F7DA3858C3A for ; Mon, 4 Oct 2021 07:20:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6F7DA3858C3A Received: by mail-wr1-x434.google.com with SMTP id t2so5461132wrb.8 for ; Mon, 04 Oct 2021 00:20:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=B1w8Uf8pQZj0kLc0VVlz0l2NsZ0dYcaPJ+wsh4yYIvk=; b=SXpqLHtdKWiRWKthL3fkC8DMkxyRVc+9qwXEJveGOcJcjxF1Qqpg10Id5FB5NKhiU0 zEIpsl+Lg8LEVr7yMpaSK2mDZAYrBL89U19qi/tgifScNskfL3SwpL8ZnRGsK+XdmTcc 9ZL/cxqj+FSbff7aO1Eymuf7XuvUtdPNWHYEwbvzzDOnD4NFQCjqr3unJ7bAvf2KSQPz Tp4lF5Je5xXP5nQwWMmHDMzTMOQ16axZ11BG1iOtRGgQugZZn/OmcHY0sIJc+SXocJjt 3Y1ImAYUbLxmJeHY/z9FOO+jMlQ2RnEPd3+NZdzCfrOsxzW2wzf1F1mIPen08V1UMbRs Y1LA== X-Gm-Message-State: AOAM531wssTnoMuH9e2OEGbXRejKQcZu4lVBRnxKpDEiDkmauSiOoi+c K5O0j8s9M34LvrNRWvbcE+j14mr+TbBwmA== X-Google-Smtp-Source: ABdhPJzHljDzQNVx/OZ/PGEnbPCm5+cmpXYs/4EP3ks0L4JGaZCy7b0YX6f2IBsvaH4QRnr9fhVd0g== X-Received: by 2002:adf:a114:: with SMTP id o20mr11292037wro.95.1633332042954; Mon, 04 Oct 2021 00:20:42 -0700 (PDT) Received: from fomalhaut.localnet ([2a01:e0a:41b:84f0:cf71:f5e0:b050:bede]) by smtp.gmail.com with ESMTPSA id c14sm13294617wrd.50.2021.10.04.00.20.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Oct 2021 00:20:41 -0700 (PDT) From: Eric Botcazou X-Google-Original-From: Eric Botcazou To: gcc-patches@gcc.gnu.org Subject: Remove dead code in config/rs6000/vxworks.h Date: Mon, 04 Oct 2021 09:20:31 +0200 Message-ID: <4347402.LvFx2qVVIh@fomalhaut> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart2213626.ElGaqSPkdT" Content-Transfer-Encoding: 7Bit X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2021 07:20:45 -0000 This is a multi-part message in MIME format. --nextPart2213626.ElGaqSPkdT Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" These lines were added last year: /* Initialize library function table. */ #undef TARGET_INIT_LIBFUNCS #define TARGET_INIT_LIBFUNCS rs6000_vxworks_init_libfuncs but TARGET_INIT_LIBFUNCS is #undef-ed in config/rs6000/rs6000.c and rs6000_vxworks_init_libfuncs is nowhere defined in any case. Applied on mainline and 11 branch as obvious. 2021-10-04 Eric Botcazou * config/rs6000/vxworks.h (TARGET_INIT_LIBFUNCS): Delete. -- Eric Botcazou --nextPart2213626.ElGaqSPkdT Content-Disposition: attachment; filename="p.diff" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="UTF-8"; name="p.diff" diff --git a/gcc/config/rs6000/vxworks.h b/gcc/config/rs6000/vxworks.h index 5facbbb392f..d8ecc0296c8 100644 --- a/gcc/config/rs6000/vxworks.h +++ b/gcc/config/rs6000/vxworks.h @@ -147,10 +147,6 @@ along with GCC; see the file COPYING3. If not see #undef FUNCTION_PROFILER #define FUNCTION_PROFILER(FILE,LABELNO) VXWORKS_FUNCTION_PROFILER(FILE,LABELNO) -/* Initialize library function table. */ -#undef TARGET_INIT_LIBFUNCS -#define TARGET_INIT_LIBFUNCS rs6000_vxworks_init_libfuncs - /* Nor sdata, for kernel mode. We use this in SUBSUBTARGET_INITIALIZE_OPTIONS, after rs6000_rtp has been initialized. */ #undef SDATA_DEFAULT_SIZE --nextPart2213626.ElGaqSPkdT--