From patchwork Wed Oct 21 15:10:10 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Olivier Hainque X-Patchwork-Id: 1385597 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=adacore-com.20150623.gappssmtp.com header.i=@adacore-com.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=l5iIxGeq; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CGYp445Rnz9sRk for ; Thu, 22 Oct 2020 02:10:18 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 275343959E58; Wed, 21 Oct 2020 15:10:16 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by sourceware.org (Postfix) with ESMTPS id F3249395442C for ; Wed, 21 Oct 2020 15:10:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F3249395442C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=hainque@adacore.com Received: by mail-wm1-x330.google.com with SMTP id c194so2566374wme.2 for ; Wed, 21 Oct 2020 08:10:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore-com.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:message-id:date:cc:to; bh=vv3EKvoZ44kurDaFC4LM77DuEfi6jA9E5sWvDReghwQ=; b=l5iIxGeqYlbN8uR90OUbIty+Xq3t/747v6jLDjuj30Jn210BxfIsvyTKDXe5tKWTUX rgxLtcqoIuq1S519xGA2UYbaGspo3jsKdrQxDzIj2LqoPJ1sNM1WxsjKV9RAQqebvjQT a40+vsaU8VEwQiLESNqux9Oa+Pgfk5vE6myzMB5eCTQfjQ2IANqkTq1byulmISMlILs2 GZeaEhJYV63WinPzoL7hDM8xGL4JkIVYbS8TTd0bcggIlLcoRTea/6wuwsOnqVxdIg8S DbTbdPQv7I2JbFBAy8ELkT2qtCBpzbc/YitQtWKkjXneGh/S9wniUk/hUnlSApa74kLq DrkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:cc:to; bh=vv3EKvoZ44kurDaFC4LM77DuEfi6jA9E5sWvDReghwQ=; b=H2YLA2CxNOWx95C6WkCSq6imO2ZXLrxklfIE9oK1yShjkCo6xiuvzdt6VXhuNqqAY5 cf+SESWeiLPOtQEBLxX25z2qy8VpMuxfvTqRBfvd6EptCV7dq9Z04wu1Xta22pAr5kyG kJafDODdgUJ0UvXq64TjvExKodaQ3jC7M+gBim1s6a7P4pRa9iVysb7F/ASGtzB1wxxG 3ARZmchFI2gNCGvqU80obaiD3IevDaRNUloRRbZZKPE365Kh4HeKQDvzhLiN6bzPe5cN 4ldELyVIOjggtahkeGBcOIaKkDQsyuGmQq3/uadSNnuFtrk9a3HDYqJjUyssQH+/bxHd 8owA== X-Gm-Message-State: AOAM532ttQ28nZDiG/O1syIAxN7Hju5+Yy0KdOn22cXdhDKhaDccrOa5 W9h5eo0Y8tFbo0u8AZ6gapRg4DhqmWBcBhJG X-Google-Smtp-Source: ABdhPJyiV/M1Wsalypm56Qd8WtVuSdbcH3G/Jd8yoewGvZ9gLxamU6rpGeq773tSi/ILWSps1L/PoQ== X-Received: by 2002:a1c:59c3:: with SMTP id n186mr1832926wmb.32.1603293011931; Wed, 21 Oct 2020 08:10:11 -0700 (PDT) Received: from imac-2020.home (aaubervilliers-154-1-1-151.w82-121.abo.wanadoo.fr. [82.121.148.151]) by smtp.gmail.com with ESMTPSA id c21sm3746504wme.36.2020.10.21.08.10.11 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Oct 2020 08:10:11 -0700 (PDT) From: Olivier Hainque Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: [patch] vxworks: Remove interfering default #undefs from vx-common.h Message-Id: Date: Wed, 21 Oct 2020 17:10:10 +0200 To: GCC Patches X-Mailer: Apple Mail (2.3608.120.23.2.4) X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: , Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" This patch removes the #undef issued for LIB_SPEC and LINK_SPEC in vx-common.h, which all the ports do on their own and which impairs the bi-arch’d ppc*-vx7r2 targets, relying on linux64 definitions. Tested together with the previous changes posted for the newly introduced powerpc ports. Committing to mainline shortly. Olivier 2020-10-21 Douglas Rupp gcc/ * config/vx-common.h (LINK_SPEC, LIB_SPEC): Remove #undef. --- a/gcc/config/vx-common.h +++ b/gcc/config/vx-common.h @@ -23,8 +23,6 @@ along with GCC; see the file COPYING3. If not see /* Most of these will probably be overridden by subsequent headers. We undefine them here just in case, and define VXWORKS_ versions of each, to be used in port-specific vxworks.h. */ -#undef LIB_SPEC -#undef LINK_SPEC #undef LIBGCC_SPEC #define LIBGCC_SPEC VXWORKS_LIBGCC_SPEC #undef STARTFILE_SPEC