From patchwork Thu Aug 25 08:36:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 1670131 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=suse.cz header.i=@suse.cz header.a=rsa-sha256 header.s=susede2_rsa header.b=awePH5Vx; dkim=fail reason="signature verification failed" header.d=suse.cz header.i=@suse.cz header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=wGkkCdEd; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MCxD22MvBz1yg7 for ; Thu, 25 Aug 2022 18:37:21 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D991F385275B for ; Thu, 25 Aug 2022 08:37:18 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 352EA385841A for ; Thu, 25 Aug 2022 08:37:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 352EA385841A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id CFE4920F9D; Thu, 25 Aug 2022 08:36:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1661416619; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BU00+SMXUcIsvp4QunhpZzRSH9cdK8PDxFJ+v0VhiPo=; b=awePH5Vx2u4pktbD9UB28fV1aCw9G1KxZJyL8k0E8bWOKOJCZbWk6Qr6plac98bHn1SPQ3 1eeVbB/BRARsfax3o/eL3th1a+VEZ0cJN0rmylKv/Ea00A4H5NNNymrd+HeA93xxWGJ43F lYMfTABp15ccMHsugGC/depKQDyYqxU= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1661416619; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BU00+SMXUcIsvp4QunhpZzRSH9cdK8PDxFJ+v0VhiPo=; b=wGkkCdEdtrg8XhtbIr3pFGlLMh75hd0FW7uOoZ0ccDem79+ztzKra8o6jcOcS5XTnofRNg mnSuLDfyfdqMl9Aw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 650E213517; Thu, 25 Aug 2022 08:36:59 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id mVscF6s0B2NPMQAAMHmgww (envelope-from ); Thu, 25 Aug 2022 08:36:59 +0000 Message-ID: <397ad854-62f7-47a1-453e-30b45098d4d9@suse.cz> Date: Thu, 25 Aug 2022 10:36:56 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH] m32c-rtems: remove obsoleted port To: gcc-patches@gcc.gnu.org Content-Language: en-US X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: 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+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" Remove the port that has been marked obsolete in GCC 12 change notes. Ready to be installed? Thanks, Martin contrib/ChangeLog: * config-list.mk: Remove the port. gcc/ChangeLog: * config.gcc: Remove the port. * config/m32c/rtems.h: Removed. libgcc/ChangeLog: * config.host: Remove the port. --- contrib/config-list.mk | 2 +- gcc/config.gcc | 6 ------ gcc/config/m32c/rtems.h | 38 -------------------------------------- libgcc/config.host | 2 +- 4 files changed, 2 insertions(+), 46 deletions(-) delete mode 100644 gcc/config/m32c/rtems.h diff --git a/contrib/config-list.mk b/contrib/config-list.mk index c4db8dc849a..015f3a83bc6 100644 --- a/contrib/config-list.mk +++ b/contrib/config-list.mk @@ -59,7 +59,7 @@ LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \ ia64-freebsd6 ia64-linux ia64-hpux ia64-hp-vms iq2000-elf lm32-elf \ lm32-rtems lm32-uclinux \ loongarch64-linux-gnuf64 loongarch64-linux-gnuf32 loongarch64-linux-gnusf \ - m32c-rtems m32c-elf m32r-elf m32rle-elf \ + m32c-elf m32r-elf m32rle-elf \ m68k-elf m68k-netbsdelf \ m68k-uclinux m68k-linux m68k-rtems \ mcore-elf microblaze-linux microblaze-elf \ diff --git a/gcc/config.gcc b/gcc/config.gcc index 02f58970db0..8e8e1d0513f 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -251,7 +251,6 @@ case ${target} in cr16-*-* \ | hppa[12]*-*-hpux10* \ | hppa[12]*-*-hpux11* \ - | m32c-*-rtems* \ ) if test "x$enable_obsolete" != xyes; then echo "*** Configuration ${target} is obsolete." >&2 @@ -3555,11 +3554,6 @@ am33_2.0-*-linux*) gas=yes gnu_ld=yes use_collect2=no ;; -m32c-*-rtems*) - tm_file="elfos.h ${tm_file} m32c/rtems.h rtems.h newlib-stdint.h" - c_target_objs="m32c-pragma.o" - cxx_target_objs="m32c-pragma.o" - ;; m32c-*-elf*) tm_file="elfos.h newlib-stdint.h ${tm_file}" c_target_objs="m32c-pragma.o" diff --git a/gcc/config/m32c/rtems.h b/gcc/config/m32c/rtems.h deleted file mode 100644 index 553f77cfd4d..00000000000 --- a/gcc/config/m32c/rtems.h +++ /dev/null @@ -1,38 +0,0 @@ -/* Definitions for rtems targeting a M32C using ELF. - Copyright (C) 2008-2022 Free Software Foundation, Inc. - Contributed by Joel Sherrill (joel@OARcorp.com). - - This file is part of GCC. - - GCC is free software; you can redistribute it and/or modify it - under the terms of the GNU General Public License as published - by the Free Software Foundation; either version 3, or (at your - option) any later version. - - GCC is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY - or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public - License for more details. - - Under Section 7 of GPL version 3, you are granted additional - permissions described in the GCC Runtime Library Exception, version - 3.1, as published by the Free Software Foundation. - - You should have received a copy of the GNU General Public License and - a copy of the GCC Runtime Library Exception along with this program; - see the files COPYING3 and COPYING.RUNTIME respectively. If not, see - . */ - -/* Target OS builtins. */ -#undef TARGET_OS_CPP_BUILTINS -#define TARGET_OS_CPP_BUILTINS() \ - do \ - { \ - builtin_define ("__rtems__"); \ - builtin_define ("__USE_INIT_FINI__"); \ - builtin_assert ("system=rtems"); \ - } \ - while (0) - -/* Use the default */ -#undef LINK_GCC_C_SEQUENCE_SPEC diff --git a/libgcc/config.host b/libgcc/config.host index b2a0a8e1aa9..974de349653 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -1516,7 +1516,7 @@ am33_2.0-*-linux*) extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o" tmake_file="$tmake_file t-fdpbit" ;; -m32c-*-elf*|m32c-*-rtems*) +m32c-*-elf*) tmake_file="$tmake_file m32c/t-m32c" ;; nvptx-*)